Re: [ovirt-users] gluster VM disk permissions

2016-05-18 Thread Bill James

another data point.
Changing just owner to qemu doesn't help.
Changing just group to qemu does. VM starts fine after that.



On 05/18/2016 11:49 AM, Bill James wrote:

Some added info. This issue seems to be just like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk image also fixes the 
startup issue.

I'm using raw, not qcow images.


[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# qemu-img info 
253f9615-f111-45ca-bdce-cbc9e70406df

image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l 
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38 
253f9615-f111-45ca-bdce-cbc9e70406df


(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??



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


Re: [ovirt-users] 100% memory usage on desktop environments

2016-05-18 Thread Gianluca Cecchi
On Wed, May 18, 2016 at 8:01 PM, Karli Sjöberg  wrote:

>
> >> > I tried a vanilla centos-7.1 as well and the same happens. I'm of the
> same opinion that this is more a guest related issue, it's just I'd like to
> find out why this only happens with QXL and not with CIRRUS.
> >> >
> >> > Thanks.
> >>
> >> Very interesting. Are your hosts all of the same architecture(family)?
> >>
> >> /K
> >
> >
> > Actually we have a nice mixture of manufacturers. We run 7 hosts, paired
> 4-2-1 in relation to architecture. All of them have the same resources,
> though (CPUs + RAM). In this case, I can't test the VM on different hosts
> because we've separated one of them (one of the "4") on a standalone oVirt
> datacenter as we're making tests on it, but I remember this has already
> happened to me in the past (I didn't have the time to debug it at that
> time, though).
>
> And it doesn't happen with a similar VM in the other datacenter, on the
> same hardware?
>
> /K
>

Hello,
I would like to come back to the original post to get some clarifications:
you write
"
I've deployed a pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB
storage).
"
It seems to me not so basic a VM with 4 vcpus for a desktop what are
your needs for it?
In general a multi cpu VM could have a worse performance than a mono cpu
one, depending on its actual workload, because from the host side there is
a continuous scheduling of these 4 vcpus among the real cpus/cores/threads.
I worked in the past with a 4 vcpu VM and 24Gb of ram (in vSphere) used as
JDEdwards database server with hundreds of concurrent users ...
Also with JBoss VMs configured with 4-6 vcpus .. But for a basic VM seems
somehow overestimated...
In my case on a nuc6i5 with 2 cores + ht and 32Gb of ram, configured as
hypervisor with self hosted engine VM, I have a CentOS 6 VM configured with
3Gb of ram and 1 cpu and it runs quite smooth from inside a spice session
configured with resolution of 1680x1050 and its cpu usage shows 98.5% idle.
Also from the host point of view

   PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
COMMAND
16025 qemu  20   0 8988404 3.070g  10524 S   1.7  9.9  90:16.07
qemu-kvm   <--- engine VM
24367 qemu  20   0 3852288 1.929g  12188 S   0.0  6.2  41:12.79
qemu-kvm   < CentOS 6 VM

If I add to the mix a CentOS 7.2 VM configured with 1 vcpu and 3Gb of ram
and with a classic gnome desktop session and open it with 1680x1050
resolution too in spice, I can work without problems and with great
fluidity. I see inside vm its cpu jumping from 1% to 6% because of
gnome-shell.

I see this at host side while in CentOS 7 VM the packagekitd daemon is
downloading the updates and so it is comsuming cpu cycles, also due to
virtual network activity

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
COMMAND

16025 qemu  20   0 9004796 3.077g  10524 S   2.0  9.9  90:27.34
qemu-kvm
24367 qemu  20   0 3852288 1.929g  12188 S   0.7  6.2  41:17.35
qemu-kvm
31277 qemu  20   0 4121224 2.116g  12056 S  16.3  6.8   2:13.80
qemu-kvm

Otherwise very few cpu usage, after packagekitd completes its work;

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
COMMAND
16025 qemu  20   0 9004796 3.077g  10524 S   2.3  9.9  90:34.42
qemu-kvm
24367 qemu  20   0 3852288 1.929g  12188 S   0.7  6.2  41:20.42
qemu-kvm
31277 qemu  20   0 3834364 2.138g  12056 S   1.0  6.9   2:28.80
qemu-kvm

HIH debugging,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Linux guests vs. Spice/QXL?

2016-05-18 Thread Uwe Laverenz

Hi,

Am 18.05.2016 um 16:03 schrieb Shmuel Melamud:


Did you set the correct OS type in the VM properties in each test?


It seems I didn't. After setting it to reasonable values the problem was 
solved for Debian 8 and CentOS 7 (both KDE4).


Fedora 24 and Kubuntu 16.04 (both Plasma 5) stop insisting on 1024x768 
as soon as you choose OS type "RHEL 7x" (no autosizing though).


I never thought this setting could be so important. :)

Thank you very much!

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


[ovirt-users] gluster VM disk permissions

2016-05-18 Thread Bill James

Some added info. This issue seems to be just like this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1052114

I have verified that chown qemu:qemu of disk image also fixes the 
startup issue.

I'm using raw, not qcow images.


[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# qemu-img info 
253f9615-f111-45ca-bdce-cbc9e70406df

image: 253f9615-f111-45ca-bdce-cbc9e70406df
file format: raw
virtual size: 20G (21474836480 bytes)
disk size: 1.9G
[root@ovirt2 prod a7af2477-4a19-4f01-9de1-c939c99e53ad]# ls -l 
253f9615-f111-45ca-bdce-cbc9e70406df
-rw-rw 1 qemu qemu 21474836480 May 18 11:38 
253f9615-f111-45ca-bdce-cbc9e70406df


(default perms = vdsm:kvm)

qemu-img-ev-2.3.0-31.el7_2.4.1.x86_64
qemu-kvm-ev-2.3.0-31.el7_2.4.1.x86_64
libvirt-daemon-1.2.17-13.el7_2.4.x86_64


Ideas??

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


Re: [ovirt-users] 100% memory usage on desktop environments

2016-05-18 Thread Karli Sjöberg

Den 18 maj 2016 7:48 em skrev Nicolás :
>
>
>
> El 18/05/16 a las 18:11, Karli Sjöberg escribió:
>>
>>
>> Den 18 maj 2016 7:03 em skrev Nicolás :
>> >
>> > Hi Karli,
>> >
>> > El 18/05/16 a las 16:59, Karli Sjöberg escribió:
>> >>
>> >>
>> >> Den 18 maj 2016 5:49 em skrev Nicolás :
>> >> >
>> >> > Hi,
>> >> >
>> >> > Probably not an oVirt issue, but maybe someone can help. I've deployed a
>> >> > pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage).
>> >>
>> >> Just spitballing here: 14.04 only? Tried 16.04, or any other OS for that 
>> >> matter? For now, it sounds more guest related rather than oVirt.
>> >>
>> >> /K
>> >
>> >
>> > I tried a vanilla centos-7.1 as well and the same happens. I'm of the same 
>> > opinion that this is more a guest related issue, it's just I'd like to 
>> > find out why this only happens with QXL and not with CIRRUS.
>> >
>> > Thanks.
>>
>> Very interesting. Are your hosts all of the same architecture(family)?
>>
>> /K
>
>
> Actually we have a nice mixture of manufacturers. We run 7 hosts, paired 
> 4-2-1 in relation to architecture. All of them have the same resources, 
> though (CPUs + RAM). In this case, I can't test the VM on different hosts 
> because we've separated one of them (one of the "4") on a standalone oVirt 
> datacenter as we're making tests on it, but I remember this has already 
> happened to me in the past (I didn't have the time to debug it at that time, 
> though).

And it doesn't happen with a similar VM in the other datacenter, on the same 
hardware?

/K

>
>> >
>> >> > Each time I install an additional desktop environment (Gnome, KDE,
>> >> > whatever...), CPU usage rises to 100% all time to the extreme that
>> >> > interacting with the machine becomes impossible (maybe a mouse movement
>> >> > is propagated 3 minutes later or so...).
>> >> >
>> >> > To debug this, I installed LXDE, which is a lightweight desktop
>> >> > environment based on Xorg. I could see there is an Xorg process
>> >> > consuming one of the CPUs and the machine stops responding as far as the
>> >> > desktop environment goes. I have not changed anything in the
>> >> > configuration file.
>> >> >
>> >> > I could also see this only happens when QXL is chosen as the display
>> >> > driver. When CIRRUS is chosen, everything works smoothly and CPU is
>> >> > ~100% idle. The downside is that we want to use SPICE and CIRRUS won't
>> >> > allow it.
>> >> >
>> >> > Why does this happen? Is this an OS-side driver issue? Any hint how can
>> >> > it be fixed?
>> >> >
>> >> > Thanks.
>> >> >
>> >> > Nicolás
>> >> > ___
>> >> > Users mailing list
>> >> > Users@ovirt.org
>> >> > http://lists.ovirt.org/mailman/listinfo/users
>> >
>> >
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 100% memory usage on desktop environments

2016-05-18 Thread Nicolás



