Bad Volume Specification
by Bryan Sockel
Having an issue with starting one of my VM's. Looks like there was a
problem with an auto generated snapshot on the VM. The snapshot file is
missing:
VDSM-Tool Output:
image: 52f31c3a-25ac-4930-8e67-105945dd42b5
- 461e1747-3a59-4abc-ac6a-2013ec7858d3
status: OK, voltype: INTERNAL, format: RAW, legality: LEGAL,
type: PREALLOCATED, capacity: 53687091200, truesize: 53687091200
- fe5fb4a4-8b3a-4bad-8f03-9dd179ac8397
status: OK, voltype: INTERNAL, format: COW, legality: LEGAL,
type: SPARSE, capacity: 53687091200, truesize: 6576668672
- a01d662f-cf33-4c86-b0ba-8bddc6d25dfd
status: ILLEGAL, voltype: LEAF, format: COW, legality:
ILLEGAL, type: SPARSE, capacity: 53687091200, truesize: 3221225472
lvs -o+lv_tags |grep 52f31c3a-25ac-4930-8e67-105945dd42b5
Couldn't find device with uuid 5UNXpR-SmSR-KqA2-swpe-kcQi-X7tt-7B5wRz.
461e1747-3a59-4abc-ac6a-2013ec7858d3 8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d
-wi-a----- 50.00g
IU_52f31c3a-25ac-4930-8e67-105945dd42b5,MD_43,PU_00000000-0000-0000-0000-000000000000
a01d662f-cf33-4c86-b0ba-8bddc6d25dfd 8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d
-wi------- 3.00g
IU_52f31c3a-25ac-4930-8e67-105945dd42b5,MD_46,PU_fe5fb4a4-8b3a-4bad-8f03-9dd179ac8397
fe5fb4a4-8b3a-4bad-8f03-9dd179ac8397 8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d
-wi-a----- 6.12g
IU_52f31c3a-25ac-4930-8e67-105945dd42b5,MD_45,PU_461e1747-3a59-4abc-ac6a-2013ec7858d3
qemu-img info
/dev/8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d/a01d662f-cf33-4c86-b0ba-8bddc6d25dfd
qemu-img: Could not open
'/dev/8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d/a01d662f-cf33-4c86-b0ba-8bddc6d25dfd':
Could not open
'/dev/8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d/a01d662f-cf33-4c86-b0ba-8bddc6d25dfd':
No such file or directory
What is the best way to remove the snapshot from the vm (PSQL statement to
delete the entry from the database)?
Thank You,
Bryan Sockel
5 years, 8 months
VM disk corruption with LSM on Gluster
by Sander Hoentjen
Hello,
tl;dr We have disk corruption when doing live storage migration on oVirt
4.2 with gluster 3.12.15. Any idea why?
We have a 3-node oVirt cluster that is both compute and gluster-storage.
The manager runs on separate hardware. We are running out of space on
this volume, so we added another Gluster volume that is bigger, put a
storage domain on it and then we migrated VM's to it with LSM. After
some time, we noticed that (some of) the migrated VM's had corrupted
filesystems. After moving everything back with export-import to the old
domain where possible, and recovering from backups where needed we set
off to investigate this issue.
We are now at the point where we can reproduce this issue within a day.
What we have found so far:
1) The corruption occurs at the very end of the replication step, most
probably between START and FINISH of diskReplicateFinish, before the
START merge step
2) In the corrupted VM, at some place where data should be, this data is
replaced by zero's. This can be file-contents or a directory-structure
or whatever.
3) The source gluster volume has different settings then the destination
(Mostly because the defaults were different at creation time):
Setting old(src) new(dst)
cluster.op-version 30800 30800 (the same)
cluster.max-op-version 31202 31202 (the same)
cluster.metadata-self-heal off on
cluster.data-self-heal off on
cluster.entry-self-heal off on
performance.low-prio-threads 16 32
performance.strict-o-direct off on
network.ping-timeout 42 30
network.remote-dio enable off
transport.address-family - inet
performance.stat-prefetch off on
features.shard-block-size 512MB 64MB
cluster.shd-max-threads 1 8
cluster.shd-wait-qlength 1024 10000
cluster.locking-scheme full granular
cluster.granular-entry-heal no enable
4) To test, we migrate some VM's back and forth. The corruption does not
occur every time. To this point it only occurs from old to new, but we
don't have enough data-points to be sure about that.
Anybody an idea what is causing the corruption? Is this the best list to
ask, or should I ask on a Gluster list? I am not sure if this is oVirt
specific or Gluster specific though.
Kind regards,
Sander Hoentjen
5 years, 8 months
ETL DWH errors after restoring to a new server
by Staniforth, Paul
Hello,
I have deployed a new machine to run our engine 4.2.8 using engine-backup to do a full backup/restore to a clean Centos install.
We are now having a lot of errors with ovirt-engine-dwhd
e.g.
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: GC overhead limit exceeded
org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.
We had a file from 2015
/etc/ovirt-engine/engine.conf.d/10-setup-java.conf
ENGINE_HEAP_MIN="5845M"
ENGINE_HEAP_MAX="5845M"
I changed it to
ENGINE_HEAP_MIN=2g
ENGINE_HEAP_MAX=4g
and restarted the engine and dwhd
But am still getting errors.
Regards,
Paul S.
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
5 years, 8 months
Gluster VM image Resync Time
by Indivar Nair
Hi All,
We are planning a 2 + 1 arbitrated mirrored Gluster setup.
We would have around 50 - 60 VMs, with an average 500GB disk size.
Now in case one of the Gluster Nodes go completely out of sync, roughly,
how long would it take to resync? (as per your experience)
Will it impact the working of VMs in any way?
Is there anything to be taken care of, in advance, to prepare for such a
situation?
Regards,
Indivar Nair
5 years, 8 months
oVirt Roles and Permissions
by Wood Peter
Hi,
I'm trying to setup oVirt 4.2.8.2-1.el7 based on a few simple requirements:
Users should be able to:
1) reate new VMs
2) create VMs from templates
2a) Ability to clone the template disk to create a VM independent of the
template
3) create templates
4) view only the VMs they have permissions to work with i.e. UserVmManager
role assign to them
This was all possible through the "User Portal" in version 3 (3.6 is what I
had).
The new "VM Portal" doesn't allow users to create templates.
In order to satisfy (3) users must login to the Admin Portal. This is OK
but I created a new Admin role with just login permissions and users can
see all VMs in the cluster. I assume a filter can be created but in general
I don't want them to have that much visibility.
I can probably get away without (3) but I still can figure out how to do
(2a) using "VM Portal". All VMs created from a template are dependent on
that template. Even if the template is optimized for Server.
How do I accomplish this?
Thank you in advance for any suggestions.
-- Peter
5 years, 8 months
Re: Using NFS on Gluster
by Strahil
Hi Indivar,
You can do that , but is complicated.
First, I would recommend you to use either replica 3 or replica 3 arbiter 1 cluster volumes.
Second , you have 2 options - to use NFS provided by Cluster Cluster ,but this is deprecated and you will have to migrate from that option once it get's completely removed.
Third option is to use CTDB to fail over your floating VIP and to start NFS-Ganesha.
The benefit of using NFS-Ganesha is that it uses libgfapi and connects to all cluster nodes simultaneously providing accumulated performance.
Best Regards,
Strahil Nikolov
On Mar 26, 2019 16:42, Indivar Nair <indivar.nair(a)techterra.in> wrote:
>
> >
> > Hi All,
> >
> > We would like to set up a 2 node mirrored Gluster Storage using the ovirt installation tools, but use it as an NFS storage.
> >
> > We want to do this for 2 reasons -
> >
> > 1. We have a high-speed link between both the Gluster Nodes which we would like to use for brick replication rather than ovirt node's 1G link
> > 2. We have fast SSD disks on the ovirt nodes which we would like to use for local NFS Caching (FS Caching) on the VM Images.
> >
> > In short, we would like to manage Gluster stroage using the ovirt web interface, but access the Gluster storage as an NFS Server.
> >
> > How can we do this?
> >
> > Thanks.
> >
> > Regards,
> >
> >
> > Indivar Nair
> >
5 years, 8 months
ovn-provider-network
by Staniforth, Paul
Hello,
we are using oVirt-4.2.8 and I have created a logical network using the ovn-network-provider, I haven't configured it to connect to a physical network.
I have 2 VMs running on 2 hosts which can connect to each other this logical network. The only connection between the hosts is over the ovirtmgmt network so presumably the traffic is using this?
Thanks,
Paul S.
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
5 years, 8 months
Re: Changing Ovirt hosted engine memory
by Strahil
What is the output of 'free -h' on the engine?
Doesn't it show the new memory size?
You need to wait some time so the OVF get's updated.
Best Regards,
Strahil NikolovOn Mar 26, 2019 18:11, Dionysis K <dkstiler(a)gmail.com> wrote:
>
> Thanks you bust still not any resolution for some reason, it does not update the memory of the Hosted engine, while its on global maintenance, whatever i do either it will stay on the same number for example 5120 MiB either the above message
>
> The physical node that runs the Hosted Engine VM has it has 24 Gigs or ram installed, and availiable are 22 It reports on the gui
>
> Please any help would be appreciated
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/UAKOQ5FKHOY...
5 years, 8 months