[ovirt-users] Re: cannot update expired engine certificates?

2023-05-05 Thread Joop van de Wege

On 5/2/23 19:27, michael.d1.h...@lmco.com wrote:

ovirt 4.4.10.x, using self signed certificates with a self hosted engine. apache certs expired, 
renewed manually via guides provided by RHEL and oVirt using the pki_enroll_pkcs12.sh script. 
Engine certs are also expired and cannot update certs via gui and no option to renew the certs when 
running using engine-setup --offline. The error I am getting is a VDSM certificate error on the 
hosted engine in the engine.log file. I have attempted to manually run the pki_enroll_pkcs12.sh 
script with "engine" in the name and the subject of the previous engine.cer file with no 
luck. I copied the p12, key and cert from that attempt into the engine.cer, engine.p12 and 
engine_id_rsa files, but when booting the hosted engine VM, the first error in the engine.log is 
"VDC cannot find the engine certificate". This also breaks my access to the web interface 
for oVirt administration. When the expired engine certs are restored, I have GUI access but still 
see the VDSM errors on the ovirt-engine. That I hav
  e web access with the expired engine certs indicate to me that the apache 
certificates are correct (but i could be wrong in that evaluation).

Basically i am looking for a way to either force the enroll pki option in the 
engine-setup --offline script or manually generate and update the engine.cer, 
engine.p12 (and if needed, but i couldn't determine where it was used) the 
engine_id_rsa key.


I just did 'engine-setup --offline' on my install which also had its 
cert expired en it renewed it and problem gone.



Joop


___
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/U7Q4TN47XQY4YGXU3WUGJJB5JQKMEGPC/


[ovirt-users] Re: New setup - Failing to Activate storage domain on NFS shared storage

2021-01-22 Thread Joop
Hallo All,

I'm not sure if this was mentioned but I had some problems with NFS,
using Synology,  a while back and the solution for me was to use a
subfolder instead of the root of the NFS mount.
My exports:
/volume1/nfs*(rw,sec=sys,anonuid=36,anongid=36)

And I mount data in oVirt as /volume1/nfs/data. Before I re-installed I
used /volume1/nfs/data as an export.
Worth a try?

Regards,

Joop
___
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/BXK27HXYNB2X6HOHYCROIHKZYRT4FKTD/


[ovirt-users] Re: NFS import storage domain permissions error

2020-06-27 Thread Joop
On 27-6-2020 19:49, Joop wrote:
> Hi All,
>
> I've got an error when I try to import a storage domain from a Synology
> NAS that used to be a 4.3.10 oVirt installation but no matter what I try
> I can't get it to import. I keep getting a permission denied error while
> with the same settings it worked for the previous version oVirt.
> This is the log:
>
Reinstall using latest Centos7 and oVirt-4.3.10 using cockpit HCI
gluster and the 'old' NFS storage domain imported at once.

Joop
___
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/L4GLEQPOXPZRK7QAM55PJ3KUZKZ6IUJ3/


[ovirt-users] NFS import storage domain permissions error

2020-06-27 Thread Joop
rmission 
settings on the specified storage path.: 'path = /rhev/data-center/mnt/pakhuis
:_volume1_nfs_data'
2020-06-27 19:39:38,453+0200 DEBUG (jsonrpc/0) [storage.HSM] knownSDs: 
{a2691633-e3c9-454e-9ee4-a6f50f4e00fa: vdsm.storage.glusterSD.findDomain} 
(hsm:2470)
202


If I make a mistake in the path I get the mount command in the logs and
correcting for the mistake let me mount it at /mnt and then I'm able to
create files and folders using the vdsm and qemu accounts so I don't
know where that error is coming from. Had a look at the source of
vdsm/storage/* but I'm not a python programmer.
A couple of other 4.4 oVirt installs don't have this problem and I used
the same usb stick with Centos-8.2 for those as for this one. Followed
the same install instructions, same versions of packages as far as I can
see. Beats me

I'm tempted to reinstall Centos7 and oVirt4.3.10 just to see what
happens, but I'm hoping someone can point me to something that I must
have overlooked.

Regards,

Joop

___
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/ZXELL5743PAO4QKJMFI2Z4S4A6ROGEXY/


[ovirt-users] Re: Weird problem starting VMs in oVirt-4.4

2020-06-16 Thread Joop
On 16-6-2020 19:44, Strahil Nikolov wrote:
> Hey Joop,
>
> are you using fully allocated qcow2 images ?
>
> Best Regards,
> Strahil Nikolov
>
I noticed that when I use import VM from an Export domain I see that it
sometimes uses preallocated and sometimes thin-provisioned for the disk(s).
Don't know why and I don't think there is a pattern. Old VMs from 3.3 or
new ones from 4.2/3, its mixed.
I almost always use thin-provisioned but one or two could have been
preallocated by accident.

How do I check?

Joop

>
> На 16 юни 2020 г. 20:23:17 GMT+03:00, Joop  написа:
>> On 3-6-2020 14:58, Joop wrote:
>>> Hi All,
>>>
>>> Just had a rather new experience in that starting a VM worked but the
>>> kernel entered grub2 rescue console due to the fact that something
>> was
>>> wrong with its virtio-scsi disk.
>>> The message is Booting from Hard Disk 
>>> error: ../../grub-core/kern/dl.c:266:invalid arch-independent ELF
>> maginc.
>>> entering rescue mode...
>>>
>>> Doing a CTRL-ALT-Del through the spice console let the VM boot
>>> correctly. Shutting it down and repeating the procedure I get a disk
>>> problem everytime. Weird thing is if I activate the BootMenu and then
>>> straight away start the VM all is OK.
>>> I don't see any ERROR messages in either vdsm.log, engine.log
>>>
>>> If I would have to guess it looks like the disk image isn't connected
>>> yet when the VM boots but thats weird isn't it?
>>>
>> As a follow up I tried a couple of other things:
>> - installed CentOS-7 and oVirt 4.3.10 using HCI and same problem
>> (the previous install of 4.3 was a upgraded version. Don't know the
>> start versie)
>> - did some testing with copying large files into the engine gluster
>> volume through /rhev/datacenter using 'cp' and no problems
>> - used qemu-img convert with the engine gluster volume as destination
>> --> problems
>> - had a good look through lots of logfiles and stumbled across an error
>> about missing shard which aligned with qemu-img errors
>> - turned features.shard off on the volume and restarted the volume
>> - reran the tests with qemu-img --> no problems any more.
>> - reinstalled Centos8.2 + oVirt-4.0, turned off sharding before
>> starting
>> the engine install
>> --> no problems installing, no problems importing, no problems starting
>> vms, sofar
>>
>> I need to install another server tomorrow, so I'll do that with
>> sharding
>> enabled and see if it crashes too and then get the logs some place
>> safe.
>>
>> Regards,
>>
>> Joop
>>
>> ___
>> 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/6TNJYNVBJWCB2NXDYMBYVNDQUWKBJJYU/
___
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/7BPONTX2FDDNBMUK3ZBU3ZFK5DTESGYF/


[ovirt-users] Re: Weird problem starting VMs in oVirt-4.4

2020-06-16 Thread Joop
On 3-6-2020 14:58, Joop wrote:
> Hi All,
>
> Just had a rather new experience in that starting a VM worked but the
> kernel entered grub2 rescue console due to the fact that something was
> wrong with its virtio-scsi disk.
> The message is Booting from Hard Disk 
> error: ../../grub-core/kern/dl.c:266:invalid arch-independent ELF maginc.
> entering rescue mode...
>
> Doing a CTRL-ALT-Del through the spice console let the VM boot
> correctly. Shutting it down and repeating the procedure I get a disk
> problem everytime. Weird thing is if I activate the BootMenu and then
> straight away start the VM all is OK.
> I don't see any ERROR messages in either vdsm.log, engine.log
>
> If I would have to guess it looks like the disk image isn't connected
> yet when the VM boots but thats weird isn't it?
>
As a follow up I tried a couple of other things:
- installed CentOS-7 and oVirt 4.3.10 using HCI and same problem
(the previous install of 4.3 was a upgraded version. Don't know the
start versie)
- did some testing with copying large files into the engine gluster
volume through /rhev/datacenter using 'cp' and no problems
- used qemu-img convert with the engine gluster volume as destination
--> problems
- had a good look through lots of logfiles and stumbled across an error
about missing shard which aligned with qemu-img errors
- turned features.shard off on the volume and restarted the volume
- reran the tests with qemu-img --> no problems any more.
- reinstalled Centos8.2 + oVirt-4.0, turned off sharding before starting
the engine install
--> no problems installing, no problems importing, no problems starting
vms, sofar

I need to install another server tomorrow, so I'll do that with sharding
enabled and see if it crashes too and then get the logs some place safe.

Regards,

Joop

___
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/6TNJYNVBJWCB2NXDYMBYVNDQUWKBJJYU/


[ovirt-users] Re: Weird problem starting VMs in oVirt-4.4

2020-06-10 Thread Joop
On 8-6-2020 19:55, Joop wrote:
> On 8-6-2020 17:52, Strahil Nikolov wrote:
>> Are you using ECC ram ?
> No, but what are the chances that starting a VM by using Run directly vs
> using the Boot wait menu and it hitting that bad bit each and every time?
> BTW: this setup worked perfectly for over 9 months using 4.3.X.
>
> Joop
>
Correction, we are using ecc and ran memtest and didn't find anything wrong.

Reinstalled the server and I have the same problem again.

Started reading up on vdsm-hooks because I could get my VM up
consistently when using bootmenu=enabled.
So wrote this small piece of code, most of it is copy pasted:

#!/usr/bin/python3
#
#
from __future__ import absolute_import

import os
import sys
import subprocess
import hooking


if hooking.tobool(os.environ.get('boot_timeout', True)):
  domxml = hooking.read_domxml()

  os = domxml.getElementsByTagName('os')[0]
  bootelem = domxml.createElement('bootmenu')
  bootelem.setAttribute('timeout', '1000')
  bootelem.setAttribute('enable', 'yes')
  os.appendChild(bootelem)

  hooking.write_domxml(domxml)
#  pretty_xml_as_string = os.toprettyxml()
#  sys.stderr.write('%s\n' % pretty_xml_as_string)

Saved it in /usr/libexec/vdsm/hooks/before_vm_start as 90_wait
Played around with the timeout but lower than 1000 (1sec) and the
problem reappears.
For the time being I'm going forward with this workaround.

For good measure I'll include my versions of ovirt/vdsm/gluster/engine
cockpit-ovirt-dashboard-0.14.6-1.el8.noarch
ovirt-ansible-engine-setup-1.2.4-1.el8.noarch
ovirt-ansible-hosted-engine-setup-1.1.4-1.el8.noarch
ovirt-host-4.4.1-1.el8.x86_64
ovirt-host-dependencies-4.4.1-1.el8.x86_64
ovirt-hosted-engine-ha-2.4.3-1.el8.noarch
ovirt-hosted-engine-setup-2.4.4-1.el8.noarch
ovirt-imageio-client-2.0.6-0.el8.x86_64
ovirt-imageio-common-2.0.6-0.el8.x86_64
ovirt-imageio-daemon-2.0.6-0.el8.x86_64
ovirt-provider-ovn-driver-1.2.30-1.el8.noarch
ovirt-release44-4.4.0-2.el8.noarch
ovirt-vmconsole-1.0.8-1.el8.noarch
ovirt-vmconsole-host-1.0.8-1.el8.noarch
python3-ovirt-engine-sdk4-4.4.3-1.el8.x86_64
python3-ovirt-setup-lib-1.3.0-1.el8.noarch

vdsm-4.40.16-1.el8.x86_64
vdsm-api-4.40.16-1.el8.noarch
vdsm-client-4.40.16-1.el8.noarch
vdsm-common-4.40.16-1.el8.noarch
vdsm-gluster-4.40.16-1.el8.x86_64
vdsm-hook-ethtool-options-4.40.16-1.el8.noarch
vdsm-hook-fcoe-4.40.16-1.el8.noarch
vdsm-hook-openstacknet-4.40.16-1.el8.noarch
vdsm-hook-vhostmd-4.40.16-1.el8.noarch
vdsm-hook-vmfex-dev-4.40.16-1.el8.noarch
vdsm-http-4.40.16-1.el8.noarch
vdsm-jsonrpc-4.40.16-1.el8.noarch
vdsm-network-4.40.16-1.el8.x86_64
vdsm-python-4.40.16-1.el8.noarch
vdsm-yajsonrpc-4.40.16-1.el8.noarch

gluster-ansible-cluster-1.0.0-1.el8.noarch
gluster-ansible-features-1.0.5-6.el8.noarch
gluster-ansible-infra-1.0.4-10.el8.noarch
gluster-ansible-maintenance-1.0.1-3.el8.noarch
gluster-ansible-repositories-1.0.1-2.el8.noarch
gluster-ansible-roles-1.0.5-12.el8.noarch
glusterfs-7.5-1.el8.x86_64
glusterfs-api-7.5-1.el8.x86_64
glusterfs-cli-7.5-1.el8.x86_64
glusterfs-client-xlators-7.5-1.el8.x86_64
glusterfs-events-7.5-1.el8.x86_64
glusterfs-fuse-7.5-1.el8.x86_64
glusterfs-geo-replication-7.5-1.el8.x86_64
glusterfs-libs-7.5-1.el8.x86_64
glusterfs-rdma-7.5-1.el8.x86_64
glusterfs-server-7.5-1.el8.x86_64
libvirt-daemon-driver-storage-gluster-5.6.0-10.el8.x86_64
python3-gluster-7.5-1.el8.x86_64
qemu-kvm-block-gluster-4.1.0-23.el8.1.x86_64
vdsm-gluster-4.40.16-1.el8.x86_64

ipxe-roms-qemu-20181214-3.git133f4c47.el8.noarch
libvirt-daemon-driver-qemu-5.6.0-10.el8.x86_64
qemu-img-4.1.0-23.el8.1.x86_64
qemu-kvm-4.1.0-23.el8.1.x86_64
qemu-kvm-block-curl-4.1.0-23.el8.1.x86_64
qemu-kvm-block-gluster-4.1.0-23.el8.1.x86_64
qemu-kvm-block-iscsi-4.1.0-23.el8.1.x86_64
qemu-kvm-block-rbd-4.1.0-23.el8.1.x86_64
qemu-kvm-block-ssh-4.1.0-23.el8.1.x86_64
qemu-kvm-common-4.1.0-23.el8.1.x86_64
qemu-kvm-core-4.1.0-23.el8.1.x86_64

libvirt-admin-5.6.0-10.el8.x86_64
libvirt-bash-completion-5.6.0-10.el8.x86_64
libvirt-client-5.6.0-10.el8.x86_64
libvirt-daemon-5.6.0-10.el8.x86_64
libvirt-daemon-config-network-5.6.0-10.el8.x86_64
libvirt-daemon-config-nwfilter-5.6.0-10.el8.x86_64
libvirt-daemon-driver-interface-5.6.0-10.el8.x86_64
libvirt-daemon-driver-network-5.6.0-10.el8.x86_64
libvirt-daemon-driver-nodedev-5.6.0-10.el8.x86_64
libvirt-daemon-driver-nwfilter-5.6.0-10.el8.x86_64
libvirt-daemon-driver-qemu-5.6.0-10.el8.x86_64
libvirt-daemon-driver-secret-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-core-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-disk-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-gluster-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-iscsi-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-iscsi-direct-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-logical-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-mpath-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-rbd-5.6.0-10.el8.x86_64
libvirt-daemon-driver-storage-scsi-5.6.0-10.el

[ovirt-users] Re: Weird problem starting VMs in oVirt-4.4

2020-06-09 Thread Joop
On 8-6-2020 19:56, Stephen Panicho wrote:
> I ended up making a BZ about this same issue a few weeks ago, but
> misdiagnosed the root cause. Maybe we could add to that?
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1839598
And maybe change the title to something else.
I'm ok with my logs/mail being added to it. I can do it sometime today
or tomorrow but feel free to do it if that suits you.

Regards,

Joop
>
> On Mon, Jun 8, 2020, 11:54 AM Strahil Nikolov via Users
> mailto:users@ovirt.org>> wrote:
>
> Are you using ECC ram ?
>
> Best Regards,
> Strahil Nikolov
>
> На 8 юни 2020 г. 15:06:22 GMT+03:00, Joop  <mailto:jvdw...@xs4all.nl>> написа:
> >On 3-6-2020 14:58, Joop wrote:
> >> Hi All,
> >>
> >> Just had a rather new experience in that starting a VM worked
> but the
> >> kernel entered grub2 rescue console due to the fact that something
> >was
> >> wrong with its virtio-scsi disk.
> >> The message is Booting from Hard Disk 
> >> error: ../../grub-core/kern/dl.c:266:invalid arch-independent ELF
> >maginc.
> >> entering rescue mode...
> >>
> >> Doing a CTRL-ALT-Del through the spice console let the VM boot
> >> correctly. Shutting it down and repeating the procedure I get a
> disk
> >> problem everytime. Weird thing is if I activate the BootMenu
> and then
> >> straight away start the VM all is OK.
> >> I don't see any ERROR messages in either vdsm.log, engine.log
> >>
> >> If I would have to guess it looks like the disk image isn't
> connected
> >> yet when the VM boots but thats weird isn't it?
> >>
> >>
> >As an update to this:
> >Just had the same problem with a Windows VM but more importantly also
> >with HostedEngine itself.
> >On the host did:
> >hosted-engine --set-maintenance --mode=global
> >hosted-engine --vm-shutdown
> >
> >Stopped all oVirt related services, cleared all oVirt related
> logs from
> >/var/log/..., restarted the host, ran hosted-engine --set-maintenance
> >--mode=none
> >Watched /var/spool/mail/root to see the engine coming up. It went to
> >starting but never came into the Up status.
> >Set a password and used vncviewer to see the console, see attached
> >screenschot.
> >hosted-engine --vm-poweroff, and tried again, same result
> >hosted-engine --vm-start, works
>     >Let it startup and then shut it down after enabling maintenance mode.
> >Copied, hopefully, all relevant logs and attached them.
> >
> >A sosreport is also available, size 12Mb. I can provide a
> download link
> >if needed.
> >
> >Hopefully someone is able to spot what is going wrong.
> >
> >Regards,
> >
> >Joop
> ___
> Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> To unsubscribe send an email to users-le...@ovirt.org
> <mailto: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/XASNIEZTZIMWAUIANSOPCX4ZBK6T7TZT/
>

___
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/AJ6UAXKKQYS7NG3DDOXOPDYNVV4FKOD4/


[ovirt-users] Re: Weird problem starting VMs in oVirt-4.4

2020-06-08 Thread Joop
On 8-6-2020 17:52, Strahil Nikolov wrote:
> Are you using ECC ram ?
No, but what are the chances that starting a VM by using Run directly vs
using the Boot wait menu and it hitting that bad bit each and every time?
BTW: this setup worked perfectly for over 9 months using 4.3.X.

Joop

> Best Regards,
> Strahil Nikolov
>
> На 8 юни 2020 г. 15:06:22 GMT+03:00, Joop  написа:
>> On 3-6-2020 14:58, Joop wrote:
>>> Hi All,
>>>
>>> Just had a rather new experience in that starting a VM worked but the
>>> kernel entered grub2 rescue console due to the fact that something
>> was
>>> wrong with its virtio-scsi disk.
>>> The message is Booting from Hard Disk 
>>> error: ../../grub-core/kern/dl.c:266:invalid arch-independent ELF
>> maginc.
>>> entering rescue mode...
>>>
>>> Doing a CTRL-ALT-Del through the spice console let the VM boot
>>> correctly. Shutting it down and repeating the procedure I get a disk
>>> problem everytime. Weird thing is if I activate the BootMenu and then
>>> straight away start the VM all is OK.
>>> I don't see any ERROR messages in either vdsm.log, engine.log
>>>
>>> If I would have to guess it looks like the disk image isn't connected
>>> yet when the VM boots but thats weird isn't it?
>>>
>>>
>> As an update to this:
>> Just had the same problem with a Windows VM but more importantly also
>> with HostedEngine itself.
>> On the host did:
>> hosted-engine --set-maintenance --mode=global
>> hosted-engine --vm-shutdown
>>
>> Stopped all oVirt related services, cleared all oVirt related logs from
>> /var/log/..., restarted the host, ran hosted-engine --set-maintenance
>> --mode=none
>> Watched /var/spool/mail/root to see the engine coming up. It went to
>> starting but never came into the Up status.
>> Set a password and used vncviewer to see the console, see attached
>> screenschot.
>> hosted-engine --vm-poweroff, and tried again, same result
>> hosted-engine --vm-start, works
>> Let it startup and then shut it down after enabling maintenance mode.
>> Copied, hopefully, all relevant logs and attached them.
>>
>> A sosreport is also available, size 12Mb. I can provide a download link
>> if needed.
>>
>> Hopefully someone is able to spot what is going wrong.
>>
>> Regards,
>>
>> Joop
___
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/N4Z3SMVJIEX6JKANJSMTDCAU4DODJ53B/


[ovirt-users] Re: Weird problem starting VMs in oVirt-4.4

2020-06-04 Thread Joop
On 3-6-2020 22:13, Strahil Nikolov wrote:
> Is  it UEFI based  or the lagacy bios ?
Legacy BIOS.

Joop

>
> Best Regards,
> Strahil Nikolov
>
> На 3 юни 2020 г. 19:00:48 GMT+03:00, Marco Fais  написа:
>> Hi Joop
>>
>> I am having the same problem -- thought initially was due to the VM
>> import
>> but it is now happening even on newly created VMs.
>> Rebooting (e.g. ctrl-alt-del) the machine a couple of times solves the
>> issue, but a power off / power on might cause it again...
>>
>> Not sure how best to capture this behaviour in the logs yet...
>>
>> Regards,
>> Marco
>>
>> On Wed, 3 Jun 2020 at 14:00, Joop  wrote:
>>
>>> Hi All,
>>>
>>> Just had a rather new experience in that starting a VM worked but the
>>> kernel entered grub2 rescue console due to the fact that something
>> was
>>> wrong with its virtio-scsi disk.
>>> The message is Booting from Hard Disk 
>>> error: ../../grub-core/kern/dl.c:266:invalid arch-independent ELF
>> maginc.
>>> entering rescue mode...
>>>
>>> Doing a CTRL-ALT-Del through the spice console let the VM boot
>>> correctly. Shutting it down and repeating the procedure I get a disk
>>> problem everytime. Weird thing is if I activate the BootMenu and then
>>> straight away start the VM all is OK.
>>> I don't see any ERROR messages in either vdsm.log, engine.log
>>>
>>> If I would have to guess it looks like the disk image isn't connected
>>> yet when the VM boots but thats weird isn't it?
>>>
>>> Regards,
>>>
>>> Joop
>>>
>>> ___
>>> 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/TA6BJ2A4XUGKU7P47OGM42TT26GXZJXP/
___
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/EKU7MBUWBTXMUX3527ZCV4CKCKA6IWDC/


[ovirt-users] Re: 4.4 regression: engine-setup fails if admin password in answerfile contains a "%"

2020-06-03 Thread Joop
On 3-6-2020 15:29, Gianluca Cecchi wrote:
> On Mon, May 25, 2020 at 8:50 AM Yedidyah Bar David  <mailto:d...@redhat.com>> wrote:
>
> On Sun, May 24, 2020 at 9:36 PM Gianluca Cecchi
> mailto:gianluca.cec...@gmail.com>> wrote:
> >
> > On Sun, May 24, 2020 at 11:47 AM Yedidyah Bar David
> mailto:d...@redhat.com>> wrote:
> >>
> >>
> >>
> >> Hi, Gianluca. Replying to your email on "4.4 HCI Install Failure -
> >> Missing /etc/pki/CA/cacert.pem":
> >>
> >> On Sun, May 24, 2020 at 12:28 PM Gianluca Cecchi
> >> mailto:gianluca.cec...@gmail.com>>
> wrote:
> >> >
> >> > I I remember correctly it happened to me during the beta
> cycle and the only "strange" character I used for the admin
> password was the @
> >> > Donna if it related with what you reported for the % character
> >>
> >> Did you open a bug?
> >>
> >> In any case, my above patch is not supposed to fix '@', only
> '%' (I think).
> >>
> >> Thanks and best regards,
> >>
> >
> > No, I didn't open a bug, because I scratched the system and
> installed again this time without the error, but I don't remember
> if I used the same password with the @ character or not
> > I will put attention in case of future 4.4 new installations
>
> Very well, thanks :-)
> -- 
> Didi
>
>
>
> Just to avoid opening a bug for a different thing, today I tried a
> single host HCI setup with the wizard and it failed.
> Installed from ovirt-node-ng final 4.4 iso.
> I see I have no /etc/pki/CA directory on the host at the moment, but I
> don't know if the install workflow had not arrived there yet or what.
> Last lines in my wizard window are these ones below.
I have had this too and saw that during the test week is was also reported.
The 'solution' was to run /usr/sbin/ovirt-hosted-engine-cleanup and let
the wizard stay where it is and afterwards click Redeploy VM and then it
will run to its conclusion. Don't know what precisely it fixes. Had a
look and couldn't find it.

Joop


> Password used contains only letters, numbers and the "_" character in
> this attempt
> I'm in the "Prepare VM" stage.
>
> [ INFO ] TASK [ovirt.hosted_engine_setup : Stop libvirt service]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Drop vdsm config statements]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial abrt config
> files]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Restart abrtd service]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Drop libvirt sasl2
> configuration by vdsm]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Stop and disable services]
> [ INFO ] ok: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial libvirt
> default network configuration]
> [ INFO ] changed: [localhost]
> [ INFO ] TASK [ovirt.hosted_engine_setup : Start libvirt]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
> "Unable to start service libvirtd: Job for libvirtd.service failed
> because the control process exited with error code.\nSee \"systemctl
> status libvirtd.service\" and \"journalctl -xe\" for details.\n"}
>
> Status of libvirtd service is this one:
>
> [root@ovirt01 g.cecchi]# systemctl status libvirtd -l --no-pager
> ● libvirtd.service - Virtualization daemon
>Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled;
> vendor preset: enabled)
>   Drop-In: /etc/systemd/system/libvirtd.service.d
>└─unlimited-core.conf
>Active: failed (Result: exit-code) since Wed 2020-06-03 15:13:35
> CEST; 7min ago
>  Docs: man:libvirtd(8)
>https://libvirt.org
>   Process: 20001 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS
> (code=exited, status=6)
>  Main PID: 20001 (code=exited, status=6)
> Tasks: 2 (limit: 32768)
>Memory: 70.1M
>CGroup: /system.slice/libvirtd.service
>├─3926 /usr/sbin/dnsmasq
> --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
> --dhcp-script=/usr/libexec/libvirt_leaseshelper
>└─3927 /usr/sbin/dnsmasq
> --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro
> --dhcp-script=/usr/libexec/libvirt_leaseshelper
>
> Jun 03 15:13:35 ovirt01.mydomain.local systemd[1]: libvirtd.service:
> Service RestartSec=100ms expi

[ovirt-users] Re: Weird problem starting VMs in oVirt-4.4

2020-06-03 Thread Joop
On 3-6-2020 14:58, Joop wrote:
> Hi All,
>
> Just had a rather new experience in that starting a VM worked but the
> kernel entered grub2 rescue console due to the fact that something was
> wrong with its virtio-scsi disk.
> The message is Booting from Hard Disk 
> error: ../../grub-core/kern/dl.c:266:invalid arch-independent ELF maginc.
> entering rescue mode...
>
> Doing a CTRL-ALT-Del through the spice console let the VM boot
> correctly. Shutting it down and repeating the procedure I get a disk
> problem everytime. Weird thing is if I activate the BootMenu and then
> straight away start the VM all is OK.
> I don't see any ERROR messages in either vdsm.log, engine.log
>
> If I would have to guess it looks like the disk image isn't connected
> yet when the VM boots but thats weird isn't it?
>
>
Additional after testing snapshot functionality, I noted that not once I
had this problem but as soon as I removed all snapshots it returned.

Joop
___
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/2CP4KBEK4Q753NNO2LRE66ZXXXA3I3P7/


[ovirt-users] Weird problem starting VMs in oVirt-4.4

2020-06-03 Thread Joop
Hi All,

Just had a rather new experience in that starting a VM worked but the
kernel entered grub2 rescue console due to the fact that something was
wrong with its virtio-scsi disk.
The message is Booting from Hard Disk 
error: ../../grub-core/kern/dl.c:266:invalid arch-independent ELF maginc.
entering rescue mode...

Doing a CTRL-ALT-Del through the spice console let the VM boot
correctly. Shutting it down and repeating the procedure I get a disk
problem everytime. Weird thing is if I activate the BootMenu and then
straight away start the VM all is OK.
I don't see any ERROR messages in either vdsm.log, engine.log

If I would have to guess it looks like the disk image isn't connected
yet when the VM boots but thats weird isn't it?

Regards,

Joop

___
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/TA6BJ2A4XUGKU7P47OGM42TT26GXZJXP/


[ovirt-users] Import VM from export domain using oVirt-4.4

2020-06-03 Thread Joop
Hi All,

I'm testing a shiny new oVirt-4.4.02, selfhosted engine HCI gluster, and
found a problem when importing my VMs from an export domain.
Import is OK but can't start the VM due to the fact that the BIOS is set
to Legacy. Manually setting the BIOS type to Cluster Default, through VM
properties, will let the VM start.
I couldn't find anything about it in the ReleaseNotes

As a side note: using gluster still doesn't install
gluster-ansible-roles and glusterfs-server and vdsm-gluster or checks
for its existance. See also another user who reported problems due to
the latter not being installed, had the same experience.

Regards,

Joop

___
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/USYTNFHPXCLWYNUIIFYIDD6HLOGGRQAR/


[ovirt-users] Re: 4.4 HCI Install Failure - Missing /etc/pki/CA/cacert.pem

2020-05-22 Thread Joop
On 22-5-2020 17:59, Stephen Panicho wrote:
> Hey Marcin. There aren't any logs for those services as they haven't
> been started yet. This failure happens very early in the deploy, just
> after the page where you configure the engine VM settings.
>
> Unfortunately, I can't try a redeploy on the same node because
> libvirtd is now in a bad state and can't come up at all. I now get the
> following error once we get past the Gluster Wizard and move on the
> the Hosted Engine Deploy:
> "libvirt is not running! Please ensure it is running before starting
> the wizard, so system capabilities can be queried."
>
> I'll sift through the ansible to see what it changed and report back.
> But I'd still like to get past this /etc/pki/CA/cacert.pem issue.
>
> On Fri, May 22, 2020 at 4:45 AM Marcin Sobczyk  <mailto:msobc...@redhat.com>> wrote:
>
> Hi,
>
> On 5/22/20 7:06 AM, Stephen Panicho wrote:
>> Hi all! I'm using Cockpit to perform an HCI install, and it fails
>> at the hosted engine deploy. Libvirtd can't restart because of a
>> missing /etc/pki/CA/cacert.pem file.
>>
>> The log (tasks seemingly from
>> 
>> /usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/initial_clean.yml):
>> [ INFO ] TASK [ovirt.hosted_engine_setup : Stop libvirt service]
>> [ INFO ] changed: [localhost]
>> [ INFO ] TASK [ovirt.hosted_engine_setup : Drop vdsm config
>> statements]
>> [ INFO ] changed: [localhost]
>> [ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial abrt
>> config files]
>> [ INFO ] changed: [localhost]
>> [ INFO ] TASK [ovirt.hosted_engine_setup : Restart abrtd service]
>> [ INFO ] changed: [localhost]
>> [ INFO ] TASK [ovirt.hosted_engine_setup : Drop libvirt sasl2
>> configuration by vdsm]
>> [ INFO ] changed: [localhost]
>> [ INFO ] TASK [ovirt.hosted_engine_setup : Stop and disable services]
>> [ INFO ] ok: [localhost]
>> [ INFO ] TASK [ovirt.hosted_engine_setup : Restore initial
>> libvirt default network configuration]
>> [ INFO ] changed: [localhost]
>> [ INFO ] TASK [ovirt.hosted_engine_setup : Start libvirt]
>> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false,
>> "msg": "Unable to start service libvirtd: Job for
>> libvirtd.service failed because the control process exited with
>> error code.\nSee \"systemctl status libvirtd.service\" and
>> \"journalctl -xe\" for details.\n"}
>>
>> journalctl -u libvirtd:
>> May 22 04:33:25 node1 libvirtd[26392]: libvirt version: 5.6.0,
>> package: 10.el8 (CBS mailto:c...@centos.org>>,
>> 2020-02-27-01:09:46, )
>> May 22 04:33:25 node1 libvirtd[26392]: hostname: node1
>> May 22 04:33:25 node1 libvirtd[26392]: Cannot read CA certificate
>> '/etc/pki/CA/cacert.pem': No such file or directory
>> May 22 04:33:25 node1 systemd[1]: libvirtd.service: Main process
>> exited, code=exited, status=6/NOTCONFIGURED
>> May 22 04:33:25 node1 systemd[1]: libvirtd.service: Failed with
>> result 'exit-code'.
>> May 22 04:33:25 node1 systemd[1]: Failed to start Virtualization
>> daemon.
> Can you please share journalctl logs for vdsmd and supervdsmd?
>
I hate it when I have to say: me too.

BUT during test week I think Simone had the same problem and did a
/usr/sbin/ovirt-hosted-engine-cleanup?? and then you can retry the deply
from the wizard.
To recapitulate: Follow the HCI cockpit wizard until you get the error
then open a terminal and cleanup and then retry the deployment. It will
succeed. Did this yesterday and it worked.
Even tried to run cleanup before starting the wizard but thats a no success.

Greetings

Joop

___
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/4PUIES2JGAFHJY6BJG5MQY4URRE3STKS/


[ovirt-users] Re: [Feedback needed] oVirt 4.4.0 Test week

2020-05-11 Thread Joop
On 8-5-2020 13:23, Sandro Bonazzola wrote:
> Hi,
> oVirt team is planning to release oVirt 4.4.0 Ga in the next couple of
> weeks.
>
I followed the same procedure as for the beta releases and have come
across a new problem.
Following the HCI setup using cockit in step 3 of deplying the VM
ansible reports an error about missing /etc/pki/CA/cacert.pem which
indeed does not exist.
Can't find where this is supposed to come from and before creating my
own and trying the install again I would like to know if I'm doing
something wrong.
In essence I installed Centos-8.1 from the link provided in the email.

Regards,

Joop
___
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/Q4L6L62UEKW2SHE522FJMSBYYPPDGDUV/


[ovirt-users] Re: oVirt 4.4.0 Beta release refresh is now available for testing

2020-04-20 Thread Joop
On 17-4-2020 18:29, Sandro Bonazzola wrote:
>
>
>   oVirt 4.4.0 Beta release refresh is now available for testing
>
>
> The oVirt Project is excited to announce the availability of the beta
> release of oVirt 4.4.0 refresh (beta 4) for testing, as of April 17th,
> 2020
>
>
> This release unleashes an altogether more powerful and flexible open
> source virtualization solution that encompasses hundreds of individual
> changes and a wide range of enhancements across the engine, storage,
> network, user interface, and analytics on top of oVirt 4.3.
>
>
I successfully installed a HCI setup using glusterfs using this beta4. I
encountered the save problem as Gianluca but his workaround worked for
me too.

Keep up the good work,

Joop

___
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/TSDDTEKPSJAQBVSDVQULK4WWJMA4KBIO/


[ovirt-users] Re: ovirt 4.4 beta4 HCI single host problem unknown CPU feature: tsx-ctrl

2020-04-20 Thread Joop
On 19-4-2020 15:21, Gianluca Cecchi wrote:
> Hello,
> I'm trying what in subject as a nested environment.
> Physical is oVirt 4.3.9
Me too.
>
> I configured the VM that has to be the hypervisor with cpu passthrough.
> The local VM starts ok with these settings:
>
> usr/libexec/qemu-kvm -name guest=HostedEngineLocal,debug-threads=on -S
> -object
> secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-1-HostedEngineLocal/master-key.aes
> -machine pc-q35-rhel8.1.0,accel=kvm,usb=off,dump-guest-core=off -cpu
> Cascadelake-Server,ss=on,hypervisor=on,tsc-adjust=on,umip=on,pku=on,md-clear=on,stibp=on,arch-capabilities=on,ibpb=on,rdctl-no=on,ibrs-all=on,skip-l1dfl-vmentry=on,mds-no=on,kvmclock=on
>
> When at final stage of deployment it tries to start the final engine
> VM it goes down due to this in vdsm.log:
>
I have just completed a HCI setup with 4.4beta4, thanks Gianluca for you
character by character workaround for step 1 of that wizard, and don't
have the cpu flags problem.
The wizard completed successfully and I now have a working 4.4beta4
engine using glusterfs, :-)
output of lscpu:
CPU family:6
Model: 85
Model name:Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
Stepping:  4

And I used Pass-Through Host CPU for the VM that is acting as the next
level host and thus runs the hosted-engine.

Regards,

Joop
___
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/SU7ZR64RS6AYXOCCASCUF5A3Z5U65FE6/


[ovirt-users] Re: oVirt 4.4.0 Beta release refresh is now available for testing

2020-04-13 Thread Joop
On 13-4-2020 09:45, Satheesaran Sundaramoorthi wrote:
>
>
> On Thu, Apr 9, 2020 at 3:37 PM Sandro Bonazzola  <mailto:sbona...@redhat.com>> wrote:
>
>
>
> Does the hyperconverged installation now work with glusterfs?
> I tested alpha/beta1/2 and the latter won't get past the
> storage step.
>
>
> Not yet. There was the issue with glusterfs storage domain and storage
> domain blocksize probe check.
> This is addressed with a new ioprocess-1.4.1 package for the bug[1].
>
> We are testing currently with this fix and it works well. But hitting
> yet another issue, where Hosted Engine deployment
> fails at the very last stage in the deployment. Gluster developer is
> looking in to it, as I respond here.
> Soon we will have a working build and I will let you once these issues
> are settled.
>
> [1] - https://bugzilla.redhat.com/show_bug.cgi?id=1820283
>
> Thanks,
> sas
>
>
Thanks for the message. Looking through the logs I saw references to the
blocksize but since that is contained in the ansible scripts which get
downloaded to the host I gave up finding the source versions to try to
see it I could get it going beyond that failing step.

Anyway, thanks for informing me,

Regards,

Joop
___
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/23FN2OJPKM3DTBHHGM6J7IVEFO6Y2XYR/


[ovirt-users] Re: oVirt 4.4.0 Beta release is now available for testing

2020-04-06 Thread Joop
On 30-3-2020 17:14, Sandro Bonazzola wrote:

Any news on my findings?
I'm currently trying the beta 4.4 refresh release but run into the same
problem.

Regards,

Joop

>
>
> Il giorno lun 30 mar 2020 alle ore 16:56 Joop  <mailto:jvdw...@xs4all.nl>> ha scritto:
>
> On 27-3-2020 15:48, Sandro Bonazzola wrote:
>>
>>
>>   oVirt 4.4.0 Beta release is now available for testing
>>
>>
>> The oVirt Project is excited to announce the availability of the
>> beta release of oVirt 4.4.0 for testing, as of March 27th, 2020
>>
>>
>> This release unleashes an altogether more powerful and flexible
>> open source virtualization solution that encompasses hundreds of
>> individual changes and a wide range of enhancements across the
>> engine, storage, network, user interface, and analytics on top of
>> oVirt 4.3.
>>
>>
>> Important notes before you try it
>>
>> Please note this is a Beta release.
>>
>> The oVirt Project makes no guarantees as to its suitability or
>> usefulness.
>>
>> This pre-release must not to be used in production.
>>
>> In particular, please note that upgrades from 4.3 and future
>> upgrades from this beta to the final 4.4 release from this
>> version are not supported.
>>
>> Some of the features included in oVirt 4.4.0 Beta require content
>> that will be available in CentOS Linux 8.2 which are currently
>> included in Red Hat Enterprise Linux 8.2 beta. If you want to
>> have a better experience you can test oVirt 4.4.0 Beta on Red Hat
>> Enterprise Linux 8.2 beta.
>>
>>
>> Known Issues
>>
>>  *
>>
>> ovirt-imageio development is still in progress. In this beta
>> you can’t upload images to data domains. You can still copy
>> iso images into the deprecated ISO domain for installing VMs.
>>
>>
>> Installation instructions
>>
>>
>> For the engine: either use appliance or:
>>
>> - Install CentOS Linux 8 minimal from
>> 
>> <http://centos.mirror.garr.it/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso>http://centos.mirror.garr.it/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso
>>
>> - dnf install
>> 
>> <https://resources.ovirt.org/pub/yum-repo/ovirt-release44-pre.rpm>https://resources.ovirt.org/pub/yum-repo/ovirt-release44-pre.rpm
>>
>> - dnf update (reboot if needed)
>>
>> - dnf module enable -y javapackages-tools pki-deps 389-ds
>>
>> - dnf install ovirt-engine
>>
>> - engine-setup
>>
>>
>> For the nodes:
>>
>> Either use oVirt Node ISO or:
>>
>> - Install CentOS Linux 8 from
>> 
>> <http://centos.mirror.garr.it/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso>http://centos.mirror.garr.it/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso;
>> select minimal installation
>>
>> - dnf install
>> https://resources.ovirt.org/pub/yum-repo/ovirt-release44-pre.rpm
>>
>> - dnf update (reboot if needed)
>>
>> - Attach the host to engine and let it be deployed.
>>
>>
> I have tested the HCI setup but ran into a problem at the the end
> of the storage step.
>
>
> Thanks for testing and for the feedback!
>
>  
>
> What I did is follow https://ovirt.org/download/beta.html
> Host is Centos-8.1 from above both steps done, no problem
> Install oVirt using the Cockpit wizard
> 1 - not needed as its CentOS
> 2 - 5 no problems, BUT
> Cockpit session timeout if you're not careful, fix:
> (add
> [Session]
> IdleTimeout=0
> in /etc/cockpit/cockpit.conf
> )
>
>
> Yes, we found it too: https://bugzilla.redhat.com/show_bug.cgi?id=1818566
>
>  
>
> AND
> If using step 6 and then choosing HCI setup the following is observed:
> Deploy fails at certain steps because missing:
> - hostname not in /etc/hosts
> - gluster-ansible-roles not installed
> - glusterfs-server not installed (firewall service name not available)
> - vdsm-gluster (don't now if its needed but sounds logical)
> - ssh-keygen
> - ssh-copy-id `hostname -f`
>
> --> dnf install gluster-ansible-roles glusterfs-server vdsm-gluster -y
>
>
> adding +Gobinda Das <mailto:go...@redhat.com> here. I think that the
> HCI deployment has been developed and tested only for oVirt Node
&

[ovirt-users] Re: Synology NFS confusion

2020-03-18 Thread Joop
On 17-3-2020 21:31, Strahil Nikolov wrote:
> On March 17, 2020 10:21:53 PM GMT+02:00, Shareef Jalloq 
>  wrote:
>> Hi all,
>>
>> I'm trying to set up a hosted engine on an NFS share provided by a
>> Synology
>> NAS.  I've been reading the info and threads regarding the requirement
>> that
>> the share be owned by vdsm:kvm with uid:gid of 36:36, but this seems
>> impossible to set on modern Synology boxes.
>>
>> My understanding of DSM is that the user doesn't have control of the
>> UID
>> and GID of users.  You can ssh in and modify /etc/passwd but these
>> files
>> are auto-generated from Synology's own scripts so changes here will not
>> persist across reboots.  Is that correct?
>>
>> Secondly, having read lots of posts about permissions and various
>> issues
>> around export settings, why isn't this documented anywhere?  There just
>> seems to be lots of contradictory posts.  For example, my experience
>> has
>> been:
>>
>> - my Synology vdsm:kvm ids are 1028:65536
>> - the permissions on the NFS export are 777, anything else gives
>> permissions errors in HE setup
>> - the hosted engine install went fine with these settings.
>> - the nfs-check.py script provided to check the NFS export fails but
>> the
>> installation still completes.
>>
>> So are these issues specific to Synology or is the documentation out
>> there
>> just wrong?
>>
>> #confused
>>
>> Cheers, Shareef.
> Actually,
> I have seen users using anonuid=36,anonguid=36,all_squash  (or whatever were 
> the anon user options) which  forces all users on the share to be mapped to 
> nfsnobody and that user/group will have uid  of '36'.
>
>
Yes, thats the way I do it.
If you add the exports using the UI you don't get the right lines in
/etc/exports but if you enable ssh access you can edit the file and than do:
mkdir -p /volume1/ovirt/{he|data}
chown -R 36:36 /volume1/ovirt
install oVirt using the nfs path your.nas:/volume1/ovirt/he

That should work.

Greetings,

Joop
___
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/2IOKWWYWZSKZKVBEGXHNSXWMWCCIK6Z5/


[ovirt-users] Re: oVirt 4.4.0 Alpha release refresh is now available for testing

2020-03-12 Thread Joop
On 6-3-2020 10:08, Sandro Bonazzola wrote:
>
>
>   oVirt 4.4.0 Alpha release refresh is now available for testing
>
>
Yes, thanks for the hard work.

> The oVirt Project is excited to announce the availability of the alpha
> release refresh of oVirt 4.4.0 for testing, as of March 6th, 2020
>
>
> Installation instructions
>
>
> For the engine: either use appliance or:
>
> - Install CentOS Linux 8 minimal from
> http://centos.mirror.garr.it/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso
>
> - dnf install
> https://resources.ovirt.org/pub/yum-repo/ovirt-release44-pre.rpm
>
> - dnf update (reboot if needed)
>
> - dnf module enable -y javapackages-tools pki-deps 389-ds
>
> - dnf install ovirt-engine
>
> - engine-setup
>
>
> For the nodes:
>
> Either use oVirt Node ISO or:
>
> - Install CentOS Linux 8 from
> http://centos.mirror.garr.it/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso;
> select minimal installation
>
> - dnf config-manager --set-enabled PowerTools
>
> - dnf install
> https://resources.ovirt.org/pub/yum-repo/ovirt-release44-pre.rpm
>
> - dnf update (reboot if needed)
>
> - Attach the host to engine and let it be deployed.
>
>
Followed the instructions and it does work :-)

But I also tested if I could setup a hosted engine but that fails.
Should that work too but did I make a mistake or is that part not ready yet?

If it should work I can try again and upload logs if needed.

Thanks,

Joop

___
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/NOZ75Y5FC3TSZR4LY6OBIVWD57HS5OI3/


[ovirt-users] Re: oVirt Admin Portal unaccessible via chrome (firefox works)

2019-11-24 Thread Joop
On 24-11-2019 12:52, Jayme wrote:
> Chrome is my primary browser and I use oVirt admin portal daily
> without issue.  Are you getting any errors accessing at all?  Could it
> be a certificate issue perhaps?
>
> On Sun, Nov 24, 2019 at 7:37 AM Siddharth Patil
> mailto:siddha...@cloudraptor.co.bw>> wrote:
>
> Do you have any extensions installed? I also had a similar problem
> with Chrome on macOS but it disappeared after I disabled Privacy
> Badger for the Engine url (even though PB says it didn't detect
> any trackers).
>
I have the same problem and couldn't figure out what had happened in the
last 2/3 weeks. Now I know: I installed PrivacyBadger :-)

I just disabled it for my ovirt-engine url and all is working well now.

Regards,

Joop

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/ZHZMJGHU3ETVPL7BJVFJK3TE5JIMTYVQ/


[ovirt-users] Re: New to OVirt

2019-05-15 Thread Joop
On 14-5-2019 06:32, Slobodan Stevanovic wrote:
> I downloaded oVirt_Node ISO and deployed it to the servers. Than, I
> used the following instructions 
>
> https://www.ovirt.org/documentation/gluster-hyperconverged/chap-Deploying_Hyperconverged.html
>
> At first, I tried to deploy gluster to three servers, but it was
> giving me some issues on one of them. So, I used that document as a
> guide line for single deployment.
>
> After, the gluster was done I clicked on OVirt Engine setup wizard. I
> filled out the info so it can be deployed on the same server. However,
> the installation never finishes successfully.
>
> I can see that the host has a new virtual machine running, but it does
> not get the IP address from the wizard. The VM gets the IP from the
> newly created subnet.
>
>
> On Monday, May 13, 2019, 11:09:43 AM PDT, Joop  wrote:
>
>
> On 10-5-2019 19:20, Slobodan Stevanovic wrote:
>>
>> I am having hard time installing OVIrt. 
>>
>> Gluster deployment for the single node sometimes work, but host
>> engine deployment never works.
>>
>>
>> Any one has suggestion on which release of OVirt to use as a beginner.
>>
>>
> Could you tell what problems you're having and what documentation
> you're following?
>
> I just did a hyperconverged hosted-engine setup on a single server
> using the cockpit installer and had just 2 problems:
> - firewall-cmd uses glusterfs as a service name and that isn't
> installed, its in glusterfs-server rpm but that isn't installed for
> some reason.
> - multipath problems but that could be my problem, anyway I manually
> blacklisted both my SSD gluster drives.
>
> Going todo it tomorrow again to get a collegue to work on it so if
> anything comes up I'll post it here.
So I did the same routine today and followed this piece of documentation:
https://www.ovirt.org/download/ --> Install oVirt with Cockpit
Used a std Centos minimal install, used a fixed IP address with a DNS A
record and a PTR record, made one for the engine too!!, ran yum update,
reboot
Add the ovirt-release43 repo
sudo yum install cockpit cockpit-ovirt-dashboard -y
sudo yum install glusterfs-server -y # this seemed to miss but includes
the firewalld glusterfs service name.!
sudo systemctl enable --now cockpit.socket
sudo firewall-cmd --add-service=cockpit
sudo firewall-cmd --add-service=cockpit --permanent
sudo yum install ansible-glusterfs-roles #??? not sure about the exact
name but use yum info *ansiblie* | grep ^Name | sort to find it. Wizard
needs them.
login into cockpit
Select the gluster HCI wizard instead of the HostedEngine one and follow
the instructions to the t, use fixed IP adresses which DO have a DNS
entry, saves you a lot of hair pulling.

Joop




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/3YJRXLEDB3NUQZFUW6AGXJNESGNWLINR/


[ovirt-users] Re: New to OVirt

2019-05-13 Thread Joop
On 10-5-2019 19:20, Slobodan Stevanovic wrote:
>
> I am having hard time installing OVIrt. 
>
> Gluster deployment for the single node sometimes work, but host engine
> deployment never works.
>
>
> Any one has suggestion on which release of OVirt to use as a beginner.
>
>
Could you tell what problems you're having and what documentation you're
following?

I just did a hyperconverged hosted-engine setup on a single server using
the cockpit installer and had just 2 problems:
- firewall-cmd uses glusterfs as a service name and that isn't
installed, its in glusterfs-server rpm but that isn't installed for some
reason.
- multipath problems but that could be my problem, anyway I manually
blacklisted both my SSD gluster drives.

Going todo it tomorrow again to get a collegue to work on it so if
anything comes up I'll post it here.

Joop

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/DFOIFIEADIA2AIUWIW4BWXVCNGWPLTCE/


[ovirt-users] Re: Trying to update a host. (ovirt4.1)

2018-06-19 Thread Joop
On 19-6-2018 17:26, Jacob Green wrote:
>
> I just did not know where to look for the errors, I now see that it is
> telling me it is failing on this package "collectd"
>
> So when I go to my host and I run *yum list collectd *I see that
> collectd is available to install via EPEL repos. _/Note: I did not
> setup this cluster not sure if epel is normal./
>
>
>
>
> So looks like my problem here has to do with the epel package being
> available and being newer?
>
There is a warning on the ovirt site about enabling epel :-)

Disable the epel repo and just use yum install whatever
--enablerepo=epel just in case you need it.

Regards,

Joop

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/FYB4RSPOYRZIDVH4VZLYPQNV2VW636UY/


Re: [ovirt-users] Emergency shutdown script

2018-04-23 Thread Joop
On 23-4-2018 20:13, Simon Vincent wrote:
> Does anyone have a way of shutting down oVirt automatically in the
> case of a power outage?
>
> Ideally I would like a script that can be automatically run when the
> UPS reaches a certain level. I had a look at the python SDK but I
> could only find functions for shutting down VMs and not hosts. Also I
> suspect this wont let me shutdown the hosted engine VM.
>
>
I have posted in the past a script which you might be able to use as a
starting point.
I've got a, most of the time, a single server setup using hosted-engine
for development/testing work and shutdown my server when needed.
Recently found out that using 'sanlock client shutdown -f 1 -w 1'  will
allow me to shutdown my server cleanly.
I'll dig up the script when I'm booted into CentOS instead of Windows :-)
Nudge me if I forget to post the script :-)

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Greetings oVirt Users

2018-04-06 Thread Joop
On 6-4-2018 02:58, Clint Boggio wrote:
> Environment Rundown:
>
> OVirt 4.2
> 6 CentOS 7.4 Compute Nodes Intel Xeon
> 1 CentOS 7.4 Dedicated Engine Node Intel Xeon 
> 1 Datacenter 
> 1 Storage Domain
> 1 Cluster
> 10Gig-E iSCSI Storage 
> 10Gig-E NFS Export Domain
> 20 VM’s of various OS’s and uses 
>
> The current cluster is using the Nehalem architecture.
>
> I’ve got the deploy two new VMs that the current system will not allow me to 
> configure with the Nehalem based cluster, so I’ve got to bump up the 
> architecture of the cluster to accommodate them.
>
> Before i shut down all the current VMs to upgrade the cluster, I have some 
> questions about the effect this is going to have on the environment.
>
> 1. Will all of the current VM’s use the legacy processor architecture or will 
> I have to change them ?
They can keep the legacy architecture.

The level is determined by the server with the lowest specs qua
architecture but since it is a cluster property you can add 1 or 2 new
servers in a new cluster which you could use to run the new VMs.
So if all your servers are Nehalem than you'll need at least one new server.

>
> 2. Can I elevate the cluster processor functionality higher than the 
> underlying hardware architecture  ?
No
>
> 3. In regards to the new cluster processor, will all of the processor 
> architectures below the one I choose be an option for the existing and future 
> VMs ?
Yes.

>
> I apologize for the long post and I hope that I haven’t left out any vital 
> information.
>

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Juniper vSRX Cluster on oVirt/RHEV

2018-03-23 Thread Joop
On 22-3-2018 10:17, Yaniv Kaul wrote:
>
>
> On Wed, Mar 21, 2018 at 10:37 PM, Charles Kozler <ckozler...@gmail.com
> <mailto:ckozler...@gmail.com>> wrote:
>
> Hi All -
>
> Recently did this and thought it would be worth documenting. I
> couldnt find any solid information on vsrx with kvm outside of
> flat KVM. This outlines some of the things I hit along the way and
> how to fix. This is my one small way of giving back to such an
> incredible open source tool
>
> https://ckozler.net/vsrx-cluster-on-ovirtrhev/
> <https://ckozler.net/vsrx-cluster-on-ovirtrhev/>
>
>
> Thanks for sharing!
> Why didn't you just upload the qcow2 disk via the UI/API though?
> There's quite a bit of manual work that I hope is not needed?
>
@Work we're using Juniper too and oud of curiosity I downloaded the
qcow2 image and used the UI to upload it and add it to a VM. It just
works :-) oVirt++

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt home lab hardware

2018-01-19 Thread Joop

On 18-1-2018 21:52, Abdurrahman A. Ibrahim wrote:

Hello,

I am planning to buy home lab hardware to be used by oVirt.

Any recommendations for used hardware i can buy from eBay for example?
Also, have you tried oVirt on Intel NUC or any other SMB servers before?

My shuttle XH110 are doing double duty as oVirt cluster and workstation. 
They have dual NICs and upto 32G RAM. If you need something bigger than 
a cube version has lots more storage and more memory (SZ17R8V2).
If you want servers than have a look at https://tinkertry.com/ which as 
a couple of projects which are nice but probably a bit more noisier than 
the shuttles which are quite silent most of the time.


Regards,

Joop
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HEVM root reset?

2017-10-29 Thread Joop

On 28-10-2017 23:25, Chas Ecomm wrote:

My issue:

I’ve inherited a 4.1 hosted-engine setup. This is for a non-profit, so 
the previous consultant did what she could to save capital expense by 
using older gear and oVirt rather than VMware/Hyper-V and newer 
equipment.  For the most part it has worked quite well as I understand 
it.  This particular setup has gone from 3.5 with a standalone engine 
to 4.1 with a hosted engine, in case that matters.


The VMs hosted on the 2 clusters associated with this engine are 
currently working fine, but I am trying to get into the hosted-engine 
VM, and either there was a problem with the root password during setup 
and the hosted-engine-setup script didn’t catch it or I’ve been given 
a bad password.  The previous admin didn’t setup any alternative 
users, which is a major no-no in my book, and so I’m trying to do that 
– but I can’t login to the VM.  I can log into the portal and manage 
the hosts, storage, VMs, etc., just not the HEVM.  As I understand it, 
even if I could set aside my need for alternate users, when it comes 
time to upgrade I will need access to the HEVM, so I have to solve 
this at some point.



I assume you checked whether you have sudo rights with the standard 
user? If not you could also try to add that user to the sudo admin group 
and that way gain root rights. Both ways you need to get to boot the HE 
from an alternative boot device.
You could use qemu to boot the HE from a rescue CD and reset the 
password or add your user to the right sudo group.
I just tried that on a copy of my HE and can boot my HE with the 
following command:

qemu-system-x86_64.exe -m 1024.000 -name HE  -hda t:\HE.qcow
Making a copy made the image non-sparse but I didn't try too hard to fix 
this since I'm trying this out on a W10 PC :-)


Regards,

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cluster upgrade from 3.6 to 4.1 fails

2017-03-17 Thread Joop
On 17-3-2017 20:33, Michal Skrivanek wrote:
>
>> On 17 Mar 2017, at 11:55, jvdwege <jvdw...@xs4all.nl
>> <mailto:jvdw...@xs4all.nl>> wrote:
>>
>> As per the subject I'm trying to upgrade my ovirt install and sofar
>> the upgrade has been smooth.
>> I'm running hosted-engine in Centos7.3 and my hosts are running
>> Fedora24 now with ovirt-4.1
>> If I try to upgrade my cluster from version 3.6 to 4.0 or 4.1 I
>> receive an error message and can't find a solution using google.
>> First I get the following message:
>>
>> All running VMs will be temporarily reconfigured to use the previous
>> cluster compatibility version and marked pending configuration change.
>> In order to change the cluster compatibility version of the VM to a
>> new version, the VM needs to be manually shut down and restarted.
>> There are 1 running VM(s) affected by this change.
>>
>> Are you sure you want to change the Cluster Compatibility Version?
>>
>> Yes, I want to change version :-) so I click OK
>> I then get the following error message:
>>  
>> Error while executing action:
>>
>>   * Cannot edit Cluster. Illegal number of monitors is provided, max
>> allowed number of monitors is 1 for VNC and the max number in the
>> ValidNumOfMonitors configuration variable for SPICE.
>>   * Cannot edit VM. Illegal number of monitors is provided, max
>> allowed number of monitors is 1 for VNC and the max number in the
>> ValidNumOfMonitors configuration variable for SPICE.
>>
>>  
>> Anyone has seen this before and is able to help?
>
> Is that an old VM, perhaps from 3.5 or even earlier? Has it been
> restarted since? Can you shut it down now and rerun after the cluster
> change? That would likely be the most simple resolution.
> If there are troubles even after the VM is Down try to edit and swithc
> console from VNC to SPICE or vice versa and run again
>
>
The problem is that it is the hosted-engine itself that is blocking the
upgrade. There is only one VM running but maybe there is one of the
shutdown VMs that is blocking this. Will have a look at all of them and
save their config to see if that helps.

Thanks,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot move pointer to top of console view in noVNC

2017-01-20 Thread Joop
On 19-1-2017 23:31, George Chlipala wrote:
> The subject line says it all.  When using noVNC and I move the mouse
> to the top of the console view, the pointer will stop short.  So, if I
> have a Windows VM and a window that is maximized, I cannot click on
> the close button.
>
I think you're looking at your cursor locked into the client window.
There should be a helpful message in the window title to press SHIFT+F12
to release the cursor :-)

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert?

2016-12-17 Thread Joop
On 16-12-2016 20:01, Derek Atkins wrote:
> Hi,
>
> I'd like to make some modifications to the main /ovirt-engine/ landing
> page that I (and my users) hit when then first connect to my server.
> Specifically, I want to add another link under the "Downloads" section
> to the ovirt CA certificate to make it much easier to download:
>
>  href="/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA">Ovirt
>  CA Certificate
>
> However I can't find the HTML for this page, and any links I've found
> seem to refer back to 3.x locations and not anything for 4.0.5.
>
> Where can I find the HTML for this landing page, or how can I get this
> link added?  I presume I'll have to modify the page every time I update
> the engine, too.
>
It might be hiding in the war file if that is used to deploy the
application (engine) on wildfly (10.x). Another thought occured, can you
use the plugin architecture to provide the extra link?

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Call for feedback] anybody gave 4.1 beta a try?

2016-12-07 Thread Joop
On 6-12-2016 9:38, Sandro Bonazzola wrote:
> Hi,
> any feedback on 4.1 beta we released last week?
> Thanks,
>
> -
I upgraded from 4.0 to 4.1pre yesterday and had a couple of problems
that I think are of my own doing.
I'm running hosted-engine on my laptop with a NFS data domain (I know
about the deadlock possibility)
Host OS was FC23 and needed to be upped to FC24 and the engine is
running Centos-7.2 so no changes.
Updated the engine first and then updated my fedora version. That went
well except that it complained about I think vdsm needing a version that
conflicted with an existing one (libvirt-client).
After allowing the update to erase the problematic packages I ended up
with another slight problem but fixed that by deinstalling the
problematic packages and reinstalling hosted-engine. I ofcourse lost the
configuration files but they are all saved as *.rpmsave.
Finding those files and moving them back into place and reinstalling
hosted-engine-ha-setup and hosted-engine-ha fixed most of not all
problems (systemd autostarting services). Restarting my system and
everything came backup up :-)
Next up is testing all those shiny new items.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage domains not found by vdsm after a reboot

2016-12-04 Thread Joop
On 3-12-2016 19:24, Charles Kozler wrote:
> I am facing the same issue here as well. The engine comes up and web
> UI is reachable. Initial login takes about 6 minutes to finally let me
> in and then once I am in under the events tab there is events for
> "storage domain  does not exist" yet they are all there. After
It will probably start faster if you install haveged in the hosted
engine VM.
I run a similar setup and it goes a lot faster that way.
> this comes 'reconstructing master domain' and it tries to cycle
> through my 2 storage domains not including ISO_UPLOAD and
> hosted_engine domains. Eventually it will either 1.) Settle on one and
> actually able to bring it up master domain or 2.) they all stay down
> and I have to manually activate one
>
> Its not really an issue since on three tests now I have recovered fine
> but it required some manual intervention on at least one occasion but
> otherwise it just flaps about until it can settle on one and actually
> bring it up
>
> Clocking it today its usually like this:
>
> 7 minutes for HE to come up on node 1 and access to web UI
> +6 minutes while hanging on logging in to web UI
> +9 minutes for one of the two storage domains to get activated as master
>
My setup is usally up in about 10min if I do nothing and if 'helping' it
I can get it up in around 6-8min. I usally don't bother and have another
cup of coffee :-)

About shutting down. I have a small script that shuts down the
ha-agent/ha-broker, then the engine and then vdsm/sanlock/nfs-server.
Search the ML for it and I can post it again if needed.
Putting the host into global maintenance and then shutting down will
work too but then you need to script --maintenance --mode=none during
startup.

Regards,

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self hosted single server network requirements

2016-11-19 Thread Joop
On 18-11-2016 23:47, Mark Steckel wrote:
> Hi folks,
>
> I'm a complete OVirt newbie trying to set up a self hosted, single server and 
> looking for some pointers to get going... (While new to OVirt, I'm long time 
> sysadmin so not totally clueless.)
>
> The server I'm using has a 4-core CPU, 64 GB of ram, and a pair of 500 GB 
> SSDs set up with RAID 1 and running CentOS 7.2. (I do not have physical 
> access to the server but can get KVM access when required.)
>
> The goal is to set up this server as a self hosted, single server OVirt 
> platform. Nothing mission critical, just want to be able to spin up VMs when 
> needed and destroy them afterwards.
>
> Trying to use OVirt 4.0.4 (now 4.0.5).
>
> I've read some docs for setting this up including those just below as well as 
> a bunch of googling and reading through the list archive.
>
>http://www.ovirt.org/documentation/how-to/hosted-engine/
>http://www.ovirt.org/develop/release-management/features/heapplianceflow/
>
> http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/
>
> Every time I execute "hosted-engine --deploy" the process "hangs" when it 
> migrates the public IP address to a virtual nic interface. And in this case, 
> by "hang" I mean that I lose the connection to the server. I have no idea if 
> the process finishes or errors out.
>
> So obviously I'm doing something wrong.
>
> I suspect that I need to take care of some network requirement before 
> starting. However, I can't find anything in the docs of how to prep the 
> server network environment before running "hosted-engine --deploy". 
>
> Should probably also mention that some, if not all of the VMs will need a 
> public IP address. The physical server has a /29 to get started.
>
I have never setup such a server but if you create the ovirtmgmt bridge
first then the deploy will leave it alone and you won't lose network
connectivity.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage domain for Engine does not appear

2016-11-19 Thread Joop
On 19-11-2016 2:00, Oscar Segarra wrote:
> Hi, 
>
> I have created a 3 node gluster (replica 3) and I have made a fresh
> install of the ovirt engine (4.0.5.5-1). The install process has
> finishes successfuly but when I connect the ovirt engine the storage
> domain where Engine lives does not appear.
>
> If I try to import it, I'm able to make it appear but i cannot attach
> it to a Data Center.
>
You need to create a storage domain first and then the storage domain
will automatically be imported into the Data Center.
That even holds true when you already have an previous storage domain.
You can't import it, you'll need to create a small dummy domain first
and then you can import an old one.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Average VM per host

2016-10-21 Thread Joop
On 19-10-2016 22:50, Nicolas Ecarnot wrote:
> Le 19/10/2016 à 19:49, Yaniv Kaul a écrit :
>> On Oct 19, 2016 5:56 PM, "Nicolas Ecarnot" <nico...@ecarnot.net
>> <mailto:nico...@ecarnot.net>> wrote:
>>>
>>> Hello,
>
> Hello Yaniv,
>
>>>
>>> Though I read some surveys about this, I'd rather directly ask the
>> oVirt community this question, and especially to people using it as a
>> production cluster : as an average, how many VM are running on each of
>> your hosts?
>>
>> The host with 1TB RAM or 64GB?
>>
>> There is no meaningful average for two reasons :
>> - Host specs (example above) - some believe in scale up (fewer but
>> stronger hosts), some believe in scale out (more hosts, not as high
>> end).
>
> *This* is mainly the point I am expecting to get some stats.
> Literature about competitor's products are commonly describing few and
> strong hosts scenario, but I'd like to know how it goes in oVirt's world
>
We've got around 100VMs with 175vCPUs running on 48pCPUs spread over 4
hosts. At the moment the storage layer is the limiting factor. VMs are a
mix of postgres database servers wildfly application servers with
geoserver and then some assorted infrastructure stuff and a couple of
Windows servers.

Regards,

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] leasing of vms

2016-08-11 Thread Joop
On 10-8-2016 14:30, Budur Nagaraju wrote:
> I want to restrict the vms to users for certain period , once the
> lease is expired vm should automatically retire.
foreman has a plugin which will decommission a vm after a certain time.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] deploying ovirt 3.6 engine on a glustered storage

2016-07-18 Thread Joop
On 18-7-2016 18:09, Andy Michielsen wrote:
> Hello,
>
>  That's my problem. I can set is up later but not at the moment. Once
> I get this first host op and running with the engine on a glusterfs I
> can decomission 2 other servers and add those to this setup.
>
I have an idea how to get this going but you'll need to test this really
well.
You can make a replica 3 with all bricks on the same server and then
when one of your other servers are available move one brick to it and
when all is healed move the next one to it.

Now, I'll probably get publicly whipped for this idea so I'm going to
say it again, test, test, did I say test it?

How much storage are you talking about?

Regards,

Joop

PS: are you on ovirt-irc?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Questions on oVirt

2016-06-03 Thread Joop
On 3-6-2016 18:10, Brett I. Holcomb wrote:
> On Fri, 2016-06-03 at 08:41 +0200, jvandewege wrote:
>> On 3-6-2016 3:23, Brett I. Holcomb wrote:
>> Thanks.  That helps.  If you get a chance I'd like the script.
>
Here it is, heavily tailored to my setup and my 'servers' which seem to
have their own problems. I never had problems shutting down servers
which run oVirt but it looks like that consumer computers are more
sensitive to some manipulation that oVirt does. Without this script I
can't shutdown my Shuttle XH61V, it will hang on wdmd.
The umount /rhev/.../ovirt01 are the nfs mounts that my hosts exports
and the umount /rhev/../pakhuis are the nfs mount to a NAS. So I don't
have everything on a single box but that doesn't matter. Got the same
kind of setup on my laptop but then without the external NFS on my NAS.
Host is running Fedora22, engine is running Centos-7.2

Joop

service ovirt-ha-agent stop
service ovirt-ha-broker stop
ssh engine01 init 0
service vdsmd stop
systemctl stop sanlock.service
umount /rhev/data-center/mnt/ovirt01.puzzle-it.nu:_nfs_data
umount /rhev/data-center/mnt/ovirt01.puzzle-it.nu:_nfs_export
umount /rhev/data-center/mnt/ovirt01.puzzle-it.nu:_nfs_iso
umount /rhev/data-center/mnt/pakhuis:_volume1_nfs_export
umount /rhev/data-center/mnt/pakhuis:_volume1_nfs_iso
umount /rhev/data-center/mnt/pakhuis:_volume1_nfs_data
umount /rhev/data-center/mnt/pakhuis:_volume1_nfs_he
systemctl stop nfs-server.service


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Autostart VMS

2016-04-06 Thread Joop
On 6-4-2016 21:10, Brett I. Holcomb wrote:
> On Wed, 2016-04-06 at 13:42 -0400, Adam Litke wrote:
>> On 06/04/16 01:46 -0400, Brett I. Holcomb wrote:
>>> In VMware we could setup guests to autostart when the host started
>>> and define the order.  Is that doable in oVirt?  The only thing I've
>>> seen is the watchdog and tell it to reset but nothing that allows me
>>> to define who starts up when and if they autostart.  I assume it's
>>> there but I must be missing it or haven't found it in the web portal. 
>>
>>
>> In oVirt guests aren't tied to a host by default (although you can set
>> them to run only on a specific host if you want).  The closest thing I
>> can think of would be the High Availability features (VM->Edit).
>> oVirt will try to restart highly available VMs if they go down.  You
>> can also set the priority for migration and restart in that pane.
>> Hopefully a combination of host pinning and the  high availability
>> settings will get you close enough to where you want to be.
>>
>> Otherwise, you could always do some scripting with the ovirt REST API
>> using the SDK or CLI.
>>
>
> If you had the VMware migration extra add-on you could have hosts move
> as needed so they were not tied to any host either but we could set a
> startup order and specify auto, manual so that once the host started
> the VMs were brought up as specified no matter what host they were
> running on.  
>
> I am running hosted-engine deployment with the Engine VM on the host.
>
> I set highly available on, did not pin to any host, and also set the
> watchdog which should reset if they go down but I'm not sure that will
> start them if the host comes up and the VMs are not running.  I'll
> look at the CLI first.
>
> It would be nice if oVirt added this feature as it's really required
> for large installations and is a help for any size installation, even
> small ones.
>
Maybe there is a another way. It involves ovirt-shell and/or a sdk
script. The idea is the create a custom property and set that to for
example, y:01 or n:02 and yes that to read that back if the host comes
up and start the vms if they have 'y' and use the number for ordering.
If reading back the properties is a problem you might be able to 'use'
the tagging feature todo something similar.

You can always create a RFE on the ovirt bugtracker.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Where to add NFS Data Storage

2016-03-22 Thread Joop
On 22-3-2016 17:39, Taste-Of-IT wrote:
> Sorry for write again, but its still unclear how to add the nfs
> storage and where.
>
> - as far as i understand the engine is in own vm what is neccessary
> for ha with 2 ore most host.
> - the e.g. nfs storage could be external on own server and will
> connected in engine-vm setup
>
> - the host itself needs a storage path at installation process too,
> which one? local or external nfs too? what will hosted there? the
> engine-vm right?
>
> - so if i only have one host with nfs storage on itself, i have to
> create 2 nfs paths, one for the host with engine-vm and one for the
> engine-vm for nfs storage right?
> - so what is the storage on engine for, all vms?
>
>
If you have only one host then:
- have that host export a couple of nfs shares, through /etc/exports
- install hosted-engine rpms on the host
- run hosted-engine-setup, following directions, this will:
-- install the vm in one of the nfs shares
-- installs ovirt-engine INSIDE the vm
-- installs the ovirt-ha-agent and ovirt-ha-broker on your host which
will start the hosted-engine vm
- if the vm is up then you can access its webui and you'll be able to
add an additional storage domain (NFS) which will hold you other VM disks
- make sure dns info is correct, you use static ip addressing, don't use
NetworkManager

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Where to add NFS Data Storage

2016-03-21 Thread Joop
On 21-3-2016 0:59, Taste-Of-IT wrote:
> Hello Joop,
>
> thanks for help. I tried now with fresh installation, but i have to
> enter a first storage domain to the nfs path i created. So the
> question is which path i have to add in engine? Create a new one on
> host and add in engine?
No. I thought you were trying to share from the engine. You can't
All shares are from the host point of view. Engine is consume the space
offered.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Where to add NFS Data Storage

2016-03-20 Thread Joop van de Wege
On March 20, 2016 1:38:16 AM CET, Taste-Of-IT <kont...@taste-of-it.de> wrote:
>Hello,
>i want to install self-hosted-engine with nfs storage on host and
>engine 
>uses this storage. i tried it but i dont know where to add the nfs 
>storage for data.  i first setup nfs server which is working, then
>added 
>the nfs export dir in host setup installation, than install engine and 
>dont add storage there. if i now want to add on system tab under
>storage 
>new data storage this nfs export i got the message, that the storage is
>
>in use by another domain. What is the right way to use local nfs
>storage 
>for engine?
You need a second storage domain and thus a second share in your exports file. 
Make sure the permissions are ok.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Shutdown Problems on oVirt Node

2016-03-15 Thread Joop
On 14-3-2016 10:43, Allon Mureinik wrote:
> Odd. Never seen such behavior in any of our set ups.
> Can you please include vdsm's logs, sanlock's logs and /var/log/messages?
>
I have noticed the same behaviour but not on server hardware but on my
workstations which I use as a ovirt test setup.
One would expect that a shutdown  on a host would shut it down cleanly
but the only way to get that is to run a small script that will take
care of:
- service ovirt-ha-agent/broker stop
- shutting down engine if it runs on this host
-  service vdsmd stop
- service sanlock stop (takes quite a bit of time (~2min?))
- umount whatever is needed
- service nfs stop
- shutdown

This will poweroff my host which normally runs my hosted-engine
everytime. Sanlock seems to be indirectly the problem. wdmd(?) (watchdog
daemon) seems able to keep the host from powering off, most of the time
it will result in a reboot, or hanging at 'powering off'

I spend quite a bit of time looking into logs but have not been able to
find anything conclusive, could be my problem not knowing which log to
look at or to dig up enough info to find the root cause.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Update Self-Hosted-Engine - Right Way?

2016-03-06 Thread Joop
On 4-3-2016 23:48, Taste-Of-IT wrote:
> Hello,
> sorry that i repeat it, but i dont have the command hosted-engine...
> Is it possible that we talk about different kind of installations?
> Please check yours because i only have the self-hosted engine installed.
Are you talking about the all-in-one setup?

Please list the ovirt packages on both the VM and the host.
(rp -aq | grep ovirt | sort)

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Getting qcow images into oVirt

2016-02-08 Thread Joop
On 8-2-2016 9:59, Barak Korren wrote:
> Hi there,
>
> We would like to consume pre-created QCOW images in oVirt/RHEV.
>
> So far it seems that the only way to do that would be to store the
> images in a Glance server which will require us to maintain such
> server.
> Trying to put the image in an ISO domain made in show up as a useless
> "unkonwn" file type in engine.
>
> Is there any other way to get the images into oVirt?
>
Maybe this will help you?:
https://jonarcher.info/2014/02/import-regular-kvm-image-ovirt-rhev/

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Startup VM after host reboot

2016-02-06 Thread Joop van de Wege
On February 6, 2016 11:00:41 PM CET, gregor <gregor_fo...@catrix.at> wrote:
>Hi,
>
>I use oVirt all-in-one 3.6, is there a setting to automatically start
>selected VM's when the host has rebooted? This can happen on power
>failure when the UPS is running to low.
No there isn't but you can script it using ovirt-shell or a python script.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] importing existing storage domain

2016-02-02 Thread Joop
On 2-2-2016 15:30, Charles Kozler wrote:
> I did read that but that doc doesnt seem to have any real actionable
> items. It seems more like a design spec rather than a walkthrough /
> README or HOWTO on how to recover from a backed up storage domain
>
> I tried 'An import screen for NFS Storage Domain' by doing the following :
>
> system -> "storage tab" -> import existing domain
>
> Below you can see the CLI of the backed up domain
>
> [root@node01 t]# ll
> total 4
> drwxr-xr-x. 5 vdsm kvm 4096 Dec  8 10:05
> c2ce3235-1e09-46b6-9dcd-3fffd6238879
> -rwxr-xr-x. 1 vdsm kvm0 Feb  1 23:14 __DIRECT_IO_TEST__
> [root@njsevcnp01 t]# du -sch ./* | grep G
> 29G./c2ce3235-1e09-46b6-9dcd-3fffd6238879
> 29Gtotal
>
>
> and this is the result I received (before/after) http://imgur.com/a/UvGmr 
>
What version of oVirt did create this storage domain? and what version
are you using to import it?
I have imported NFS storage domains multiple times and didn't have
problems. oVirt-3.5 or higher should be able to import a storage domain.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with data domain link after update to 3.6.2

2016-01-27 Thread Joop
On 27-1-2016 10:55, Gianluca Cecchi wrote:
> Hello,
> single physical host with oVirt 3.6.1 on CentOS 7.2
> Configured with SH Engine on NFS.
> Also NFS iso and NFS data domain present
> All 3 NFS are provided by host itself.
> 2 VMs with CentOS 7.2.
>
> Starting point has all ok in webadmin GUI, also the hosted_storage
> without exceptions.
>
> Updated to 3.6.2 following these steps:
> On host
> - global maintenance
>
> On engine VM
> - yum update "ovirt-engine-setup*"
> - engine-setup
>
> On host
> - exit maintenance
>
> Verified correct access to webadmin GUI again. From GUI
> - shutdown of the 2 powered on VMs
>
> On host
> - local maintenance
>
> Shutdown of engine VM
>
> On host
> yum update
> BTW: should I stop vdsmd before running update or not?
> reboot
> exit maintenance
>
> Verified access to webadmin GUI and all storage domains are shown as up.
> But when I try to power on one of the VMs I get this error:
>
> VM racclient1 is down with error. Exit message: Cannot access storage
> file
> '/rhev/data-center/0001-0001-0001-0001-00ec/556abaa8-0fcc-4042-963b-f27db5e03837/images/d2f2b967-c0c3-4648-9daa-553e8ef4652b/e0524893-1f78-4e6b-8e5e-83217bc0dc5b'
> (as uid:107, gid:107): No such file or directory.
>
> Indeed the file, that actually seems to be a symbolic link, doesn't exist
> On host:
> [root@ractor ~]# ll /rhev/data-center/0001-0001-0001-0001-00ec
> total 0
> lrwxrwxrwx. 1 vdsm kvm 99 Jan 27 07:31
> 2025c2ea-6205-4bc1-b29d-745b47f8f806 ->
> /rhev/data-center/mnt/ractor.datacenter.mydomain.dom:_SHE__DOMAIN/2025c2ea-6205-4bc1-b29d-745b47f8f806
> lrwxrwxrwx. 1 vdsm kvm 99 Jan 27 07:31
> fd5754f1-bd00-4337-ad64-1abde35438ae ->
> /rhev/data-center/mnt/ractor.datacenter.mydomain.dom:_ISO__DOMAIN/fd5754f1-bd00-4337-ad64-1abde35438ae
> lrwxrwxrwx. 1 vdsm kvm 99 Jan 27 07:31 mastersd ->
> /rhev/data-center/mnt/ractor.datacenter.mydomain.dom:_SHE__DOMAIN/2025c2ea-6205-4bc1-b29d-745b47f8f806
>
>
> [root@ractor ~]# ll /rhev/data-center/mnt/
> total 0
> drwxr-xr-x. 3 vdsm kvm 74 Nov 19 15:47
> ractor.datacenter.mydomain.dom:_ISO__DOMAIN
> drwxr-xr-x. 3 vdsm kvm 74 Nov 19 15:46
> ractor.datacenter.mydomain.dom:_NFS__DOMAIN
> drwxr-xr-x. 3 vdsm kvm 74 Nov 19 15:25
> ractor.datacenter.mydomain.dom:_SHE__DOMAIN
> drwxr-xr-x. 2 vdsm kvm  6 Nov 19 15:25
> _var_lib_ovirt-hosted-engine-setup_tmp8InOft
>
> [root@ractor ~]# ll
> /rhev/data-center/mnt/ractor.datacenter.mydomain.dom\:_NFS__DOMAIN/556abaa8-0fcc-4042-963b-f27db5e03837/
> total 4
> drwxr-xr-x.  2 vdsm kvm   69 Nov 19 15:46 dom_md
> drwxr-xr-x. 10 vdsm kvm 4096 Dec  4 00:23 images
> drwxr-xr-x.  4 vdsm kvm   28 Nov 19 15:47 master
>
> [root@ractor ~]# ll
> /rhev/data-center/mnt/ractor.datacenter.mydomain.dom\:_NFS__DOMAIN/556abaa8-0fcc-4042-963b-f27db5e03837/images/
> total 32
> drwxr-xr-x. 2 vdsm kvm 4096 Dec 10 15:45
> 3b641c29-5196-4b2f-b1a5-fb31f8064780
> drwxr-xr-x. 2 vdsm kvm 4096 Dec  1 12:06
> 7d5dd44f-f5d1-4984-9e76-2b2f5e42a915
> drwxr-xr-x. 2 vdsm kvm 4096 Nov 25 16:34
> 83799ab5-055f-445c-8b6c-496d19bce921
> drwxr-xr-x. 2 vdsm kvm 4096 Nov 29 17:44
> 9a3fcdf7-75f4-4605-ba34-665dae9a4e0d
> drwxr-xr-x. 2 vdsm kvm 4096 Dec  4 00:19
> ba11e44c-7cf5-4ef1-a9cd-0a6630bda801
> drwxr-xr-x. 2 vdsm kvm 4096 Dec  4 00:22
> d2f2b967-c0c3-4648-9daa-553e8ef4652b
> drwxr-xr-x. 2 vdsm kvm 4096 Dec 10 15:45
> d49f6096-96a2-4ef2-926a-a54a8246d303
> drwxr-xr-x. 2 vdsm kvm 4096 Dec  4 00:24
> d9d2cd3f-0b1c-4e04-bd6a-1ffafc723344
>
> [root@ractor ~]# ll
> /rhev/data-center/mnt/ractor.datacenter.mydomain.dom\:_NFS__DOMAIN/556abaa8-0fcc-4042-963b-f27db5e03837/images/d2f2b967-c0c3-4648-9daa-553e8ef4652b/
> total 3338720
> -rw-rw. 1 vdsm kvm 8589934592 Jan 27 06:57
> e0524893-1f78-4e6b-8e5e-83217bc0dc5b
> -rw-rw. 1 vdsm kvm1048576 Dec  4 00:21
> e0524893-1f78-4e6b-8e5e-83217bc0dc5b.lease
> -rw-r--r--. 1 vdsm kvm259 Dec  4 00:22
> e0524893-1f78-4e6b-8e5e-83217bc0dc5b.meta
>
> Is this problem already known? Should it be sufficent to only create
> the symbolic link? What process/service is in charge to create the link?
>
>
I have that problem too once in a while. Restarting vdsmd will solve
your problem BUT its because vdsmd is active before your NFS is up. A
fix is to require nfs in the vdsmd service unit.

Regards,

Joop



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] oVirt goes to FOSDEM 2016 - the full scoop!

2016-01-13 Thread Joop
On 13-1-2016 18:02, Doron Fediuck wrote:
> In the past we had Joop coming with his cool setup.
> We used it in the booth to demo live migration.
>
Is that an invitation to come and bring my stuff :-)

> Does anyone wish to do the same this year?
I won't mind if someone else brings some stuff to demo but in case not
I'll if someone else can arrange for a monitor that would be cool.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 3.6 and gluster arbiter volumes?

2016-01-07 Thread Joop
On 25-12-2015 5:26, Arik Mitschang wrote:
> Hi ovirt-users,
>
> I have been working on a new install of ovirt 3.6 hosted-engine and ran
> into difficulty adding a gluster data storage domain to host my VMs. I
> have 4 servers for gluster (separate from vm hosts) and would like to
> have the quorum enforcement of replica 3 without sacrificing space. I
> created a gluster using
>
>  replica 3 arbiter 1
>
> That looks like this:
>
>  Volume Name: arbtest
>  Type: Distributed-Replicate
>  Volume ID: 01b36368-1f37-435c-9f48-0442e0c34160
>  Status: Stopped
>  Number of Bricks: 2 x 3 = 6
>  Transport-type: tcp
>  Bricks:
>  Brick1: t2-gluster01b:/gluster/00/arbtest
>  Brick2: t2-gluster02b:/gluster/00/arbtest
>  Brick3: t2-gluster03b:/gluster/00/arbtest.arb
>  Brick4: t2-gluster03b:/gluster/00/arbtest
>  Brick5: t2-gluster04b:/gluster/00/arbtest
>  Brick6: t2-gluster01b:/gluster/00/arbtest.arb
>  Options Reconfigured:
>  nfs.disable: true
>  network.ping-timeout: 10
>  storage.owner-uid: 36
>  storage.owner-gid: 36
>  cluster.server-quorum-type: server
>  cluster.quorum-type: auto
>  network.remote-dio: enable
>  cluster.eager-lock: enable
>  performance.stat-prefetch: off
>  performance.io-cache: off
>  performance.read-ahead: off
>  performance.quick-read: off
>  performance.readdir-ahead: on
>
> But adding to gluster I get the following error:
>
>  "Error while executing action AddGlusterFsStorageDomain: Error creating
>  a storage domain's metadata"
>
>
Anything in engine.log (/var/log/ovirt-engine/engine.log) around that time?
Anything in vdsm.log on your 2 hypervisors around that time?
(Guessing that you'll see an error about replication unsupported by
vdsm, if so, have a look at /etc/vdsmd.conf.rpmnew)

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] host status "Non Operational" - how to diagnose & fix?

2016-01-05 Thread Joop
On 5-1-2016 4:46, Will Dennis wrote:
> I must admit I’m getting a bit weary of fighting oVirt problems at this 
> point… Before I move on to deploying any VMs onto my new infra, I’d like to 
> get the base infra working…
>
> I’m still experiencing a “Non Operational” problem on my “ovirt-node-02” host:
> http://s1096.photobucket.com/user/willdennis/media/ovirt-node-02_problem.png.html
>
>
What you can do to get the logs down to a minimum is to do the following:
- put node-02 in maintenance
- on the host which is down (node-02) cd /var/log/vdsm; :>vdsm.log (this
truncates the log)
- activate node-02
- if it goes to non-operational: cp vdsm.log vdsm.log.error

This will give you a much smaller log and maybe the error will be more
visible.
You could do this on the engine too:
- cd /var/log/ovirt-engine
- :>engine.log
- activate
- cp engine.log engine.log.error

Regards,

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-20 Thread Joop van de Wege
On December 20, 2015 8:50:06 PM CET, Will Dennis <wden...@nec-labs.com> wrote:
>OK, thanks to the assist from Joob, I did startup the engine VM, and
>took it out of maint mode… Then I went to my second oVirt host, and
>tried “hosted-engine —setup” again, and I’m still getting the error
>message “Failed to execute stage 'Environment customization': [Errno 2]
>No such file”
>
>Screen output of the “hosted-engine —setup” run:
>http://ur1.ca/ocr5u

Can you provide the corresponding log file? 
I suspect that the scp failed. Do you allow root login with password on your 
nodes.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-20 Thread Joop van de Wege
On December 20, 2015 5:19:43 AM CET, Will Dennis <wden...@nec-labs.com> wrote:
>OK, after all the t’shooting I could think to do, out of desperation I
>put the engine VM in maint mode, then rebooted the host. When it came
>up, I can now SSH into it normally (no long delay now.) I saw two state
>email changes come in after the reboot:
>
>- StartState-ReinitializeFSM
>- ReinitializeFSM-LocalMaintenance
>
>But the engine VM never started… Do I have to do something at the host
>(issue a command) to get the engine VM to start? (Sorry if I’m
>ignorant, an oVirt noob here…)
No problem, we were all once.

Run hosted-engine --set-maintenance -mode=none

After a couple of minutes you should get mail about engine events. 

Just curious.  What specs sre your host (s) and engine vm?

Regards, 

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot retrieve answer file from 1st HE host when setting up 2nd host

2015-12-19 Thread Joop
On 19-12-2015 3:42, Will Dennis wrote:
> The problem may be slowness of the SSH connection to the 1st host; ever since 
> I did the hosted engine setup on the 1st host and it created the ‘ovirtmgmt’ 
> bridge et al, it now for some reason takes a long time (~50 sec’s) to SSH 
> into the host…
> Example: (key exchange was first done from 2nd host to first host)
>
> [root@ovirt-node-02 ~]# time ssh root@ovirt-node-01 uptime
>  21:37:33 up 1 day, 10:43,  0 users,  load average: 0.14, 0.15, 0.14
>
> real0m50.185s
> user0m0.048s
> sys 0m0.006s
>
> So maybe because of that reason, the setup SCP session is timing out?? How 
> can I fix this?
> ___
>
Are you sure you're dns is setup correctly. It looks like that node01 is
looking up or reverse looking up node02 and that can take a long time if
dns isn't working properly.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Regression in Gluster volume code?

2015-12-16 Thread Joop
On 15-12-2015 12:31, Sahina Bose wrote:
>
>
> On 12/15/2015 03:26 PM, Joop wrote:
>> On 14-12-2015 12:00, Joop wrote:
>>> I have reinstalled my test environment have come across an old error,
>>> see BZ 988299, Bad volume specification {u'index': 0,.
>>>
>>> At the end of that BZ there is mentioning of a problem with '_' in the
>>> name of the volume and a patch is mentioned but the code has since been
>>> change quite a bit and I can't find if that still applies. It look like
>>> it doesn't because I have a gluster volume with the name
>>> gv_ovirt_data01
>>> and it look like it gets translated to gv__ovirt__data01 and then I
>>> can't start any VMs :-(
>>> Weird thing, I CAN import VMs from the export domain to this gluster
>>> domain.
>>>
>> I have just done the following on 2 servers which also hold the volumes
>> with '_' in it:
>>
>> mkdir -p /gluster/br-ovirt-data02
>>
>> ssm -f create -p vg_`hostname -s` --size 10G --name lv-ovirt-data02
>> --fstype xfs /gluster/br-ovirt-data02
>>
>> echo /dev/mapper/vg_`hostname -s`-lv-ovirt-data02
>> /gluster/br-ovirt-data02xfs defaults1 2 >>/etc/fstab
>>
>> semanage fcontext -a -t glusterd_brick_t /gluster/br-ovirt-data02
>>
>> restorecon -Rv /gluster/br-ovirt-data02
>>
>> mkdir /gluster/br-ovirt-data02/gl-ovirt-data02
>>
>> chown -R 36:36 /gluster/
>>
>> Added a replicated volume on top of the above, started it, added a
>> Storage Domain using that volume, moved a disk to it, and started the
>> VM, works! :-)
>>
>> Should I open a BZ or does someone know of an existing one?
>
> Could you open one?
>
I tried but it looks like the email from BZ isn't arriving at my mailbox :-(
I had to renew my password and haven't gotten the link, yet. Creating a
new account with a different email domain didn't work either so I'm
gonna summarize what I did today.

It looks like that something goes wrong in
vdsm/storage/glusterVolume.py. Volname in  getVmVolumeInfo ends up with
a volumename with double underscores in it, then
svdsmProxy.glusterVolumeInfo is called which in the end calls a cli
script, by supervdsmd, which returns an empty xml document because there
is no such volume with double underscores. Running the command which is
logged in supervdsm.log confirms this too. Reducing the volname to have
only single underscores returns a correct xml object.
My guess is that this: rpath =
sdCache.produce(self.sdUUID).getRemotePath() probably should return what
the real name is that has been used to connect to the storage. In my case:
Real path entered during setup: st01:gv_ovirt_data01
What's used: st01:gv__ovirt__data01
Just doing a 's/__/_/' is a bit shortsighted but would work for me since
I don't use '/' when entering the storage connection above (My
perception is that if you want the NFS export of gluster you use the /
else if you want the glusterfs protocol you don't. There is a line of
code in vdsm which replaces one underscore with two AND replaces a /
with an underscore, going back is ofcourse then impossible if you don't
store the original).

I hope one of the devs is willing to create the BZ with this info and I
hope has a solution to this problem.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Regression in Gluster volume code?

2015-12-15 Thread Joop
On 15-12-2015 12:31, Sahina Bose wrote:
>
>
> On 12/15/2015 03:26 PM, Joop wrote:
>> On 14-12-2015 12:00, Joop wrote:
>>> I have reinstalled my test environment have come across an old error,
>>> see BZ 988299, Bad volume specification {u'index': 0,.
>>>
>>> At the end of that BZ there is mentioning of a problem with '_' in the
>>> name of the volume and a patch is mentioned but the code has since been
>>> change quite a bit and I can't find if that still applies. It look like
>>> it doesn't because I have a gluster volume with the name
>>> gv_ovirt_data01
>>> and it look like it gets translated to gv__ovirt__data01 and then I
>>> can't start any VMs :-(
>>> Weird thing, I CAN import VMs from the export domain to this gluster
>>> domain.
>>>
>> I have just done the following on 2 servers which also hold the volumes
>> with '_' in it:
>>
>> mkdir -p /gluster/br-ovirt-data02
>>
>> ssm -f create -p vg_`hostname -s` --size 10G --name lv-ovirt-data02
>> --fstype xfs /gluster/br-ovirt-data02
>>
>> echo /dev/mapper/vg_`hostname -s`-lv-ovirt-data02
>> /gluster/br-ovirt-data02xfs defaults1 2 >>/etc/fstab
>>
>> semanage fcontext -a -t glusterd_brick_t /gluster/br-ovirt-data02
>>
>> restorecon -Rv /gluster/br-ovirt-data02
>>
>> mkdir /gluster/br-ovirt-data02/gl-ovirt-data02
>>
>> chown -R 36:36 /gluster/
>>
>> Added a replicated volume on top of the above, started it, added a
>> Storage Domain using that volume, moved a disk to it, and started the
>> VM, works! :-)
>>
>> Should I open a BZ or does someone know of an existing one?
>
> Could you open one?
I'll. Thanks.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Regression in Gluster volume code?

2015-12-15 Thread Joop
On 14-12-2015 12:00, Joop wrote:
> I have reinstalled my test environment have come across an old error,
> see BZ 988299, Bad volume specification {u'index': 0,.
>
> At the end of that BZ there is mentioning of a problem with '_' in the
> name of the volume and a patch is mentioned but the code has since been
> change quite a bit and I can't find if that still applies. It look like
> it doesn't because I have a gluster volume with the name gv_ovirt_data01
> and it look like it gets translated to gv__ovirt__data01 and then I
> can't start any VMs :-(
> Weird thing, I CAN import VMs from the export domain to this gluster domain.
>
I have just done the following on 2 servers which also hold the volumes
with '_' in it:

mkdir -p /gluster/br-ovirt-data02

ssm -f create -p vg_`hostname -s` --size 10G --name lv-ovirt-data02 --fstype 
xfs /gluster/br-ovirt-data02

echo /dev/mapper/vg_`hostname -s`-lv-ovirt-data02 
/gluster/br-ovirt-data02xfs defaults1 2 >>/etc/fstab

semanage fcontext -a -t glusterd_brick_t /gluster/br-ovirt-data02

restorecon -Rv /gluster/br-ovirt-data02

mkdir /gluster/br-ovirt-data02/gl-ovirt-data02

chown -R 36:36 /gluster/

Added a replicated volume on top of the above, started it, added a
Storage Domain using that volume, moved a disk to it, and started the
VM, works! :-)

Should I open a BZ or does someone know of an existing one?

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] left panel has disappeared

2015-12-15 Thread Joop
On 15-12-2015 10:36, Nathanaël Blanchet wrote:
> rather something like that :)
(image with no System tree deleted)

Oops, thats is something different than I thought. Ofcourse you tried:
- different browser
- cleaning broswer cache

Other than that :-\

Joop

PS:
Adding ML, sorry about that.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Regression in Gluster volume code?

2015-12-14 Thread Joop
I have reinstalled my test environment have come across an old error,
see BZ 988299, Bad volume specification {u'index': 0,.

At the end of that BZ there is mentioning of a problem with '_' in the
name of the volume and a patch is mentioned but the code has since been
change quite a bit and I can't find if that still applies. It look like
it doesn't because I have a gluster volume with the name gv_ovirt_data01
and it look like it gets translated to gv__ovirt__data01 and then I
can't start any VMs :-(
Weird thing, I CAN import VMs from the export domain to this gluster domain.

Regards,

Joop


JsonRpc (StompReactor)::DEBUG::2015-12-14 
11:55:26,487::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling 
message 
JsonRpcServer::DEBUG::2015-12-14 
11:55:26,488::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting 
for request
Thread-1285::DEBUG::2015-12-14 
11:55:26,491::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
JsonRpc (StompReactor)::DEBUG::2015-12-14 
11:55:29,499::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling 
message 
JsonRpcServer::DEBUG::2015-12-14 
11:55:29,501::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting 
for request
Thread-1286::DEBUG::2015-12-14 
11:55:29,504::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
JsonRpc (StompReactor)::DEBUG::2015-12-14 
11:55:32,512::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling 
message 
JsonRpcServer::DEBUG::2015-12-14 
11:55:32,514::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting 
for request
Thread-1287::DEBUG::2015-12-14 
11:55:32,517::task::592::Storage.TaskManager.Task::(_updateState) 
Task=`79726805-eec0-4719-b758-51749f067295`::moving from state init -> state 
preparing
Thread-1287::INFO::2015-12-14 11:55:32,517::logUtils::48::dispatcher::(wrapper) 
Run and protect: repoStats(options=None)
Thread-1287::INFO::2015-12-14 11:55:32,518::logUtils::51::dispatcher::(wrapper) 
Run and protect: repoStats, Return response: 
{u'f7453ce7-3aca-4ee3-98c3-827ce3e001d6': {'code': 0, 'version': 3, 'acquired': 
True, 'delay': '0.000659959', 'lastCheck': '6.5', 'valid': True}, 
u'4b083e6a-d588-4735-bf50-833033c24e6b': {'code': 0, 'version': 0, 'acquired': 
True, 'delay': '0.000797126', 'lastCheck': '6.5', 'valid': True}, 
u'6d00b190-a3a8-4e75-b718-4ba680d7a228': {'code': 0, 'version': 0, 'acquired': 
True, 'delay': '0.000403222', 'lastCheck': '6.7', 'valid': True}}
Thread-1287::DEBUG::2015-12-14 
11:55:32,518::task::1188::Storage.TaskManager.Task::(prepare) 
Task=`79726805-eec0-4719-b758-51749f067295`::finished: 
{u'f7453ce7-3aca-4ee3-98c3-827ce3e001d6': {'code': 0, 'version': 3, 'acquired': 
True, 'delay': '0.000659959', 'lastCheck': '6.5', 'valid': True}, 
u'4b083e6a-d588-4735-bf50-833033c24e6b': {'code': 0, 'version': 0, 'acquired': 
True, 'delay': '0.000797126', 'lastCheck': '6.5', 'valid': True}, 
u'6d00b190-a3a8-4e75-b718-4ba680d7a228': {'code': 0, 'version': 0, 'acquired': 
True, 'delay': '0.000403222', 'lastCheck': '6.7', 'valid': True}}
Thread-1287::DEBUG::2015-12-14 
11:55:32,518::task::592::Storage.TaskManager.Task::(_updateState) 
Task=`79726805-eec0-4719-b758-51749f067295`::moving from state preparing -> 
state finished
Thread-1287::DEBUG::2015-12-14 
11:55:32,518::resourceManager::940::Storage.ResourceManager.Owner::(releaseAll) 
Owner.releaseAll requests {} resources {}
Thread-1287::DEBUG::2015-12-14 
11:55:32,518::resourceManager::977::Storage.ResourceManager.Owner::(cancelAll) 
Owner.cancelAll requests {}
Thread-1287::DEBUG::2015-12-14 
11:55:32,519::task::990::Storage.TaskManager.Task::(_decref) 
Task=`79726805-eec0-4719-b758-51749f067295`::ref 0 aborting False
Thread-1287::DEBUG::2015-12-14 
11:55:32,521::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
JsonRpc (StompReactor)::DEBUG::2015-12-14 
11:55:32,537::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling 
message 
JsonRpcServer::DEBUG::2015-12-14 
11:55:32,539::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting 
for request
Thread-1288::DEBUG::2015-12-14 
11:55:32,541::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
JsonRpc (StompReactor)::DEBUG::2015-12-14 
11:55:35,596::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling 
message 
JsonRpcServer::DEBUG::2015-12-14 
11:55:35,598::__init__::506::jsonrpc.JsonRpcServer::(serve_requests) Waiting 
for request
Thread-1289::DEBUG::2015-12-14 
11:55:35,600::stompReactor::163::yajsonrpc.StompServer::(send) Sending response
ioprocess communication (15961)::DEBUG::2015-12-14 
11:55:35,830::__init__::411::IOProcess::(_processLogs) Queuing request 
(slotsLeft=20)
ioprocess communication (15961)::DEBUG::2015-12-14 
11:55:35,831::__init__::411::IOProcess::(_processLogs) (531) Start request for 
method 'statvfs' (waitTime=54)
ioprocess communication (15961)::DEBUG::2015-12-14 
11:55:35,831::__init__::411::IOProcess::(_processLogs) (531) Finished request 
for method 's

Re: [ovirt-users] FW: Engine upgrade error

2015-12-04 Thread Joop
On 4-12-2015 11:10, Frank Rothenstein wrote:
> Any hints how to question yum or rpm? Maybe I just test-run yum
> reinstall "ovirt-engine-setup*"  - It should then reinstall all
> packages I hit with the former install, shouldn't it?
Check /var/log/yum.log or use 'yum history' command and its sub
commands, e.g. yum history info XX

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Setting up oVirt for the first time

2015-12-04 Thread Joop
On 1-12-2015 22:59, Gervais de Montbrun wrote:
> Is it possible to setup the hypervisor hosts themselves as NFS servers
> to create Storage (I realize that this will play havoc with the HA).
> We do have an NFS server that we will be upgrading to add storage and
> faster drives, but I was thinking that I may be able to use the
> internal storage of the hypervisors themselves as a short term stopgap
> and then migrate vm's to the upgraded NFS server later. Will that even
> work, or will it break somehow?
As Nir pointed out its possible.
I'm using such a setup at home where a NAS provides NFS storage for
hosted-engine and also iso/export/data domains for VMs. Besides that I
have an NFS server on my host for VMs which need a bit of disk
throughput, its got a nice SSD in it. Moving VM disks from the SSD
storage domain to the 'slow' storage domain on the NAS and vice versa
works fine.
Problem with these kind of setups is redundancy which is ofcourse
non-existant :-)

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS Domain with 1GB limit

2015-12-03 Thread Joop
On 3-12-2015 14:41, kont...@taste-of-it.de wrote:
> Hi,
>
> yes its an iso domain and yes i can only create a data domain. but the
> question is why it is limited to 1gb? and why i cant changed it? what
> are the reasons for that?
Just guessing towards your env but what does df -h /var or df -h
/var/lib say?

Joop



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted-engine 3.6RC

2015-11-02 Thread Joop
On 2-11-2015 11:17, Simone Tiraboschi wrote:
>
>
> On Mon, Nov 2, 2015 at 10:57 AM, noc <n...@nieuwland.nl
> <mailto:n...@nieuwland.nl>> wrote:
>
> Hi All,
>
> I have tried to get a hosted-engine-3.6RC for quite some time now and
> everytime I run into the same problem: sanlock error 22.
> (as do more people on this list)
>
>
>
> Sorry, but where you got it from?
You probably mean the sanlock error.
After installing hosted-engine, which is not a problem, I got to the
webui and import the hosted-engine Storage, that is OK too, then I try
to activate it and thats where I get the sanlock error.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted-engine 3.6RC

2015-11-02 Thread Joop
On 2-11-2015 11:18, Gianluca Cecchi wrote:
> On Mon, Nov 2, 2015 at 10:57 AM, noc <n...@nieuwland.nl
> <mailto:n...@nieuwland.nl>> wrote:
>
>
> Anything else I can provide let me know please.
>
>     Regards,
>
> Joop
>
>
> Hi Joop,
> are you able to access the engine console after deploy, using the command
I have done that in the past but that was 3.5.x.
I generally don't need vnc access to the engine since ssh works fine.
Whats your use case?

>
> hosted-engine --add-console-password=
>
> ? 
> Have you configured engine VM with spice or vnc?
>
VNC

> BTW: is there a way from command line to change console for the sh
> engine after deploy?
>
Probably is but the vm.conf has been moved to the storage domain but
don't know where, Simone??

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted-engine 3.6RC

2015-11-02 Thread Joop
On 2-11-2015 13:23, Simone Tiraboschi wrote:
>
>
> On Mon, Nov 2, 2015 at 11:41 AM, Joop <jvdw...@xs4all.nl
> <mailto:jvdw...@xs4all.nl>> wrote:
>
> On 2-11-2015 11:18, Gianluca Cecchi wrote:
>> On Mon, Nov 2, 2015 at 10:57 AM, noc <n...@nieuwland.nl
>> <mailto:n...@nieuwland.nl>> wrote:
>>
>>
>> Anything else I can provide let me know please.
>>
>> Regards,
>>
>> Joop
>>
>>
>> Hi Joop,
>> are you able to access the engine console after deploy, using the
>> command
> I have done that in the past but that was 3.5.x.
> I generally don't need vnc access to the engine since ssh works fine.
> Whats your use case?
>
>>
>> hosted-engine --add-console-password=
>>
>> ? 
>> Have you configured engine VM with spice or vnc?
>>
> VNC
>
>> BTW: is there a way from command line to change console for the
>> sh engine after deploy?
>>
> Probably is but the vm.conf has been moved to the storage domain
> but don't know where, Simone??
>
>
> Yes, when we solved the auto-import of the hosted-engine storage
> domain issue (including the sanlock issue) you will able to edit the
> engine VM from the engine itself as for regular VMs.
>  
>
Got a BZ id that tracks this?

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 3.6 and self hosted engine: clarification on datacenter input

2015-10-29 Thread Joop
On 28-10-2015 17:00, Gianluca Cecchi wrote:
> On Wed, Oct 28, 2015 at 4:10 PM, Simone Tiraboschi
> <stira...@redhat.com <mailto:stira...@redhat.com>> wrote:
>
>
>
> It's not a regression cause the hosted-engine storage domain
> wasn't neither visible in 3.5.
> Once again, also if you see it in the engine you cannot use it for
> anything apart from the engine VM itself, you still have to add
> another storage domain for regular VMs.
>  
>
>
> understood. But I'm also not able to connect to the sh engine VM
> itself via spice, so in case of problems with the engine, you are not
> able to connect to it via web admin (that is ok), but I don't see any
> way to understand its state to be able to debug/resolve problems...
>
> Are there any command line commands to run to see status of sh engine VM?
>
> Joop, are you able to access your sh engine console? Is it vnc or spice?
>
>
I'll have time to try coming weekend/next week and let you know how it goes.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 3.6 and self hosted engine: clarification on datacenter input

2015-10-28 Thread Joop
On 28-10-2015 15:12, Gianluca Cecchi wrote:
> On Tue, Oct 27, 2015 at 5:06 PM, Simone Tiraboschi
> <stira...@redhat.com <mailto:stira...@redhat.com>> wrote:
>
>
>
> I don't understand the meaning of the sentence above:
>
>   Local storage datacenter name is an internal name
>   and currently will not be shown in engine's admin UI.
>
>
> It's just an internal label. I think we can just remove that
> question always using the default value and nothing will change.
>
>
> Probably better.
>  
>
>  
>
>
> How is the chosen "she_datacenter" name related with the
> "Default" datacenter where the hypervisor is put in? Do I have
> to manually create it (I don't see this se_datacenter in
> webadmin portal)?
>
> Also, I know there is open bug
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1269768
>
> But it seems I'm not able to to import the storage domain...
> In events, when I import, I have the sequence
>
> Storage Domain she_sdomain was added by admin@internal
> VDSM ovc71.localdomain.local command failed: Cannot acquire
> host id: (u'9f1ec45d-0c32-4bfc-8b67-372d6f204fd1',
> SanlockException(22, 'Sanlock lockspace add failure', 'Invalid
> argument'))
> Failed to attach Storage Domains to Data Center Default.
> (User: admin@internal)
> Failed to attach Storage Domain she_sdomain to Data Center
> Default. (User: admin@internal)
>
I have a hosted-engine installation on my laptop (F22) and have the
exact same error message about sanlock when activating the hosted-engine
storage domain.
Situation as follows:
- export a NFS share from local disk for hosted-engine vm
- export a NFS share from local disk for regular data domain
- export a NFS share from local disk for iso/export domain.
Hosted engine setup (Centos7) completes without problems, using the
webui works too, importing the hosted-engine storage domain is also OK
but then activating it gives the dreaded sanlock error.
Have started with a clean slate a couple of times but it happens
everytime. Regular ovirt-engine setup from  the same repository works fine.

Time permitting I'll do a clean slate install and make available all the
logs.

Joop
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Admin@internal inlog problems with clean install 3.6RC

2015-10-01 Thread Joop
On 1-10-2015 9:05, Martin Perina wrote:
> Hi,
>
> I have looked at the logs and everything seems fine:
>
> 1. 2015-09-30 09:31 you executed engine-setup and it finished successfully,
>according to logs password expiration date for admin@internal was set
>to 2215-08-13 13:36:53Z so that's correct.
>
>Were you able to login using admin@internal into webadmin afterwards?
No, got the account expired message

>
> 2. 2015-09-30 09:51 you executed engine-cleanup and it finished successfully
>
> 3. 2015-09-30 09:52 you executed engine-setup again and it again finished 
> successfully,
>according to logs password expiration date for admin@internal was set
>to 2215-08-13 13:36:53Z so that's correct.
>  
>Were you able to login using admin@internal into webadmin afterwards?
No, got the account expired message

>
> Did you use an answer file for engine-setup? If so could try new installation
> without it? 
>
No.

> Today I tried to install 3.6 RC1 again and on my Centos 7.1 everything worked 
> fine,
> I was able to login without any issues.
>
I'll cleanup the server and retry and let you know.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Admin@internal inlog problems with clean install 3.6RC

2015-09-30 Thread Joop
I just installed 3.6RC and got Cannot Login. User Account has expired,
Please contact your system administrator. in the webui. In engine.log I
see the following:

2015-09-30 09:59:52,150 INFO  [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] 
(default task-30) [] Can't login user 'admin' with authentication profile 
'internal' because the authentication failed.

2015-09-30 09:59:52,162 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-30) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, 
Message: The account for admin got expired. Please contact the system 
administrator.

2015-09-30 09:59:52,171 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-30) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, 
Message: User admin@internal failed to log in.

2015-09-30 09:59:52,171 WARN  
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-30) [] 
CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: 
USER_ACCOUNT_EXPIRED

Using ovirt-aaa-jdbc-tool user password-reset admin
--password-valid-to="2025-08-15 10:30:00Z" to set a new password doesn't
help, restarting ovirt-engine doesn't work either.

List of installed ovirt packages:
ebay-cors-filter-1.0.1-0.1.ovirt.el7.noarch
ovirt-engine-3.6.0-1.el7.centos.noarch
ovirt-engine-backend-3.6.0-1.el7.centos.noarch
ovirt-engine-cli-3.6.0.1-1.el7.centos.noarch
ovirt-engine-dbscripts-3.6.0-1.el7.centos.noarch
ovirt-engine-extension-aaa-jdbc-1.0.0-0.0.master.20150923074852.git46a67c9.el7.noarch
ovirt-engine-extensions-api-impl-3.6.0-1.el7.centos.noarch
ovirt-engine-lib-3.6.0-1.el7.centos.noarch
ovirt-engine-restapi-3.6.0-1.el7.centos.noarch
ovirt-engine-sdk-python-3.6.0.2-1.el7.centos.noarch
ovirt-engine-setup-3.6.0-1.el7.centos.noarch
ovirt-engine-setup-base-3.6.0-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.0-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.0-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.0-1.el7.centos.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.0-1.el7.centos.noarch
ovirt-engine-tools-3.6.0-1.el7.centos.noarch
ovirt-engine-userportal-3.6.0-1.el7.centos.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.0-1.el7.centos.noarch
ovirt-engine-webadmin-portal-3.6.0-1.el7.centos.noarch
ovirt-engine-websocket-proxy-3.6.0-1.el7.centos.noarch
ovirt-engine-wildfly-8.2.0-1.el7.x86_64
ovirt-engine-wildfly-overlay-001-2.el7.noarch
ovirt-host-deploy-1.4.0-0.0.master.20150806005708.git670e9c8.el7.noarch
ovirt-host-deploy-java-1.4.0-0.0.master.20150806005708.git670e9c8.el7.noarch
ovirt-image-uploader-3.6.0-1.el7.centos.noarch
ovirt-iso-uploader-3.6.0-1.el7.centos.noarch
ovirt-release36-001-0.5.beta.noarch
ovirt-vmconsole-1.0.0-0.0.master.20150821105434.gite14b2f0.el7.noarch
ovirt-vmconsole-proxy-1.0.0-0.0.master.20150821105434.gite14b2f0.el7.noarch

There is a BZ about this but I would expect it to be in this RC release
since its almost 3wks old.

Anything else I can check?

Thanks,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disappearing vm.conf

2015-09-29 Thread Joop
On 15-9-2015 16:17, noc wrote:
>
>
> So what is the sanlock error about?
Upgrade to the latest version of 3.6RC and still having the sanlock error.
Cleaned up the install by cleaning the nfs shares. Reinstalling goes OK,
importing the hosted_engine storage work upto the point that its NOT
attached. Attaching it gives the above mentioned sanlock error.
Will start it later on and move logs to my main machine and I'm able to
conduct more tests tomorrow (20-9, GMT+2).

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hyper-V in a guest

2015-09-26 Thread Joop van de Wege
On September 26, 2015 4:26:22 AM CEST, Alan Murrell <li...@murrell.ca> wrote:
>Hello,
>
>I am running oVirt 3.5.3.1.  I am trying to setup a virtual lab to  
>emulate a client's environment to do some testing.  They are running a 
>
>Hyper-V environment.
>
>I created a Microsoft Server 2008R2 guest.  When I tried to install  
>the Hyper-V role, the system said that I needed to have hardware  
>virtualization support enabled in the BIOS.

You will need vdsm-nestedvt installed on all your hosts. It will pass through 
the vtx vtd bits from the hypervisor to the guest. 
You will need a relatively new kernel for this. Centos7 or Centos6+elrepo 3x 
kernel or Fedora.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Long export?

2015-09-21 Thread Joop van de Wege
On September 22, 2015 12:58:32 AM CEST, Michael Kleinpaste 
<michael.kleinpa...@sharperlending.com> wrote:
>I'm exporting a VM as part of testing backing up VMs and this 75GB VM
>has
>been exporting for 3+ hours.  The storage is running gluster on 10GbE
>so
>bandwidth isn't the issue.  Importing these VMs from the same export
>took
>roughly 10 minutes.  But I'm not seeing any errors.  The only thing in
>the
>engine.log is:
>
>/var/log/ovirt-engine/engine.log:2015-09-21 13:16:14,459 INFO
>[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>(org.ovirt.thread.pool-8-thread-6) [3ab846b4] Correlation ID: 1db67021,
>Job
>ID: b348e823-fb6a-42b8-8561-8ab6047a27c7, Call Stack: null, Custom
>Event
>ID: -1, Message: Starting export Vm asdf to export
>
>Is there a way to kill the export?
Find the qemu-image process on the spm and kill it.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Storage and ISO Domain and Engine VM

2015-09-17 Thread Joop
On 16-9-2015 15:44, Richard Neuboeck wrote:
> There is one obvious error in the web UI that I've overlooked so > far. 
> 'Events' lists the following: > > 'The Hosted Engine Storage
Domain doesn't no exist. It should be > imported into the setup.' > >
Except finding the github link to the source code googling didn't >
reveal any hints on what to do to remedy this problem. > >
Go to the Storage tab and Import Domain, fill in the required fields and
path to your hosted-engine storage domain. Things should proceed from
there, I hope.
This info is somewhere on the wiki in the beta releasenotes.

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disappearing vm.conf

2015-09-14 Thread Joop
On 14-9-2015 9:17, Simone Tiraboschi wrote:
>
>
> On Mon, Sep 14, 2015 at 9:02 AM, Sandro Bonazzola <sbona...@redhat.com
> <mailto:sbona...@redhat.com>> wrote:
>
>
>
> On Mon, Sep 14, 2015 at 8:45 AM, noc <n...@nieuwland.nl
> <mailto:n...@nieuwland.nl>> wrote:
>
> Hi All,
>
> I'm reinstalling hosted-engine on my F22 laptop and I'm making
> progress.
> With beta3 I couldn't get it installed, with beta5 it
> installed and I
> could go into the webui but I had to shutdown my laptop and
> get some
> sleep :-)
> Next morning the hosted-engine didn't start. Running
> 'hosted-engine
> --vm-status' tells me I need to deploy first. Looks like its a
> virgin
> system. Looking at what hosted-engine does I found out that
> /var/run/ovirt-hosted-engine-ha/vm.conf is missing. In another
> thread
> its mentioned that it now lives on the storage domain but I
> couldn't
> find it there, nothing resembles it.
> Question is: how did engine get started and why is that
> vm.conf now missing.
>
>
> vm.conf moved to shared storage as part
> of 
> http://www.ovirt.org/Features/Hosted_Engine_configuration_on_shared_storage
> I guess you hit a bug in this area, adding Simone.
>
>
> What kind of hared storage are you using?
NFSv3
> Could you please attach logs from /var/log/ovirt-hosted-engine-ha/
Yes, later today.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Trying hosted-engine on ovirt-3.6 beta

2015-08-28 Thread Joop
Hi All,

I have been trying the above and keep getting an error at the end about
unable to write to HEConfImage, see attached log.

Host is Fedora22 (clean system), engine is Centos-7.1, followed the
readme from the 3.6beta release notes but in short:
- setup a nfs server on the fedora22 host
- exported /nfs/ovirt-he/data
- installed yum, installed the 3.6 beta repo
- installed hosted engine
- ran setup
- installed centos7.1, ran engine-setup

Tried with and without selinux/iptables/firewalld.

Regards,

Joop





ovirt-hosted-engine-setup-20150828162548-z5m9zc.log.gz
Description: application/gzip
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ATN] LDAP Users please read

2015-08-06 Thread Joop
Hi Alon,

I'll take the bait :-)

I have just installed the extension and the examples are there.
I also installed the migration tool. Now it comes.
We use Samba4 as our AD provider and have succesfully connected
Foreman-1.8 to it using the cert that I got from the server.
The same cert doesn't work with the migration tool. So either I'm
confused or .. The first possibility is most likely. I always trip over
certs and terminology.
Error I got:
[root@mgmt01 ~]# ovirt-engine-kerbldap-migration-tool --debug --domain
ad.nieuwland.nl --cacert ad02.pem
[INFO   ] tool: ovirt-engine-kerbldap-migration-1.0.2
(ovirt-engine-kerbldap-migration-1.0.2-1.el6ev)
[INFO   ] Connecting to database
[INFO   ] Sanity checks
[INFO   ] Loading options
[INFO   ] Using ldap URI: ldap://ad01.ad.nieuwland.nl:389
[ERROR  ] Conversion failed: {'info': TLS error -8172:Peer's
certificate issuer has been marked as not trusted by the user., 'desc':
'Connect error'}

And now...

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt and Gluster

2015-07-29 Thread Joop
On 29-7-2015 13:59, Jorick Astrego wrote:
 For RHEV I don't have an answer.

 But for anyone that cares, we've been running oVirt 3.5 and GlusterFS
 3.6 for about three months in production now. We run a Gluster cluster
 and a seperate virtualization hosts cluster. The Gluster cluster is
 installed, configured and managed seperately from oVirt as there is no
 way to have a seperate storage network in oVirt 3.5

I run something comparable but using a split dns to get a separate
storage network but also a storage cluster and virt cluster. The storage
is managed through ovirt though because of the split-dns.

 There have been no specific incompatibility issues, so we are very
 happy. But as we don't use every feature mileage may vary.
Question: do you use fuse mounts or libgfapi?

I use libgfapi in test, using special vdsm packages and need to test if
rebooting gluster nodes has an impact on running VMs. Select GlusterFS
storage domain in oVirt isn't guaranteed  to give you libgfapi!

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Dump Guest Memory

2015-07-23 Thread Joop
On 23-7-2015 9:12, Lionel Caignec wrote:
 Hi,

 i've recently migrate from a kvm farm to Ovirt, by the way : excellent 
 product.

 But i'm stuck on a little problem.
 I want to be able to dump a VM memory (forensic purpose) but i does not 
 manage to do it.

 With kvm i've used the commande : virsh dump VM out.dump, but with ovirt 
 virsh is in read only and unable to do the dump .
 I look vdsClient, but it does not seem able to do this job.

Search the list.  People have asked before how to get r/w access to
libvirt. There is a hacky way by adding a user and password and I think
there is a tool to just do that.
Had a quick google:
http://lists.ovirt.org/pipermail/users/2012-May/007735.html

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot run specific VM in one node

2015-07-16 Thread Joop
On 16-7-2015 14:20, Diego Remolina wrote:
 I have two virtualization/storage servers, ysmha01 and ysmha02 running
 Ovirt hosted engine on top of glusterfs storage. I have two Windows
 server vms called ysmad01 and ysmad02. The current problem is that
 ysmad02 will *not* start on ysmha02 any more.

I might have missed it but did you check for a split-brain situation
since you're using a 2-node gluster?

Regards,

Joop



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Lower CPU for specific VMs

2015-06-24 Thread Joop
On 24-6-2015 9:35, Ian Fraser wrote:
 Hi,

 How do I set the CPU for a particular VM to be a lower family than the 
 cluster is set to?

You'll need to write a vdsm-hook script which manipulates the xml that
is used to set a lower cpu.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to use the SPICE HTML5 tool

2015-06-11 Thread Joop
On 10-6-2015 19:04, Nicolás wrote:
 Hi,

 I'm using oVirt 3.5.2 on a CentOS box. As far as the engine goes
 everything is working fine, except that I can't start the SPICE HTML5
 tool for any of the installed machines I have.

 I've installed the oVirt guest agent on the VM side, websocket-proxy
 is running and port 6100 is listening on the engine box:

 # systemctl status ovirt-websocket-proxy
 ovirt-websocket-proxy.service - oVirt Engine websockets proxy
Loaded: loaded
 (/usr/lib/systemd/system/ovirt-websocket-proxy.service; enabled)
Active: active (running)

 # netstat -atpn | grep 6100
 tcp0  0 0.0.0.0:6100   
 0.0.0.0:*   LISTEN  7227/python

 Also, I imported the CA cert (https://fqdn/ca.crt) on the browser.
 However, once I run the SPICE HTML5 client from the userportal, all I
 get is an empty grey square with the two Send ctrl+alt+delete and
 Toggle messages output buttons at the bottom. Nothing in the logs
 about this issue. I tried to run it both with Chromium and Firefox on
 a linux box.

 Is there anything that I am missing? I've run out of ideas...

Did you enable port 6100 on the client side?. Try telnetting to the
websocket-proxy from the workstation you're using Chromium/FF on.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted-Engine OS Installation

2015-04-03 Thread Joop
On 3-4-2015 10:59, Jaicel wrote:
 Hi everyone,

 while i was installing the OS for the engine(VM), i got disconnected
 causing my window here i executed hosted-engine --deploy to be
 disconnected likewise. though the installation of OS didn't stop, i
 just want to know if there 
 is a way to regain the interface wherein i will complete the
 installation of OS and the engine? i may just repeat the VM
 deployment, but i may be disconnected again and i don't want to repeat
 the process especially if i would already be in the process of
 installing the engine.

Generate a new vnc password with hosted-engine (see hosted-engine
--help) that will let you install the engine OS but don't know if you
can resume the --deploy.
You could setup a vnc server and connect to it and then run
hosted-engine --deploy.


Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Newsletter Special Edition: Mid-March 2015

2015-03-20 Thread Joop
On 19-3-2015 16:00, Brian Proffitt wrote:
 It's a nice problem to have: it's been so busy in the oVirt community, we 
 have to push out a mid-month newsletter just to keep up!

 Monitor oVirt or libvirt with SNMP and Zabbix http://jensd.be/?p=491

Should be ?p=494 but most people will find it by looking at the main
index though :-)
He has loads more useful stuff.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM failed to start | Bad volume specification

2015-03-19 Thread Joop
Please keep it on the list.

On 19-3-2015 10:10, Punit Dambiwal wrote:
 Hi Joop,

 How i can check the split-brain or not ???i already reblance the
 storage nodes and also run the heal command for the consistency

gluster volume heal YourVolume info split-brain

Regards,

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM failed to start | Bad volume specification

2015-03-19 Thread Joop
On 19-3-2015 9:25, Punit Dambiwal wrote:
 Hi Michal,

 The Storage domain is up and running and mounted on all the host
 nodes...as i updated before that it was working perfectly before but
 just after reboot can not make the VM poweron...


Did you check if you're suffering from a split-brain situation?
My test setup sometimes does when not being careful when updating
glusterfs/ovirt.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM autostart

2015-03-17 Thread Joop
On 17-3-2015 5:30, lucas castro wrote:
 The hosted engine VM start automatically, but I'm talking about the
 others vms HA.
 I wait a day with the computer on and at any time, they haven't been
 started.

You should be able to script this using ovirt-shell, have a look at the
man page, think it was the -f option and then something like the
following in the file referenced by -f:

action vm srv01 start

action vm srv02 start

exit

Regards,

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] pfSense on oVirt

2015-02-09 Thread Joop
On 9-2-2015 8:10, Staffan Öhrberg wrote:
 Hi,
 We have migrated from ESXi 5 to oVirt 3.5. But now we don't get pfSense to 
 work in oVirt. Does anybody know how to configure the networks in oVirt in 
 order to install pfSense.

 In ESX we use vSwitches (and there was a detail tutorial how to do this in 
 pfSense manual), and everything works. But in oVirt, our only options seems 
 to be to create VLANs for WAN and LAN and attach them to a NIC. When we boot 
 pfSense we get no IP address for the WAN interface (we tried both static and 
 dhcp).

 So, what we are looking for is some kind of howtos of how to install pfSense 
 in oVirt.


Ping Yamakasi on IRC. He uses pfsense with oVirt.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] oVirt 3.6 Feature: Cumulative Network Usage Statistics

2015-02-01 Thread Joop
On 1-2-2015 10:21, Lior Vernia wrote:

 So the problem isn't grave (though I'll document those cases in the
 feature page), and the solution won't be trivial. Would you really want
 vdsm to track this data? And then engine would have to collect it before
 a VM is run or a vNIC is hot-plugged?...

Using Zabbix as a monitoring system instead of letting vdsm do it solves
most of not all of your problems. Zabbix does have a proxy daemon which
can buffer data when either hosts or vms go down and send that to the
main server as soon as the link is restored. Thins work OK as long as
the agent or proxy isn't down and should thus not be part of the cluster.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HostedEngine Deployment Woes

2015-01-05 Thread Joop
On 5-1-2015 9:09, Jiri Moskovcak wrote:
 On 01/02/2015 11:27 PM, Mikola Rose wrote:
 Hi Didi,

 Thank you for the response.

 I have tried to do a fresh install (RH 6.6) and still ran into the same
 problem.

 [root@pws-hv15 rhiso]# hosted-engine --deploy
 [ INFO  ] Stage: Initializing
  
Please specify the storage you would like to use (nfs3,
 nfs4)[nfs3]:
Please specify the full shared storage connection path to use
 (example: host:/path): 192.168.1.32:/Volumes/Raid1
Are you deploying hosted-engine on a Synology NAS?
If so what is your /etc/exports looking because if you got the wrong
options it won't work.
This one is from my test setup at home using a Synology NAS with
hosted-engine on it and as you can see also the data/export and iso domains.

/volume1/nfs/data  
x.y.z.0/24(rw,async,no_wdelay,root_squash,insecure_locks,sec=sys,anonuid=36,anongid=36)

/volume1/nfs/export
x.y.z.0/24(rw,async,no_wdelay,root_squash,insecure_locks,sec=sys,anonuid=36,anongid=36)

/volume1/nfs/iso   
x.y.z./0/24(rw,async,no_wdelay,root_squash,insecure_locks,sec=sys,anonuid=36,anongid=36)

/volume1/nfs_he
x.y.z.0/24(rw,async,no_wdelay,no_root_squash,insecure_locks,sec=sys,anonuid=1025,anongid=100)

Permissions on dirs/files on those shares are all 36:36, set from the
NAS side.

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Does Ovirt Support Nested VM?

2014-12-10 Thread Joop van de Wege
Xie, Chao xiec.f...@cn.fujitsu.com schreef op 11 december 2014 04:54:12 CET:
Hi, All
I build a Ovirt Environment and want to use a VM in the Ovirt as
Hypervisor. But it prompt “can’t be virtuliaze” .
But I remember CENTOS  support Nested VM and IMO the Ovirt should
support ,too.
Does Somesone know how to set?
Yes it does. Look for vdsm-nestedvt if I remember correctly. It's a vdsm hook 
you need to install on every host.

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Newly deployed ovirt instance can not start a VM

2014-12-06 Thread Joop van de Wege
Jeremy Utley jer...@ifuzioncorp.com schreef op 6 december 2014 00:21:22 CET:
Hello everyone!

I just finished setting up our new demo Ovirt implementation, but am
having
some issues once I get to the point of starting up a VM.  Every time we
try
to start a VM, we get the error:

The host {hostname} did not satisfy internal filter Network because
network(s) are missing.

Try looking at vdsm.log on the host where the vm is being started. You can 
force a host by using runonce and the host tab. Looking at engine.log migt also 
help

This is trying to launch vm with the Cirros image from the OVirt glance
repository.  This is confusing, because we only have one network
defined
(the ovirtmgmt network), and each of our 4 nodes shows it attached
and
indicated as functional.

Our nodes are all CentOS 6.6 installations, with the ovirtmgmt bridge
bound
to eth2.  If I go to Networks/ovirtmgmt under my datacenter, and click
on
the Networks tab at the top, select the ovirtmgmt network, and Hosts
tab at
the bottom, it shows that ovirtmgmt network is up on all 4 nodes.  Even
if
I tell the VM to not attach itself to any networks at all, the machine
fails to start with the same error.  Have done a lot of google
searching to
no avail.


We're also worried we did not get our gluster storage network set up
right.  We added the Storage Domain as type Data (Master)/GlusterFS,
but it
looks like Ovirt is using Fuse rather than the new libgfapi
functionality -
since we can see the gluster mounted /rhev/data-center/mnt/glusterSD/
with
fuse.glusterfs, which would indicate we are not using the native
Gluster
integration.  However, the latest info I can find seems to indicate
that
the gluster integration should be working in latest CentOS builds.
It should start working as soon as a patch is in mainline. It doesn't right now 
but it will if you use glusterfs as a data store.  There is a recent thread on 
the ML about it with me as OP.

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Status libgfapi support in oVirt

2014-11-23 Thread Joop
On 21-11-2014 23:25, Federico Simoncelli wrote:
 I updated the packages (rebasing on a newer master) and I provided an
 el7 build as well: https://fsimonce.fedorapeople.org/vdsm-libgfapi/
 These rpms are less tested than the previous ones but the rebase was
 straight forward. 
Testing will be done first thing mondag morning.

Thanks,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] separate ovirtmgmt from glusterfs traffic

2014-11-18 Thread Joop
On 18-11-2014 10:25, Juan Pablo Lorier wrote:
 Hi,

 In my experience, having ovirt traffic on the same nic that gluster
 can make your platafrom unstable. I was using it for large file
 storage and gluster has so big traffic that ovirt got confused and
 started marking hosts as unavailable because of hi latency.
 I've opened an RFE over a year ago, but had no luck with the team to
 get it done. In the RFE I was asking to have a way in the UI to decide
 which nic to use for gluster other than the MGMT net that is the one
 ovirt lets you use.
 There's another way to do this and it's from outside ovirt. There you
 have to unregister and re register the bricks using gluster console
 commands. This way, when you register the bricks, you can specify the
 IP address of the spare NIC and then the traffic will not interfere
 with the mgmt.
 There's a step that I don't recall much, but ovirt is going to need to
 know that the bricks are no longer is the mgmt IP, maybe someone else
 in the list can help with this. I can tell you that if you search the
 list you'll see my posts about this and the replys of those who helped
 my back then.
 Regards,

The way I split this is using a split-dns solutions, either with bind or
hosts files. This way engine sees the mgmt address and the gluster
servers see their storage address.

Regards,

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Status libgfapi support in oVirt

2014-11-17 Thread Joop
I have been trying to use libgfapi glusterfs support in oVirt but can't
get it to work. After talks on IRC it seems I should apply a patch
(http://gerrit.ovirt.org/33768) to enable libgf BUT I can't get it to
work. Systems used:
- hosts Centos7 or Fedora20 (so upto date qemu/libvirt/oVirt(3.5))
- glusterfs-3.6.1
- vdsm-4.16.0-524.gitbc618a4.el7.x86_64 (snapshot master 14-nov)
- vdsm-4.16.7-1.gitdb83943.el7.x86_64 (official ovirt-3.5 vdsm, seems
newer than master snapshot?? )

Just adding the patch to vdsm-4.16.7-1.gitdb83943.el7.x86_64 doesn't
work, vdsm doesn't start anymore due to an error in virt/vm.py.

Q1: what is de exact status of libgf and oVirt.
Q2: how do I test that patch?

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt-3.4.Z and maybe 3.5.Z too and Fedora20

2014-10-29 Thread Joop
FYI,

Just spend the better part of the day debugging a weird issue. Running
'yum update' on a CentOS-6.5 VM causes a kernel OOPS on the host :-(
The oops is in the nfs module (_put_nfs_open_context) and it looks like
there is work being done on it. Kernel(s) tried are all 3.16.x.
Switching back to the latest F19 kernel (is an updated system) and then
there is no crash anymore.

Tried all kinds of variations with different NFS servers, different
hosts, different kernels but I get the OOPS always during the yum update
sooner or later.
(updated ofcourse a lot of things before I hit this :-( )

Regards,

Joop


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Fwd: utostarting VMs after restart

2014-09-17 Thread Joop
On 17-9-2014 15:24, Grzegorz Szypa wrote:
 Hi. 

 Could you explain this:

  2. hosted engine scripts do autostart ovirt-engine VM in hosted engine
 setups

 I do not know how to do it.


 My scenerio is like this:
 1. hard restart physical machine (command reboot)
 2. after restart when all is run include ovirt-engine i would that my
 VMs starded automaticaly

It should already be possible to script this using ovirt-shell, see man
ovirt-shell or ovirt-shell -h

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


  1   2   3   >