El 18/05/16 a las 18:11, Karli Sjöberg escribió:



Den 18 maj 2016 7:03 em skrev Nicolás :
>
> Hi Karli,
>
> El 18/05/16 a las 16:59, Karli Sjöberg escribió:
>>
>>
>> Den 18 maj 2016 5:49 em skrev Nicolás :
>> >
>> > Hi,
>> >
>> > Probably not an oVirt issue, but maybe someone can help. I've 
deployed a

>> > pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage).
>>
>> Just spitballing here: 14.04 only? Tried 16.04, or any other OS for 
that matter? For now, it sounds more guest related rather than oVirt.

>>
>> /K
>
>
> I tried a vanilla centos-7.1 as well and the same happens. I'm of 
the same opinion that this is more a guest related issue, it's just 
I'd like to find out why this only happens with QXL and not with CIRRUS.

>
> Thanks.

Very interesting. Are your hosts all of the same architecture(family)?

/K



Actually we have a nice mixture of manufacturers. We run 7 hosts, paired 
4-2-1 in relation to architecture. All of them have the same resources, 
though (CPUs + RAM). In this case, I can't test the VM on different 
hosts because we've separated one of them (one of the "4") on a 
standalone oVirt datacenter as we're making tests on it, but I remember 
this has already happened to me in the past (I didn't have the time to 
debug it at that time, though).



>
>> > Each time I install an additional desktop environment (Gnome, KDE,
>> > whatever...), CPU usage rises to 100% all time to the extreme that
>> > interacting with the machine becomes impossible (maybe a mouse 
movement

>> > is propagated 3 minutes later or so...).
>> >
>> > To debug this, I installed LXDE, which is a lightweight desktop
>> > environment based on Xorg. I could see there is an Xorg process
>> > consuming one of the CPUs and the machine stops responding as far 
as the

>> > desktop environment goes. I have not changed anything in the
>> > configuration file.
>> >
>> > I could also see this only happens when QXL is chosen as the display
>> > driver. When CIRRUS is chosen, everything works smoothly and CPU is
>> > ~100% idle. The downside is that we want to use SPICE and CIRRUS 
won't

>> > allow it.
>> >
>> > Why does this happen? Is this an OS-side driver issue? Any hint 
how can

>> > it be fixed?
>> >
>> > Thanks.
>> >
>> > Nicolás
>> > ___
>> > Users mailing list
>> > Users@ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>
>



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


Re: [ovirt-users] 100% memory usage on desktop environments

2016-05-18 Thread Karli Sjöberg

Den 18 maj 2016 7:03 em skrev Nicolás :
>
> Hi Karli,
>
> El 18/05/16 a las 16:59, Karli Sjöberg escribió:
>>
>>
>> Den 18 maj 2016 5:49 em skrev Nicolás :
>> >
>> > Hi,
>> >
>> > Probably not an oVirt issue, but maybe someone can help. I've deployed a
>> > pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage).
>>
>> Just spitballing here: 14.04 only? Tried 16.04, or any other OS for that 
>> matter? For now, it sounds more guest related rather than oVirt.
>>
>> /K
>
>
> I tried a vanilla centos-7.1 as well and the same happens. I'm of the same 
> opinion that this is more a guest related issue, it's just I'd like to find 
> out why this only happens with QXL and not with CIRRUS.
>
> Thanks.

Very interesting. Are your hosts all of the same architecture(family)?

/K

>
>> > Each time I install an additional desktop environment (Gnome, KDE,
>> > whatever...), CPU usage rises to 100% all time to the extreme that
>> > interacting with the machine becomes impossible (maybe a mouse movement
>> > is propagated 3 minutes later or so...).
>> >
>> > To debug this, I installed LXDE, which is a lightweight desktop
>> > environment based on Xorg. I could see there is an Xorg process
>> > consuming one of the CPUs and the machine stops responding as far as the
>> > desktop environment goes. I have not changed anything in the
>> > configuration file.
>> >
>> > I could also see this only happens when QXL is chosen as the display
>> > driver. When CIRRUS is chosen, everything works smoothly and CPU is
>> > ~100% idle. The downside is that we want to use SPICE and CIRRUS won't
>> > allow it.
>> >
>> > Why does this happen? Is this an OS-side driver issue? Any hint how can
>> > it be fixed?
>> >
>> > Thanks.
>> >
>> > Nicolás
>> > ___
>> > Users mailing list
>> > Users@ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 100% memory usage on desktop environments

2016-05-18 Thread Nicolás

Hi Karli,

El 18/05/16 a las 16:59, Karli Sjöberg escribió:



Den 18 maj 2016 5:49 em skrev Nicolás :
>
> Hi,
>
> Probably not an oVirt issue, but maybe someone can help. I've 
deployed a

> pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage).

Just spitballing here: 14.04 only? Tried 16.04, or any other OS for 
that matter? For now, it sounds more guest related rather than oVirt.


/K



I tried a vanilla centos-7.1 as well and the same happens. I'm of the 
same opinion that this is more a guest related issue, it's just I'd like 
to find out why this only happens with QXL and not with CIRRUS.


Thanks.


> Each time I install an additional desktop environment (Gnome, KDE,
> whatever...), CPU usage rises to 100% all time to the extreme that
> interacting with the machine becomes impossible (maybe a mouse movement
> is propagated 3 minutes later or so...).
>
> To debug this, I installed LXDE, which is a lightweight desktop
> environment based on Xorg. I could see there is an Xorg process
> consuming one of the CPUs and the machine stops responding as far as 
the

> desktop environment goes. I have not changed anything in the
> configuration file.
>
> I could also see this only happens when QXL is chosen as the display
> driver. When CIRRUS is chosen, everything works smoothly and CPU is
> ~100% idle. The downside is that we want to use SPICE and CIRRUS won't
> allow it.
>
> Why does this happen? Is this an OS-side driver issue? Any hint how can
> it be fixed?
>
> Thanks.
>
> Nicolás
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] 100% memory usage on desktop environments

2016-05-18 Thread Karli Sjöberg

Den 18 maj 2016 5:49 em skrev Nicolás :
>
> Hi,
>
> Probably not an oVirt issue, but maybe someone can help. I've deployed a
> pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage).

Just spitballing here: 14.04 only? Tried 16.04, or any other OS for that 
matter? For now, it sounds more guest related rather than oVirt.

/K

> Each time I install an additional desktop environment (Gnome, KDE,
> whatever...), CPU usage rises to 100% all time to the extreme that
> interacting with the machine becomes impossible (maybe a mouse movement
> is propagated 3 minutes later or so...).
>
> To debug this, I installed LXDE, which is a lightweight desktop
> environment based on Xorg. I could see there is an Xorg process
> consuming one of the CPUs and the machine stops responding as far as the
> desktop environment goes. I have not changed anything in the
> configuration file.
>
> I could also see this only happens when QXL is chosen as the display
> driver. When CIRRUS is chosen, everything works smoothly and CPU is
> ~100% idle. The downside is that we want to use SPICE and CIRRUS won't
> allow it.
>
> Why does this happen? Is this an OS-side driver issue? Any hint how can
> it be fixed?
>
> Thanks.
>
> Nicolás
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot is "Locked" - Can't do anything with the VM

2016-05-18 Thread Nathanaël Blanchet



Le 18/05/2016 16:50, Ivo Rütsche a écrit :


Hi Nathanaël

I try it today and the snapshot was in the state "OK" after I execute 
the script. I try to remove the snapshot again, but it never do 
something. So after I click "Delete", i have this situation:


Tasks(1):
- (Hourglass) Removing Snapshot Auto-generated for Live Storage 
Migration of VM 

-- (Completed) Validating
-- (Hourglass) Executing

The snapshot is in the status "Locked"

This status remains for ever.


When I restart the engine, the Status is still in the status "Locked", 
but the task no longer exists.



engine.log:
2016-05-18 16:33:07,532 INFO 
[org.ovirt.engine.core.bll.RemoveSnapshotCommand] (default task-23) 
[53281b57] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[2acfe3fa-be69-46da-9add-c748b2bd6034=]', 
sharedLocks='null'}'


2016-05-18 16:33:08,640 INFO 
[org.ovirt.engine.core.bll.RemoveSnapshotCommand] (default task-23) 
[53281b57] Running command: RemoveSnapshotCommand internal: false. 
Entities affected :  ID: 2acfe3fa-be69-46da-9add-c748b2bd6034 Type: 
VMAction group MANIPULATE_VM_SNAPSHOTS with role type USER


2016-05-18 16:33:08,984 INFO 
[org.ovirt.engine.core.bll.RemoveSnapshotCommand] (default task-23) 
[53281b57] Lock freed to object 
'EngineLock:{exclusiveLocks='[2acfe3fa-be69-46da-9add-c748b2bd6034=]', 
sharedLocks='null'}'


2016-05-18 16:33:10,079 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-23) [] Correlation ID: 53281b57, Job ID: 
58b18e63-2b7f-480c-84ea-260508aa8798, Call Stack: null, Custom Event 
ID: -1, Message: Snapshot 'Auto-generated for Live Storage Migration' 
deletion for VM '' was initiated by admin@internal.


but nothing else

On the node side, i can't find anything in the logs (or i looking on 
the wrong place).


When the VM is not running, I can remove the snapshot without any 
problems. The VM images are on a NFS export from a Solaris (ZFS).


gruss Ivo






On 04.05.2016 13:40, Nathanaël Blanchet wrote:

Unlock procedure

  * QUERY : -q

PGPASSWORD=X 
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot 
-u engine
296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 
525a4dda-dbbb-4872-a5f1-8ac2aed48392


  * REMOVE

PGPASSWORD=X 
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot -u 
engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392


Ref :
http://lists.ovirt.org/pipermail/users/2015-November/035686.html

Le 03/05/2016 21:17, Ivo Rütsche a écrit :


I just do a full clone of the whole VM and the clone is running fine 
and have the last data on all disks.


gruss ivo


On 03.05.2016 20:12, Markus Stockhausen wrote:

Hi,

we've seen a lot of trouble when deleting snapshots of multidisk VMs.
Especially endless running snapshot deletions is one of our culprits.
More here: https://bugzilla.redhat.com/show_bug.cgi?id=1319400

Markus

Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im 
Auftrag von Ivo Rütsche [lists.ovirt@direct.ruetsche.com]

Gesendet: Dienstag, 3. Mai 2016 19:23
An: users@ovirt.org
Betreff: [ovirt-users] Snapshot is "Locked" - Can't do anything 
with the VM


Hi oVirt List

We have the problem, that two of our VM's have "Locked" snapshots 
and we
can't go forward. From 10 VM's which we move from one store to 
another,
we have problems with 5 of them to delete the snapshots. But with a 
lot
of luck, the snapshot was always on the dedicated Swap-Disk, so we 
just

have to remove the whole disk and create it again as new.

Because we replace all the filers, we have to move the VM's 
arround. The
move itself runns fine, but deleting the snapshots doesn't work 
sometimes.


I found a lot about our problem, but I can't find any solution, which
works an our environment.

Our setup:
- 3 Solaris filer with NFS exports for the hosts for the vm-images
- 8 hosts (oVirt 3.6 / Centos 7.2.1511)
- The engine host is located outside of the DC, connected via VPN

At the moment, one of the "problem-VM" is productive, the other should
become productive in the next days, so we focus us to the 2nd VM,
because we can play arround with them. The other one is startet up, 
but

i have no idea, what happens, when i shut them down...

This is the status today of VM, which is not productive at the moment:
- VM Status: Down
- Snapshots OK: 2
- Snapshots Locked: 1
- In the snapshot tab, everything is grayed out (Create, Preview,
Commit, Undo etc.)
- No active tasks are displayed

Error message when i try to start the VM:
"Cannot run VM. The VM is performing an operation on a Snapshot. 
Please

wait for the operation to finish, and try again."
This often produces to me too. The only way I found to resolve it is to 
restart engine, you may try this, it has no impact on the host and vms.


Something about the history of this VM:
1. We start the disk move from filer1 to filer3, totaly 4 drives,

[ovirt-users] 100% memory usage on desktop environments

2016-05-18 Thread Nicolás

Hi,

Probably not an oVirt issue, but maybe someone can help. I've deployed a 
pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage). 
Each time I install an additional desktop environment (Gnome, KDE, 
whatever...), CPU usage rises to 100% all time to the extreme that 
interacting with the machine becomes impossible (maybe a mouse movement 
is propagated 3 minutes later or so...).


To debug this, I installed LXDE, which is a lightweight desktop 
environment based on Xorg. I could see there is an Xorg process 
consuming one of the CPUs and the machine stops responding as far as the 
desktop environment goes. I have not changed anything in the 
configuration file.


I could also see this only happens when QXL is chosen as the display 
driver. When CIRRUS is chosen, everything works smoothly and CPU is 
~100% idle. The downside is that we want to use SPICE and CIRRUS won't 
allow it.


Why does this happen? Is this an OS-side driver issue? Any hint how can 
it be fixed?


Thanks.

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


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-18 Thread Will Dennis
Sadly, having set the 'macspoof' key to 'true' in Custom Properties in the VM 
Edit dialog, then restarting the VM thereafter, I'm still not seeing the 
container's MAC address in the relevant bridge's MAC table in oVirt, and the 
container is failing to lease a DHCP address from the external network... 

Looked at the ebtables filter table, nothing there...
[root@ovirt-node-03 ~]# ebtables -t filter -L
Bridge table: filter

Bridge chain: INPUT, entries: 0, policy: ACCEPT

Bridge chain: FORWARD, entries: 0, policy: ACCEPT

Bridge chain: OUTPUT, entries: 0, policy: ACCEPT


Anyone know where else I could look to troubleshoot?


-Original Message-
From: Will Dennis 
Sent: Wednesday, May 18, 2016 11:06 AM
To: 'Michal Skrivanek'; Yedidyah Bar David
Cc: users@ovirt.org
Subject: RE: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM

Yup, I see it now in the Admin portal VM Edit dialog - thanks!

Will

-Original Message-
From: Michal Skrivanek [mailto:mskri...@redhat.com] 
Sent: Wednesday, May 18, 2016 2:37 AM
To: Yedidyah Bar David
Cc: Will Dennis; users@ovirt.org
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM



> On 15 May 2016, at 07:24, Yedidyah Bar David  wrote:
> 
>> On Wed, May 11, 2016 at 5:17 PM, Will Dennis  wrote:
>> OK; I searched the oVirt site for 'engine-config' (unfamiliar with it) and 
>> found the following page:
>> https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/
>> 
>> I see the instructions on it for "Adding VM custom properties (macspoof)", 
>> so I did execute the referenced engine-config line, and then restarted the 
>> ovirt-engine service. I then went and powered off the VM I'd like to 
>> deactivate mac spoof filtering on, then went in to the User Portal and 
>> clicked "Edit" on the VM. However, I can not find a "Custom Properties" 
>> dialog anywhere in the VM Edit UI (yes, I did enable Advanced options.) 
>> Where should I be seeing this?
> 
> Not sure it's visible in the User Portal, might be a matter of permissions.

Iirc it's not in user portal by design. All custom properties are generally 
considered admin-like stuff

> 
> In the admin portal it has, in the same dialog, its own sub menu.
> -- 
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-18 Thread Will Dennis
Yup, I see it now in the Admin portal VM Edit dialog - thanks!

Will

-Original Message-
From: Michal Skrivanek [mailto:mskri...@redhat.com] 
Sent: Wednesday, May 18, 2016 2:37 AM
To: Yedidyah Bar David
Cc: Will Dennis; users@ovirt.org
Subject: Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container 
in a oVirt VM



> On 15 May 2016, at 07:24, Yedidyah Bar David  wrote:
> 
>> On Wed, May 11, 2016 at 5:17 PM, Will Dennis  wrote:
>> OK; I searched the oVirt site for 'engine-config' (unfamiliar with it) and 
>> found the following page:
>> https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/
>> 
>> I see the instructions on it for "Adding VM custom properties (macspoof)", 
>> so I did execute the referenced engine-config line, and then restarted the 
>> ovirt-engine service. I then went and powered off the VM I'd like to 
>> deactivate mac spoof filtering on, then went in to the User Portal and 
>> clicked "Edit" on the VM. However, I can not find a "Custom Properties" 
>> dialog anywhere in the VM Edit UI (yes, I did enable Advanced options.) 
>> Where should I be seeing this?
> 
> Not sure it's visible in the User Portal, might be a matter of permissions.

Iirc it's not in user portal by design. All custom properties are generally 
considered admin-like stuff

> 
> In the admin portal it has, in the same dialog, its own sub menu.
> -- 
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Snapshot is "Locked" - Can't do anything with the VM

2016-05-18 Thread Ivo Rütsche


Hi Nathanaël

I try it today and the snapshot was in the state "OK" after I execute 
the script. I try to remove the snapshot again, but it never do 
something. So after I click "Delete", i have this situation:


Tasks(1):
- (Hourglass) Removing Snapshot Auto-generated for Live Storage 
Migration of VM 

-- (Completed) Validating
-- (Hourglass) Executing

The snapshot is in the status "Locked"

This status remains for ever.


When I restart the engine, the Status is still in the status "Locked", 
but the task no longer exists.



engine.log:
2016-05-18 16:33:07,532 INFO 
[org.ovirt.engine.core.bll.RemoveSnapshotCommand] (default task-23) 
[53281b57] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[2acfe3fa-be69-46da-9add-c748b2bd6034=]', sharedLocks='null'}'


2016-05-18 16:33:08,640 INFO 
[org.ovirt.engine.core.bll.RemoveSnapshotCommand] (default task-23) 
[53281b57] Running command: RemoveSnapshotCommand internal: false. 
Entities affected :  ID: 2acfe3fa-be69-46da-9add-c748b2bd6034 Type: 
VMAction group MANIPULATE_VM_SNAPSHOTS with role type USER


2016-05-18 16:33:08,984 INFO 
[org.ovirt.engine.core.bll.RemoveSnapshotCommand] (default task-23) 
[53281b57] Lock freed to object 
'EngineLock:{exclusiveLocks='[2acfe3fa-be69-46da-9add-c748b2bd6034=]', sharedLocks='null'}'


2016-05-18 16:33:10,079 INFO 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-23) [] Correlation ID: 53281b57, Job ID: 
58b18e63-2b7f-480c-84ea-260508aa8798, Call Stack: null, Custom Event ID: 
-1, Message: Snapshot 'Auto-generated for Live Storage Migration' 
deletion for VM '' was initiated by admin@internal.


but nothing else

On the node side, i can't find anything in the logs (or i looking on the 
wrong place).


When the VM is not running, I can remove the snapshot without any 
problems. The VM images are on a NFS export from a Solaris (ZFS).


gruss Ivo






On 04.05.2016 13:40, Nathanaël Blanchet wrote:

Unlock procedure

  * QUERY : -q

PGPASSWORD=X 
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot 
-u engine
296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 
525a4dda-dbbb-4872-a5f1-8ac2aed48392


  * REMOVE

PGPASSWORD=X 
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot -u 
engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392


Ref :
http://lists.ovirt.org/pipermail/users/2015-November/035686.html

Le 03/05/2016 21:17, Ivo Rütsche a écrit :


I just do a full clone of the whole VM and the clone is running fine 
and have the last data on all disks.


gruss ivo


On 03.05.2016 20:12, Markus Stockhausen wrote:

Hi,

we've seen a lot of trouble when deleting snapshots of multidisk VMs.
Especially endless running snapshot deletions is one of our culprits.
More here: https://bugzilla.redhat.com/show_bug.cgi?id=1319400

Markus

Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im 
Auftrag von Ivo Rütsche [lists.ovirt@direct.ruetsche.com]

Gesendet: Dienstag, 3. Mai 2016 19:23
An: users@ovirt.org
Betreff: [ovirt-users] Snapshot is "Locked" - Can't do anything with 
the VM


Hi oVirt List

We have the problem, that two of our VM's have "Locked" snapshots 
and we

can't go forward. From 10 VM's which we move from one store to another,
we have problems with 5 of them to delete the snapshots. But with a lot
of luck, the snapshot was always on the dedicated Swap-Disk, so we just
have to remove the whole disk and create it again as new.

Because we replace all the filers, we have to move the VM's arround. 
The
move itself runns fine, but deleting the snapshots doesn't work 
sometimes.


I found a lot about our problem, but I can't find any solution, which
works an our environment.

Our setup:
- 3 Solaris filer with NFS exports for the hosts for the vm-images
- 8 hosts (oVirt 3.6 / Centos 7.2.1511)
- The engine host is located outside of the DC, connected via VPN

At the moment, one of the "problem-VM" is productive, the other should
become productive in the next days, so we focus us to the 2nd VM,
because we can play arround with them. The other one is startet up, but
i have no idea, what happens, when i shut them down...

This is the status today of VM, which is not productive at the moment:
- VM Status: Down
- Snapshots OK: 2
- Snapshots Locked: 1
- In the snapshot tab, everything is grayed out (Create, Preview,
Commit, Undo etc.)
- No active tasks are displayed

Error message when i try to start the VM:
"Cannot run VM. The VM is performing an operation on a Snapshot. Please
wait for the operation to finish, and try again."

Something about the history of this VM:
1. We start the disk move from filer1 to filer3, totaly 4 drives,
everything was fine
2. Deleting snapshots, i think one or two runns fine
3. Deleting the 2nd or 3rd snapshot runs two days without an end
4. Rebooting the Engine
5. No task anymore in the Tasks list

Re: [ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Simone Tiraboschi
On Wed, May 18, 2016 at 3:55 PM, Ralf Schenk  wrote:

> Hello,
>
> thanks a lot. Yesterday I stood at the edge off a cliff. Now I'm one step
> beyond...
>
> Setup finished sucsessfully, engine-vm was shutdown - and no HA Config, No
> running engine VM afterwards. :-(
>

Do you have /etc/ovirt-hosted-engine/hosted-engine.conf ?
that should be enough to mount the shared storage and start the VM
extracting the VM configuration from there.

Do you have any error from ovirt-ha-agent or from ovirt-ha-broker?


> Restart of ovirt-ha-agent/ovirt-ha-broker doesn't work. Reboot of Host
> neither. No (mounted) /var/run/ovirt-hosted-engine-ha/vm.conf.
>
> I can do "hosted-engine --connect-storage" which mounts my replica 3
> gluster under /rhev/data-center/mnt/glusterSD/glusterfs.rxmgmt.databay.de:
> _engine.
>
> I found the tar file with configs in my volume and I am able to extract
> all the files (fhanswers.conf, hosted-engine.conf, broker.conf, vm.conf)
> from the conf volume which is a tar file
> (/rhev/data-center/mnt/glusterSD/glusterfs.rxmgmt.databay.de:_engine/de9c1cb5-a11c-4f0d-b436-7e37378702c3/images/2d2145f5-9406-40c3-b85a-c17be924dd16/b64c8bac-f978-441e-b71c-2fa1d0fc078f)
> .
>
> Is it possible to persist that and get ha up and running ? I think it was
> not persisted in vdsm, am I right ?
>
> I found your post
> http://lists.ovirt.org/pipermail/users/2015-December/036305.html that
> looked like a similar Problem.
>

Here we had a bug but now the code is OK.

> (tar -cO * | dd
> of=/rhev/data-center/mnt/blockSD/$sdUUID/images/$conf_image_UUID/$conf_volume_UUID
> oflag=direct) ?
>
> Bye
>
>
> Am 18.05.2016 um 11:38 schrieb Simone Tiraboschi:
>
> The issue is here:
> 2016-05-18 00:16:17 DEBUG otopi.context context.dumpEnvironment:510 ENV
> OVEHOSTED_ENGINE/appHostName=str:''hosted_engine_1''
> You are quoting it twice and so it will try to use the string with the
> inner quote which is not a valid name.
>
> Does it come from your custom '/root/engine_answers.conf'? if so please
> fix it there and try again.
>
>
> On Wed, May 18, 2016 at 11:22 AM, Ralf Schenk  wrote:
>
>> Hello,
>>
>> of course. See attached File.
>>
>> Bye
>>
>> Am 18.05.2016 um 11:13 schrieb Simone Tiraboschi:
>>
>> It looks, correct.
>>
>> Can you please share the whole log file?
>>
>> On Wed, May 18, 2016 at 11:03 AM, Ralf Schenk < 
>> r...@databay.de> wrote:
>>
>>> Hello,
>>>
>>> from the last setup Log:
>>>
>>> 2016-05-11 18:19:31 DEBUG otopi.context context.dumpEnvironment:510 ENV
>>> OVEHOSTED_ENGINE/appHostName=str:'hosted_engine_1'
>>>
>>> Am 18.05.2016 um 10:59 schrieb Simone Tiraboschi:
>>>
>>>
>>>
>>> On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk < 
>>> r...@databay.de> wrote:
>>>
 Dear list,

 i'm working for days on a hosted-engine setup on glusterfs and 'm stuck
 in the last phase of hosted-engine --deploy see Text output (for two days
 now :-( ). I've only ovirtmgmt Bridge up and running and all DNS-Names seen
 in the screenshot are resolvable. It shouldn't be related to your problem
 regarding multiple nic's in the engine-vm. As seen the hosted-engine setup
 is already succsessfull, engine-vm running, but the setup fails in
 registering the host (microcloud21...) in the engine.


 [...]

   |- [ INFO  ] Starting engine service
   |- [ INFO  ] Restarting httpd
   |- [ INFO  ] Restarting ovirt-vmconsole proxy service
   |- [ INFO  ] Stage: Clean up
   |-   Log file is located at
 /var/log/ovirt-engine/setup/ovirt-engine-setup-20160517222119-ndcyxn.log
   |- [ INFO  ] Generating answer file
 '/var/lib/ovirt-engine/setup/answers/20160517223055-setup.conf'
   |- [ INFO  ] Stage: Pre-termination
   |- [ INFO  ] Stage: Termination
   |- [ INFO  ] Execution of setup completed successfully
   |- HE_APPLIANCE_ENGINE_SETUP_SUCCESS
 [ INFO  ] Engine-setup successfully completed
 [ INFO  ] Engine is still unreachable
 [ INFO  ] Engine is still not reachable, waiting...
 [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
 [ INFO  ] Acquiring internal CA cert from the engine
 [ INFO  ] The following CA certificate is going to be used, please
 immediately interrupt if not correct:
 [ INFO  ] Issuer: C=US, O=rxmgmt.databay.de,
 CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US, O=
 rxmgmt.databay.de, CN=engine-mcIII.rxmgmt.databay.de.77792,
 Fingerprint (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
 [ INFO  ] Connecting to the Engine
 [ ERROR ] Cannot automatically add the host to cluster Default: Host
 name must be formed of alphanumeric characters, numbers or "-_."


   Please check Engine VM configuration.

   Make a selection from the options below:
   (1) Continue 

Re: [ovirt-users] Linux guests vs. Spice/QXL?

2016-05-18 Thread Shmuel Melamud
Hi!

Did you set the correct OS type in the VM properties in each test?


Shmuel

On Wed, May 18, 2016 at 1:20 PM, Uwe Laverenz  wrote:

> Hi all,
>
> I'm running some tests on OVirt (3.6.5.3) on CentOS 7 and almost
> everything works quite well so far.
>
> CentOS 6.x, Windows 7 and 2008R2 work fine with Spice/QXL, so my setup
> seems to be ok.
>
> Other Linux systems don't work: Debian 8, Fedora 23/24, CentOS 7.x,
> Kubuntu 16.04... CentOS 7.x even kills his X server every time the user
> logs out. X-)
>
> They all have in common that they show a fixed display resolution of
> 1024x768 pixels. This can not be changed manually and of course automatic
> display resizing doesn't work either.
>
> All machines have spice-vdagent and ovirt-guest-agent installed and
> running.
>
> Is this a local problem or is this known/expected behaviour? Is there
> anything I can do to improve this?
>
> thank you,
> Uwe
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Ralf Schenk
Hello,

thanks a lot. Yesterday I stood at the edge off a cliff. Now I'm one
step beyond...

Setup finished sucsessfully, engine-vm was shutdown - and no HA Config,
No running engine VM afterwards. :-(

Restart of ovirt-ha-agent/ovirt-ha-broker doesn't work. Reboot of Host
neither. No (mounted) /var/run/ovirt-hosted-engine-ha/vm.conf.

I can do "hosted-engine --connect-storage" which mounts my replica 3
gluster under
/rhev/data-center/mnt/glusterSD/glusterfs.rxmgmt.databay.de:_engine.

I found the tar file with configs in my volume and I am able to extract
all the files (fhanswers.conf, hosted-engine.conf, broker.conf, vm.conf)
from the conf volume which is a tar file
(/rhev/data-center/mnt/glusterSD/glusterfs.rxmgmt.databay.de:_engine/de9c1cb5-a11c-4f0d-b436-7e37378702c3/images/2d2145f5-9406-40c3-b85a-c17be924dd16/b64c8bac-f978-441e-b71c-2fa1d0fc078f)
.

Is it possible to persist that and get ha up and running ? I think it
was not persisted in vdsm, am I right ?

I found your post
http://lists.ovirt.org/pipermail/users/2015-December/036305.html that
looked like a similar Problem.

(tar -cO * | dd
of=/rhev/data-center/mnt/blockSD/$sdUUID/images/$conf_image_UUID/$conf_volume_UUID
oflag=direct) ?

Bye


Am 18.05.2016 um 11:38 schrieb Simone Tiraboschi:
> The issue is here:
> 2016-05-18 00:16:17 DEBUG otopi.context context.dumpEnvironment:510
> ENV OVEHOSTED_ENGINE/appHostName=str:''hosted_engine_1''
> You are quoting it twice and so it will try to use the string with the
> inner quote which is not a valid name.
>
> Does it come from your custom '/root/engine_answers.conf'? if so
> please fix it there and try again.
>
>
> On Wed, May 18, 2016 at 11:22 AM, Ralf Schenk  > wrote:
>
> Hello,
>
> of course. See attached File.
>
> Bye
>
>
> Am 18.05.2016 um 11:13 schrieb Simone Tiraboschi:
>> It looks, correct.
>>
>> Can you please share the whole log file?
>>
>> On Wed, May 18, 2016 at 11:03 AM, Ralf Schenk > > wrote:
>>
>> Hello,
>>
>> from the last setup Log:
>>
>> 2016-05-11 18:19:31 DEBUG otopi.context
>> context.dumpEnvironment:510 ENV
>> OVEHOSTED_ENGINE/appHostName=str:'hosted_engine_1'
>>
>>
>> Am 18.05.2016 um 10:59 schrieb Simone Tiraboschi:
>>>
>>>
>>> On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk >> > wrote:
>>>
>>> Dear list,
>>>
>>> i'm working for days on a hosted-engine setup on
>>> glusterfs and 'm stuck in the last phase of
>>> hosted-engine --deploy see Text output (for two days now
>>> :-( ). I've only ovirtmgmt Bridge up and running and all
>>> DNS-Names seen in the screenshot are resolvable. It
>>> shouldn't be related to your problem regarding multiple
>>> nic's in the engine-vm. As seen the hosted-engine setup
>>> is already succsessfull, engine-vm running, but the
>>> setup fails in registering the host (microcloud21...) in
>>> the engine.
>>>
>>>
>>> [...]
>>>
>>>   |- [ INFO  ] Starting engine service
>>>   |- [ INFO  ] Restarting httpd
>>>   |- [ INFO  ] Restarting ovirt-vmconsole proxy
>>> service
>>>   |- [ INFO  ] Stage: Clean up
>>>   |-   Log file is located at
>>> 
>>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20160517222119-ndcyxn.log
>>>   |- [ INFO  ] Generating answer file
>>> '/var/lib/ovirt-engine/setup/answers/20160517223055-setup.conf'
>>>   |- [ INFO  ] Stage: Pre-termination
>>>   |- [ INFO  ] Stage: Termination
>>>   |- [ INFO  ] Execution of setup completed
>>> successfully
>>>   |- HE_APPLIANCE_ENGINE_SETUP_SUCCESS
>>> [ INFO  ] Engine-setup successfully completed
>>> [ INFO  ] Engine is still unreachable
>>> [ INFO  ] Engine is still not reachable, waiting...
>>> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
>>> [ INFO  ] Acquiring internal CA cert from the engine
>>> [ INFO  ] The following CA certificate is going to be
>>> used, please immediately interrupt if not correct:
>>> [ INFO  ] Issuer: C=US, O=rxmgmt.databay.de
>>> ,
>>> CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US,
>>> O=rxmgmt.databay.de ,
>>> CN=engine-mcIII.rxmgmt.databay.de.77792, Fingerprint
>>> (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
>>> [ INFO  ] Connecting to the Engine
>>> [ ERROR ] Cannot automatically add the host to 

Re: [ovirt-users] How to change host networks?

2016-05-18 Thread Shmuel Melamud
Hi!

​Do you have any existing setup that you want to migrate or you're only
planning?

​Shmuel​

On Wed, May 18, 2016 at 2:04 PM, Roderick Mooi 
wrote:

> Good day
>
> I would like to change the IP addresses of the host networks used by Ovirt
> including the ovirtmgmt bridge. I need to move them to a different subnet
> post installation. What is the best/safest way to do this?
>
> Thanks,
>
> Roderick Mooi
>
> Senior Engineer: South African National Research Network (SANReN)
> Meraka Institute, CSIR
>
> roder...@sanren.ac.za | +27 12 841 4111 | www.sanren.ac.za
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] AAA LDAP timeout

2016-05-18 Thread Dominique Taffin
Hello!

Thank you very much! 

best,
 Dominique-Original Message-
From: Ondra Machacek 
To: Dominique Taffin , users@ovirt.org 
Subject: Re: [ovirt-users] AAA LDAP timeout
Date: Wed, 18 May 2016 12:31:56 +0200

Hi,

thanks for the point, we will add it to the doc.

The configuration option you are interested in is this:

   pool.default.connection-options.responseTimeoutMillis = 6

just add it to your profile properties 
(/etc/ovirt-engine/aaa/your_profile.properties)

Ondra

On 05/18/2016 11:34 AM, Dominique Taffin wrote:
> 
> Hello!
> 
> We do have a rather large LDAP which does take some time to
> answer.
> Using oVirt and AAA LDAP extension, I do run into timeouts.
> 
> running "ovirt-engine-extensions-tool --log-level=FINEST --log-
> file=tool.log aaa login-user --profile=abc --user-name=xxx" fails
> with:
> 
> [...]
> LDAPSearchException(resultCode=85 (timeout), numEntries=0,
> numReferences=0, errorMessage='A client-side timeout was
> encountered
> while waiting 6ms for a response to search request with
> message
> ID 3, base DN [...]
> 
> 
> ldapsearch itself takes approx 2 minutes.
> 
> Can the timeout of 6ms be configured somewhere? I could not
> find
> anything in the documentation...
> 
> thank you and best,
>  Dominique
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to change host networks?

2016-05-18 Thread Roderick Mooi
Good day

I would like to change the IP addresses of the host networks used by Ovirt
including the ovirtmgmt bridge. I need to move them to a different subnet
post installation. What is the best/safest way to do this?

Thanks,

Roderick Mooi

Senior Engineer: South African National Research Network (SANReN)
Meraka Institute, CSIR

roder...@sanren.ac.za | +27 12 841 4111 | www.sanren.ac.za
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] AAA LDAP timeout

2016-05-18 Thread Ondra Machacek

Hi,

thanks for the point, we will add it to the doc.

The configuration option you are interested in is this:

  pool.default.connection-options.responseTimeoutMillis = 6

just add it to your profile properties 
(/etc/ovirt-engine/aaa/your_profile.properties)


Ondra

On 05/18/2016 11:34 AM, Dominique Taffin wrote:

Hello!

We do have a rather large LDAP which does take some time to answer.
Using oVirt and AAA LDAP extension, I do run into timeouts.

running "ovirt-engine-extensions-tool --log-level=FINEST --log-
file=tool.log aaa login-user --profile=abc --user-name=xxx" fails
with:

[...]
LDAPSearchException(resultCode=85 (timeout), numEntries=0,
numReferences=0, errorMessage='A client-side timeout was encountered
while waiting 6ms for a response to search request with message
ID 3, base DN [...]


ldapsearch itself takes approx 2 minutes.

Can the timeout of 6ms be configured somewhere? I could not find
anything in the documentation...

thank you and best,
 Dominique
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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


[ovirt-users] Linux guests vs. Spice/QXL?

2016-05-18 Thread Uwe Laverenz

Hi all,

I'm running some tests on OVirt (3.6.5.3) on CentOS 7 and almost 
everything works quite well so far.


CentOS 6.x, Windows 7 and 2008R2 work fine with Spice/QXL, so my setup 
seems to be ok.


Other Linux systems don't work: Debian 8, Fedora 23/24, CentOS 7.x, 
Kubuntu 16.04... CentOS 7.x even kills his X server every time the user 
logs out. X-)


They all have in common that they show a fixed display resolution of 
1024x768 pixels. This can not be changed manually and of course 
automatic display resizing doesn't work either.


All machines have spice-vdagent and ovirt-guest-agent installed and running.

Is this a local problem or is this known/expected behaviour? Is there 
anything I can do to improve this?


thank you,
Uwe
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] RemoveDiskSnapshots error's on engine log

2016-05-18 Thread Ivo Rütsche


Salü Greg

Thank you for the hint, but the result doesn't bring me a step forward. 
Maybe you have an idea?



2016-05-18 11:45:33,750 ERROR 
[org.ovirt.engine.core.bll.CommandsFactory] 
(DefaultQuartzScheduler_Worker-98) [] Error in invocating CTOR of 
command 'RemoveDiskSnapshots': null
2016-05-18 11:45:33,750 ERROR 
[org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] 
(DefaultQuartzScheduler_Worker-98) [] Failed to invoke scheduled method 
invokeCallbackMethods: null
2016-05-18 11:45:33,750 DEBUG 
[org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] 
(DefaultQuartzScheduler_Worker-98) [] Exception: 
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown 
Source) [:1.8.0_91]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
[rt.jar:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) 
[rt.jar:1.8.0_91]
at 
org.ovirt.engine.core.utils.timer.JobWrapper.invokeMethod(JobWrapper.java:81) 
[scheduler.jar:]
at 
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:52) 
[scheduler.jar:]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) 
[quartz.jar:]
at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
[quartz.jar:]

Caused by: java.lang.NullPointerException

2016-05-18 11:45:34,753 ERROR 
[org.ovirt.engine.core.bll.CommandsFactory] 
(DefaultQuartzScheduler_Worker-49) [] Error in invocating CTOR of 
command 'RemoveDiskSnapshots': null
2016-05-18 11:45:34,753 ERROR 
[org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] 
(DefaultQuartzScheduler_Worker-49) [] Failed to invoke scheduled method 
invokeCallbackMethods: null



gruss Ivo





On 13.05.2016 22:57, Greg Padgett wrote:

On 05/11/2016 05:32 PM, Ivo Rütsche wrote:


Hi List

At the moment, we replace a filer and we have to move the VM's to
another filer. We have a lot of problems with it. Sometime we have to
restart the engine, sometime we have to move the image arround and
sometimes we don't have a chance to remove the snapshots. When the VM is
running, most of the time the snapshot remove never starts.

Now, i found these errors every second in the engine.log since today:

2016-05-11 23:25:29,102 ERROR
[org.ovirt.engine.core.bll.CommandsFactory]
(DefaultQuartzScheduler_Worker-90) [] Error in invocating CTOR of
command 'RemoveDiskSnapshots': null
2016-05-11 23:25:29,102 ERROR
[org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl]
(DefaultQuartzScheduler_Worker-90) [] Failed to invoke scheduled method
invokeCallbackMethods: null
2016-05-11 23:25:30,104 ERROR
[org.ovirt.engine.core.bll.CommandsFactory]
(DefaultQuartzScheduler_Worker-66) [] Error in invocating CTOR of
command 'RemoveDiskSnapshots': null
2016-05-11 23:25:30,104 ERROR
[org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl]
(DefaultQuartzScheduler_Worker-66) [] Failed to invoke scheduled method
invokeCallbackMethods: null
2016-05-11 23:25:31,105 ERROR
[org.ovirt.engine.core.bll.CommandsFactory]
(DefaultQuartzScheduler_Worker-76) [] Error in invocating CTOR of
command 'RemoveDiskSnapshots': null
2016-05-11 23:25:31,105 ERROR
[org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl]
(DefaultQuartzScheduler_Worker-76) [] Failed to invoke scheduled method
invokeCallbackMethods: null

I try everything, but i can't find the problem.

Anyone who have an idea, where i have to search?


Hi Ivo,

I'm not sure what would cause this to start happening after a 
successful deployment, but perhaps enabling debug logging would help 
narrow it down.  See [1] for instructions on that.


Greg

[1] 
http://old.ovirt.org/OVirt_Engine_Development_Environment#Enable_DEBUG_log_-_Runtime_Change.3B_No_Restart




Thank's for help.

Ivo

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





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


Re: [ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Simone Tiraboschi
The issue is here:
2016-05-18 00:16:17 DEBUG otopi.context context.dumpEnvironment:510 ENV
OVEHOSTED_ENGINE/appHostName=str:''hosted_engine_1''
You are quoting it twice and so it will try to use the string with the
inner quote which is not a valid name.

Does it come from your custom '/root/engine_answers.conf'? if so please fix
it there and try again.


On Wed, May 18, 2016 at 11:22 AM, Ralf Schenk  wrote:

> Hello,
>
> of course. See attached File.
>
> Bye
>
> Am 18.05.2016 um 11:13 schrieb Simone Tiraboschi:
>
> It looks, correct.
>
> Can you please share the whole log file?
>
> On Wed, May 18, 2016 at 11:03 AM, Ralf Schenk  wrote:
>
>> Hello,
>>
>> from the last setup Log:
>>
>> 2016-05-11 18:19:31 DEBUG otopi.context context.dumpEnvironment:510 ENV
>> OVEHOSTED_ENGINE/appHostName=str:'hosted_engine_1'
>>
>> Am 18.05.2016 um 10:59 schrieb Simone Tiraboschi:
>>
>>
>>
>> On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk < 
>> r...@databay.de> wrote:
>>
>>> Dear list,
>>>
>>> i'm working for days on a hosted-engine setup on glusterfs and 'm stuck
>>> in the last phase of hosted-engine --deploy see Text output (for two days
>>> now :-( ). I've only ovirtmgmt Bridge up and running and all DNS-Names seen
>>> in the screenshot are resolvable. It shouldn't be related to your problem
>>> regarding multiple nic's in the engine-vm. As seen the hosted-engine setup
>>> is already succsessfull, engine-vm running, but the setup fails in
>>> registering the host (microcloud21...) in the engine.
>>>
>>>
>>> [...]
>>>
>>>   |- [ INFO  ] Starting engine service
>>>   |- [ INFO  ] Restarting httpd
>>>   |- [ INFO  ] Restarting ovirt-vmconsole proxy service
>>>   |- [ INFO  ] Stage: Clean up
>>>   |-   Log file is located at
>>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20160517222119-ndcyxn.log
>>>   |- [ INFO  ] Generating answer file
>>> '/var/lib/ovirt-engine/setup/answers/20160517223055-setup.conf'
>>>   |- [ INFO  ] Stage: Pre-termination
>>>   |- [ INFO  ] Stage: Termination
>>>   |- [ INFO  ] Execution of setup completed successfully
>>>   |- HE_APPLIANCE_ENGINE_SETUP_SUCCESS
>>> [ INFO  ] Engine-setup successfully completed
>>> [ INFO  ] Engine is still unreachable
>>> [ INFO  ] Engine is still not reachable, waiting...
>>> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
>>> [ INFO  ] Acquiring internal CA cert from the engine
>>> [ INFO  ] The following CA certificate is going to be used, please
>>> immediately interrupt if not correct:
>>> [ INFO  ] Issuer: C=US, O=rxmgmt.databay.de,
>>> CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US, O=
>>> rxmgmt.databay.de, CN=engine-mcIII.rxmgmt.databay.de.77792, Fingerprint
>>> (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
>>> [ INFO  ] Connecting to the Engine
>>> [ ERROR ] Cannot automatically add the host to cluster Default: Host
>>> name must be formed of alphanumeric characters, numbers or "-_."
>>>
>>>
>>>   Please check Engine VM configuration.
>>>
>>>   Make a selection from the options below:
>>>   (1) Continue setup - Engine VM configuration has been fixed
>>>   (2) Abort setup
>>>
>>>   (1, 2)[1]: 1
>>>
>>>   Checking for oVirt-Engine status at
>>> engine-mcIII.rxmgmt.databay.de...
>>> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
>>> [ ERROR ] Cannot automatically add the host to cluster Default: Host
>>> name must be formed of alphanumeric characters, numbers or "-_."
>>>
>>>
>>>   Please check Engine VM configuration.
>>>
>>>   Make a selection from the options below:
>>>   (1) Continue setup - Engine VM configuration has been fixed
>>>   (2) Abort setup
>>>
>>>   (1, 2)[1]:
>>>
>>> Additionally I can see the error in the eninge-vm in
>>> /var/log/ovirt-engine/engine.log:
>>>
>>> 2016-05-17 14:08:15,296 WARN
>>> [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-13)
>>> [9277b0a] CanDoAction of action 'AddVds' failed for user admin@internal.
>>> Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
>>> microcloud21.rxmgmt.databay.de,VALIDATION_VDS_NAME_INVALID
>>> 2016-05-17 14:08:15,360 ERROR
>>> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default
>>> task-13) [] Operation Failed: [Host name must be formed of alphanumeric
>>> characters, numbers or "-_."]
>>>
>>
>> 'microcloud21.rxmgmt.databay.de' is the host address, in oVirt the host
>> has also a name.
>> Can you please look for OVEHOSTED_ENGINE/appHostName in your
>> hosted-engine-setup logs?
>>
>>>
>>>
>>> The hostname that should be registered is the correct fqdn for the
>>> virtualization host that runs the engine-vm, points to the ip of the
>>> ovirtmgmt-Bridge and also the IP is reverse-resolvable to the hostname.
>>> I checked /etc/hostname of the host for non-printable characters and as
>>> you can see that 

[ovirt-users] AAA LDAP timeout

2016-05-18 Thread Dominique Taffin
Hello!

We do have a rather large LDAP which does take some time to answer.
Using oVirt and AAA LDAP extension, I do run into timeouts.

running "ovirt-engine-extensions-tool --log-level=FINEST --log-
file=tool.log aaa login-user --profile=abc --user-name=xxx" fails
with:

[...]
LDAPSearchException(resultCode=85 (timeout), numEntries=0,
numReferences=0, errorMessage='A client-side timeout was encountered
while waiting 6ms for a response to search request with message
ID 3, base DN [...]


ldapsearch itself takes approx 2 minutes.

Can the timeout of 6ms be configured somewhere? I could not find
anything in the documentation...

thank you and best,
 Dominique
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Simone Tiraboschi
On Wed, May 18, 2016 at 10:33 AM, Ralf Schenk  wrote:

> Dear list,
>
> i'm working for days on a hosted-engine setup on glusterfs and 'm stuck in
> the last phase of hosted-engine --deploy see Text output (for two days now
> :-( ). I've only ovirtmgmt Bridge up and running and all DNS-Names seen in
> the screenshot are resolvable. It shouldn't be related to your problem
> regarding multiple nic's in the engine-vm. As seen the hosted-engine setup
> is already succsessfull, engine-vm running, but the setup fails in
> registering the host (microcloud21...) in the engine.
>
>
> [...]
>
>   |- [ INFO  ] Starting engine service
>   |- [ INFO  ] Restarting httpd
>   |- [ INFO  ] Restarting ovirt-vmconsole proxy service
>   |- [ INFO  ] Stage: Clean up
>   |-   Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20160517222119-ndcyxn.log
>   |- [ INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20160517223055-setup.conf'
>   |- [ INFO  ] Stage: Pre-termination
>   |- [ INFO  ] Stage: Termination
>   |- [ INFO  ] Execution of setup completed successfully
>   |- HE_APPLIANCE_ENGINE_SETUP_SUCCESS
> [ INFO  ] Engine-setup successfully completed
> [ INFO  ] Engine is still unreachable
> [ INFO  ] Engine is still not reachable, waiting...
> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
> [ INFO  ] Acquiring internal CA cert from the engine
> [ INFO  ] The following CA certificate is going to be used, please
> immediately interrupt if not correct:
> [ INFO  ] Issuer: C=US, O=rxmgmt.databay.de,
> CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US, O=
> rxmgmt.databay.de, CN=engine-mcIII.rxmgmt.databay.de.77792, Fingerprint
> (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
> [ INFO  ] Connecting to the Engine
> [ ERROR ] Cannot automatically add the host to cluster Default: Host name
> must be formed of alphanumeric characters, numbers or "-_."
>
>
>   Please check Engine VM configuration.
>
>   Make a selection from the options below:
>   (1) Continue setup - Engine VM configuration has been fixed
>   (2) Abort setup
>
>   (1, 2)[1]: 1
>
>   Checking for oVirt-Engine status at
> engine-mcIII.rxmgmt.databay.de...
> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
> [ ERROR ] Cannot automatically add the host to cluster Default: Host name
> must be formed of alphanumeric characters, numbers or "-_."
>
>
>   Please check Engine VM configuration.
>
>   Make a selection from the options below:
>   (1) Continue setup - Engine VM configuration has been fixed
>   (2) Abort setup
>
>   (1, 2)[1]:
>
> Additionally I can see the error in the eninge-vm in
> /var/log/ovirt-engine/engine.log:
>
> 2016-05-17 14:08:15,296 WARN
> [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-13)
> [9277b0a] CanDoAction of action 'AddVds' failed for user admin@internal.
> Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
> microcloud21.rxmgmt.databay.de,VALIDATION_VDS_NAME_INVALID
> 2016-05-17 14:08:15,360 ERROR
> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default
> task-13) [] Operation Failed: [Host name must be formed of alphanumeric
> characters, numbers or "-_."]
>

'microcloud21.rxmgmt.databay.de' is the host address, in oVirt the host has
also a name.
Can you please look for OVEHOSTED_ENGINE/appHostName in your
hosted-engine-setup logs?

>
>
> The hostname that should be registered is the correct fqdn for the
> virtualization host that runs the engine-vm, points to the ip of the
> ovirtmgmt-Bridge and also the IP is reverse-resolvable to the hostname.
> I checked /etc/hostname of the host for non-printable characters and as
> you can see that is a valid hostname.
>
> All is running on Centos 7 Versions:
> ovirt-engine-appliance.noarch 3.6-20160420.1.el7.centos  @ovirt-3.6
> ovirt-engine-sdk-python.noarch3.6.5.0-1.el7.centos   @ovirt-3.6
> ovirt-host-deploy.noarch  1.4.1-1.el7.centos @ovirt-3.6
> ovirt-hosted-engine-ha.noarch 1.3.5.3-1.1.el7
> @centos-ovirt36
> ovirt-hosted-engine-setup.noarch  1.3.5.0-1.1.el7
> @centos-ovirt36
> ovirt-setup-lib.noarch1.0.1-1.el7.centos @ovirt-3.6
> ovirt-vmconsole.noarch1.0.0-1.el7.centos @ovirt-3.6
> ovirt-vmconsole-host.noarch   1.0.0-1.el7.centos @ovirt-3.6
>
> Since I already repeated the setup for many times now, I need your help.
> --
>
>
> *Ralf Schenk*
> fon +49 (0) 24 05 / 40 83 70
> fax +49 (0) 24 05 / 40 83 759
> mail *r...@databay.de* 
>
> *Databay AG*
> Jens-Otto-Krag-Straße 11
> D-52146 Würselen
> *www.databay.de* 
>
> Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
> Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, 

Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-18 Thread Martin Perina
On Wed, May 18, 2016 at 9:48 AM, Alexis HAUSER <
alexis.hau...@telecom-bretagne.eu> wrote:

> >> Is their a way to search for attributes into the ovirt web interface,
> for
> >> example "memberof" ?
> >>
> >> I can't imagine adding hundreds or thousand of users one by one...What
> >> would be the solutions ?
> >>
>
> >You can assign specific permission to the group that relevant users are
> >member of (we support also nested groups if needed)​
> >and of course you can select multiple users/groups when you assign
> >permissions.
>
> >If the above is not option for you, could you try to describe what exactly
> >are you trying to achieve?
>
> >Thanks
>
> >Martin Perina
>
> As I explained, my groups are not in the same dn path than my users. As it
> is not possible to add multiple dn path, my only solution is to use users.


​Well, that's the 1st time I've heard​ about LDAP setup where users and
groups of one domain are not under same baseDN. Usually all LDAP setups
have some baseDN (for example 'dc=company,dc=com') and somewhere under this
baseDN (not necessarily directly under it) we could find users and groups.
The only exception to this is ActiveDirectory with multi-domain trust
inside single forrest (which we currently support and user of domainA can
be a member of a group from domainB) and multi-forrest trust (which we
don't support).

Those users have attributes like "member of" which still keep the
> information about what group they belong too. I didn't find any way using
> the interface to filter by attribute, for example to show all users member
> of group "foo".
>

​We don't support LDAP searches in the webadmin UI, because we don't
distinguish betweem LDAP (ovirt-engine-extension-aaa-ldap) or database
(ovirt-engine-extension-aaa-jdbc) providers​, both of them provides users
and groups for oVirt using same AAA interface.

I could do that with ldapsearch, but then how would I inject the result to
> ovirt configuration to add those users to specific ovirt roles ("ovirt
> permission groups") ?
>

​So the only way that comes to my mind is to use one of our SDKs (Python,​
Java, Ruby). You would need to implement LDAP query by yourself and them
add wanted permission to those users using our SDKs.


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


[ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

2016-05-18 Thread Ralf Schenk
Dear list,

i'm working for days on a hosted-engine setup on glusterfs and 'm stuck
in the last phase of hosted-engine --deploy see Text output (for two
days now :-( ). I've only ovirtmgmt Bridge up and running and all
DNS-Names seen in the screenshot are resolvable. It shouldn't be related
to your problem regarding multiple nic's in the engine-vm. As seen the
hosted-engine setup is already succsessfull, engine-vm running, but the
setup fails in registering the host (microcloud21...) in the engine.


[...]

  |- [ INFO  ] Starting engine service
  |- [ INFO  ] Restarting httpd
  |- [ INFO  ] Restarting ovirt-vmconsole proxy service
  |- [ INFO  ] Stage: Clean up
  |-   Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160517222119-ndcyxn.log
  |- [ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20160517223055-setup.conf'
  |- [ INFO  ] Stage: Pre-termination
  |- [ INFO  ] Stage: Termination
  |- [ INFO  ] Execution of setup completed successfully
  |- HE_APPLIANCE_ENGINE_SETUP_SUCCESS
[ INFO  ] Engine-setup successfully completed
[ INFO  ] Engine is still unreachable
[ INFO  ] Engine is still not reachable, waiting...
[ INFO  ] Engine replied: DB Up!Welcome to Health Status!
[ INFO  ] Acquiring internal CA cert from the engine
[ INFO  ] The following CA certificate is going to be used, please
immediately interrupt if not correct:
[ INFO  ] Issuer: C=US, O=rxmgmt.databay.de,
CN=engine-mcIII.rxmgmt.databay.de.77792, Subject: C=US,
O=rxmgmt.databay.de, CN=engine-mcIII.rxmgmt.databay.de.77792,
Fingerprint (SHA-1): D71A5EA7C5C2C2450F1473523C3A1E022945430
[ INFO  ] Connecting to the Engine
[ ERROR ] Cannot automatically add the host to cluster Default: Host
name must be formed of alphanumeric characters, numbers or "-_."


  Please check Engine VM configuration.

  Make a selection from the options below:
  (1) Continue setup - Engine VM configuration has been fixed
  (2) Abort setup

  (1, 2)[1]: 1

  Checking for oVirt-Engine status at
engine-mcIII.rxmgmt.databay.de...
[ INFO  ] Engine replied: DB Up!Welcome to Health Status!
[ ERROR ] Cannot automatically add the host to cluster Default: Host
name must be formed of alphanumeric characters, numbers or "-_."


  Please check Engine VM configuration.

  Make a selection from the options below:
  (1) Continue setup - Engine VM configuration has been fixed
  (2) Abort setup

  (1, 2)[1]:

Additionally I can see the error in the eninge-vm in
/var/log/ovirt-engine/engine.log:

2016-05-17 14:08:15,296 WARN 
[org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-13)
[9277b0a] CanDoAction of action 'AddVds' failed for user admin@internal.
Reasons: VAR__ACTION__ADD,VAR__TYPE__HOST,$server
microcloud21.rxmgmt.databay.de,VALIDATION_VDS_NAME_INVALID
2016-05-17 14:08:15,360 ERROR
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default
task-13) [] Operation Failed: [Host name must be formed of alphanumeric
characters, numbers or "-_."]

The hostname that should be registered is the correct fqdn for the
virtualization host that runs the engine-vm, points to the ip of the
ovirtmgmt-Bridge and also the IP is reverse-resolvable to the hostname.
I checked /etc/hostname of the host for non-printable characters and as
you can see that is a valid hostname.

All is running on Centos 7 Versions:
ovirt-engine-appliance.noarch 3.6-20160420.1.el7.centos  @ovirt-3.6
ovirt-engine-sdk-python.noarch3.6.5.0-1.el7.centos   @ovirt-3.6
ovirt-host-deploy.noarch  1.4.1-1.el7.centos @ovirt-3.6
ovirt-hosted-engine-ha.noarch 1.3.5.3-1.1.el7   
@centos-ovirt36
ovirt-hosted-engine-setup.noarch  1.3.5.0-1.1.el7   
@centos-ovirt36
ovirt-setup-lib.noarch1.0.1-1.el7.centos @ovirt-3.6
ovirt-vmconsole.noarch1.0.0-1.el7.centos @ovirt-3.6
ovirt-vmconsole-host.noarch   1.0.0-1.el7.centos @ovirt-3.6

Since I already repeated the setup for many times now, I need your help.
-- 


*Ralf Schenk*
fon +49 (0) 24 05 / 40 83 70
fax +49 (0) 24 05 / 40 83 759
mail *r...@databay.de* 

*Databay AG*
Jens-Otto-Krag-Straße 11
D-52146 Würselen
*www.databay.de* 

Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm.
Philipp Hermanns
Aufsichtsratsvorsitzender: Klaus Scholzen (RA)


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


Re: [ovirt-users] Errors while trying to join an external LDPA provider

2016-05-18 Thread Alexis HAUSER
>> Is their a way to search for attributes into the ovirt web interface, for
>> example "memberof" ?
>>
>> I can't imagine adding hundreds or thousand of users one by one...What
>> would be the solutions ?
>>

>You can assign specific permission to the group that relevant users are
>member of (we support also nested groups if needed)​
>and of course you can select multiple users/groups when you assign
>permissions.

>If the above is not option for you, could you try to describe what exactly
>are you trying to achieve?

>Thanks

>Martin Perina

As I explained, my groups are not in the same dn path than my users. As it is 
not possible to add multiple dn path, my only solution is to use users. Those 
users have attributes like "member of" which still keep the information about 
what group they belong too. I didn't find any way using the interface to filter 
by attribute, for example to show all users member of group "foo".
I could do that with ldapsearch, but then how would I inject the result to 
ovirt configuration to add those users to specific ovirt roles ("ovirt 
permission groups") ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virt-in-virt problem: DHCP failing for a container in a oVirt VM

2016-05-18 Thread Michal Skrivanek


> On 15 May 2016, at 07:24, Yedidyah Bar David  wrote:
> 
>> On Wed, May 11, 2016 at 5:17 PM, Will Dennis  wrote:
>> OK; I searched the oVirt site for 'engine-config' (unfamiliar with it) and 
>> found the following page:
>> https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples/
>> 
>> I see the instructions on it for "Adding VM custom properties (macspoof)", 
>> so I did execute the referenced engine-config line, and then restarted the 
>> ovirt-engine service. I then went and powered off the VM I'd like to 
>> deactivate mac spoof filtering on, then went in to the User Portal and 
>> clicked "Edit" on the VM. However, I can not find a "Custom Properties" 
>> dialog anywhere in the VM Edit UI (yes, I did enable Advanced options.) 
>> Where should I be seeing this?
> 
> Not sure it's visible in the User Portal, might be a matter of permissions.

Iirc it's not in user portal by design. All custom properties are generally 
considered admin-like stuff

> 
> In the admin portal it has, in the same dialog, its own sub menu.
> -- 
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to migrate un-migratable VMs?

2016-05-18 Thread Michal Skrivanek


> On 17 May 2016, at 20:32, Nicolas Ecarnot  wrote:
> 
> Le 17/05/2016 13:29, Tomas Jelinek a écrit :
>> in 4.0 we have been working hard to enhance the migrations:
>> https://bugzilla.redhat.com/1252426
>> 
>> in 4.0 it should:
>> - make use of the bandwidth much better
>> - have some policies which will be managing the downtime and you will be 
>> able to pick per cluster and override per VM
>> - have ability to write custom hooks inside the guest which will be notified 
>> that now the VM is migrating (if you have some custom logic you want to do)
>> 
>> ...and some more enhancements
>> 
>> Long story short, in 4.0 it your VMs should migrate much more smooth
> 
> OK Tomas, thank you for your answer.
> But I don't understand how that would help in the following problem:

The situation mentioned it the bug will not happen anymore. The bandwidth and 
larger downtime would make sure that migration converges

> 
>>> I guess increasing the allowed page memory is not a correct answer as it
>>> will fill as before.
> 
> -- 
> Nicolas ECARNOT
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users