[ovirt-users] Re: VM status codes

2019-07-15 Thread Mitja Mihelič

Perfect! Thank you Michal.

Kind regards,
Mitja

On 15/07/2019 18:31, Michal Skrivanek wrote:



On 15 Jul 2019, at 15:11, Mitja Mihelič <mailto:mitja.mihe...@arnes.si>> wrote:



Hi!

We are graphing certain parameters we collect from the engine database.
We use following query to get the count of running VMs:
select count(*),cluster.name <http://cluster.name> as cluster from 
vms, cluster where vms.cluster_id = cluster.cluster_id and vms.status 
= 1 group by cluster;


It would help extremely if we knew what the numeric VM status codes mean.


https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VMStatus.java#L9 



For example, I know that "status = 1" means the VM is running. The 
ones we can cause through the web interface are easy enough to figure 
out. But there are error states, that cannot be produced by standard use.


For instance, when the event log says "VM foobar has been paused due 
to storage I/O problem." the following states get set in the DB
(Query used: select * from vm_dynamic where vm_guid =(select vm_guid 
from vm_static where vm_name = 'foobar';):

status | 4
exit_status    | 0
pause_status   | 2
guest_agent_status | 0

What do they mean?

If you could point me to a table somewhere with the state 
descriptions it would be extremely helpful.


Kind regards,
Mitja Mihelič
___
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/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/ZBNGPWHGYHV4M3MM2VXTMKVYKUNARWVG/


___
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/3ZUUSNJUT5R52O3PU2KS5ZD4VSACFA27/


[ovirt-users] VM status codes

2019-07-15 Thread Mitja Mihelič

Hi!

We are graphing certain parameters we collect from the engine database.
We use following query to get the count of running VMs:
select count(*),cluster.name as cluster from vms, cluster where 
vms.cluster_id = cluster.cluster_id and vms.status = 1 group by cluster;


It would help extremely if we knew what the numeric VM status codes mean.
For example, I know that "status = 1" means the VM is running. The ones 
we can cause through the web interface are easy enough to figure out. 
But there are error states, that cannot be produced by standard use.


For instance, when the event log says "VM foobar has been paused due to 
storage I/O problem." the following states get set in the DB
(Query used: select * from vm_dynamic where vm_guid =(select vm_guid 
from vm_static where vm_name = 'foobar';):

status | 4
exit_status    | 0
pause_status   | 2
guest_agent_status | 0

What do they mean?

If you could point me to a table somewhere with the state descriptions 
it would be extremely helpful.


Kind regards,
Mitja Mihelič
___
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/ZBNGPWHGYHV4M3MM2VXTMKVYKUNARWVG/


[ovirt-users] Snapshots and quotas

2019-06-13 Thread Mitja Mihelič

Hi!

We are using oVirt 4.1.9 with quotas enabled. The usual quota is 40GB 
per user, usually used for a webserver. It is created from a template 
with a 40GB disk.
When such users try to create a snapshot of their VM, oVirt blocks the 
operation with "Cannot create Snapshot. Quota has insufficient storage 
resources."


I could increase the quota to 2x size. But then users would create 
additional disks, snapshot creation would fail due to insufficient 
storage resources and we're back to square one.


I could increase "Storage Grace" to 200%. It would take users longer to 
figure out that they can create additional disk even if the quota showed 
100% full. But sooner or later we would be back to square one.


Is it possible to exclude snapshots from the quota system?

Kind regards,
Mitja

P.S.
"Storage Threshold" is currently set to 80% and "Storage Grace" to 120%. 
Where can we change the default settings to something else?
E.g. new quotas would have "Storage Threshold" set to 90% and "Storage 
Grace" to 160%.

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


[ovirt-users] Discard a snapshot

2019-03-15 Thread Mitja Mihelič

Hi!

We have run into a problem migrating a VM's disk. While doing a live 
disk migration it all went well until "Removing Snapshot Auto-generated 
for Live Storage Migration". The operation started and got stuck in the 
"Preparing to merge" stage. The task was visible as an async task for a 
couple of days, then dissapeared. The snapshot named "Auto-generated for 
Live Storage Migration" still exists.

If we try to start the VM it produces the following error:
VM VM_NAME_HERE is down with error. Exit message: Bad volume 
specification {u'index': 0, u'domainID': 
u'47ee9bde-4f18-43c2-9383-0d30a27d1ae7', 'reqsize': '0', u'format': 
u'cow', u'bootOrder': u'1', u'address': {u'function': u'0x0', u'bus': 
u'0x00', u'domain': u'0x', u'type': u'pci', u'slot': u'0x05'}, 
u'volumeID': u'3b0184b7-5c5d-4669-8b3a-04880883118a', 'apparentsize': 
'19193135104', u'imageID': u'35599677-250a-4586-9db1-4df8f3291164', 
u'discard': False, u'specParams': {}, u'readonly': u'false', u'iface': 
u'virtio', u'optional': u'false', u'deviceId': 
u'35599677-250a-4586-9db1-4df8f3291164', 'truesize': '19193135104', 
u'poolID': u'35628205-9fa3-41de-b914-84f9adb633e4', u'device': u'disk', 
u'shared': u'false', u'propagateErrors': u'off', u'type': u'disk'}.


From what I understand the data access path is snapshot->"disk before 
snapshot". And since the snapshot is corrupted it cannot be accessed and 
the whole VM start process fails. I believe that the disk before the 
snapshot was made is still intact.


How can we discard the whole snapshot so that are left only with the 
state before the snapshot was made?

We can afford to lose the data in the snapshot.

Best regards,
Mitja
___
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/NVYCGZW4MICJJDECJT3VTH5DT2UHUH5X/


[ovirt-users] Re: Spice console pixelated noise on display changes

2018-07-10 Thread Mitja Mihelič

Answering the question for posterity.
We found a temporary solution to the described problem.
We had a development cluster with a working SPICE console. By comparing 
packages we have established the differences between working and not 
working SPICE setup. We have isolated the spice-server package.

The installed version was spice-server-0.14.0-2.el7_5.3.x86_64
We downgraded the package to spice-server-0.12.8-2.el7.1.x86_64 and 
rebooted the nodes in sequence.

Now the SPICE console works again.

Kind regards,
Mitja

On 13/06/2018 09:57, Mitja Mihelič wrote:

Greg, thank you for the referral. I will post my question there.

Since oVirt uses spice it seemed like a good shot to ask fellow admins 
here in the hope somebody has come across something alike.


Kind regards,
Mitja

On 12/06/2018 20:39, Greg Sheremeta wrote:
The spice-devel list can probably help: 
https://lists.freedesktop.org/mailman/listinfo/spice-devel


Best wishes,
Greg

On Tue, Jun 12, 2018 at 10:25 AM, Mitja Mihelič 
mailto:mitja.mihe...@arnes.si>> wrote:


Dear all,

We are running the following setup:
ovirt-engine host:
- CentOS release 7.5.1804
- ovirt-engine-4.1.9.1-1.el7.centos.noarch
- spice-html5-0.1.7-1.el7.noarch

We have noticed problems with the Spice console. When it opens
and displays the information presented by the VM's console it is
OK at first. But as soon as any part of the display changes, that
part gets replaced by random pixelated noise.
For example I open the console of a standard CentOS server. When
I type something at the login prompt the text is invisible and
random pixels are displayed at the position of the blinking
cursor. Please see attached screenshot
spice-1-login_typing_and_cursor_waiting.png.

Please also see other the attached screenshots.
Login prompt after VM reboot: spice-2-login_after_boot.png
Login prompt after hitting Enter a few times:
spice-3-login_2x_enter.png

We have tried and succesfully reproduced the issue on OSX
(Chrome, FF, Safari) and Windows (Chrome, FF).
VNC works fine.

Why would this be happening? Help would be very much appreciated.

Kind regards,
Mitja

    -- 
Mitja Mihelič

ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 7

___
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/site/privacy-policy/
<https://www.ovirt.org/site/privacy-policy/>
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<https://www.ovirt.org/community/about/community-guidelines/>
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/UOJIM33UOXVIX4IP7KMFZIFJPCBICWRG/

<https://lists.ovirt.org/archives/list/users@ovirt.org/message/UOJIM33UOXVIX4IP7KMFZIFJPCBICWRG/>




--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

<https://www.redhat.com/>

gsher...@redhat.com <mailto:gsher...@redhat.com> IRC: gshereme

<https://red.ht/sig>





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


___
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/62YGELGO7IF4Y7KYY25HBTKTNYXDTELJ/


[ovirt-users] Re: Spice console pixelated noise on display changes

2018-06-13 Thread Mitja Mihelič

Greg, thank you for the referral. I will post my question there.

Since oVirt uses spice it seemed like a good shot to ask fellow admins 
here in the hope somebody has come across something alike.


Kind regards,
Mitja

On 12/06/2018 20:39, Greg Sheremeta wrote:
The spice-devel list can probably help: 
https://lists.freedesktop.org/mailman/listinfo/spice-devel


Best wishes,
Greg

On Tue, Jun 12, 2018 at 10:25 AM, Mitja Mihelič 
mailto:mitja.mihe...@arnes.si>> wrote:


Dear all,

We are running the following setup:
ovirt-engine host:
- CentOS release 7.5.1804
- ovirt-engine-4.1.9.1-1.el7.centos.noarch
- spice-html5-0.1.7-1.el7.noarch

We have noticed problems with the Spice console. When it opens and
displays the information presented by the VM's console it is OK at
first. But as soon as any part of the display changes, that part
gets replaced by random pixelated noise.
For example I open the console of a standard CentOS server. When I
type something at the login prompt the text is invisible and
random pixels are displayed at the position of the blinking
cursor. Please see attached screenshot
spice-1-login_typing_and_cursor_waiting.png.

Please also see other the attached screenshots.
Login prompt after VM reboot: spice-2-login_after_boot.png
Login prompt after hitting Enter a few times:
spice-3-login_2x_enter.png

We have tried and succesfully reproduced the issue on OSX (Chrome,
FF, Safari) and Windows (Chrome, FF).
VNC works fine.

Why would this be happening? Help would be very much appreciated.

Kind regards,
Mitja

    -- 
Mitja Mihelič

ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 7

___
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/site/privacy-policy/
<https://www.ovirt.org/site/privacy-policy/>
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<https://www.ovirt.org/community/about/community-guidelines/>
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/UOJIM33UOXVIX4IP7KMFZIFJPCBICWRG/

<https://lists.ovirt.org/archives/list/users@ovirt.org/message/UOJIM33UOXVIX4IP7KMFZIFJPCBICWRG/>




--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

<https://www.redhat.com/>

gsher...@redhat.com <mailto:gsher...@redhat.com> IRC: gshereme

<https://red.ht/sig>



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


[ovirt-users] Spice console pixelated noise on display changes

2018-06-12 Thread Mitja Mihelič

Dear all,

We are running the following setup:
ovirt-engine host:
- CentOS release 7.5.1804
- ovirt-engine-4.1.9.1-1.el7.centos.noarch
- spice-html5-0.1.7-1.el7.noarch

We have noticed problems with the Spice console. When it opens and 
displays the information presented by the VM's console it is OK at 
first. But as soon as any part of the display changes, that part gets 
replaced by random pixelated noise.
For example I open the console of a standard CentOS server. When I type 
something at the login prompt the text is invisible and random pixels 
are displayed at the position of the blinking cursor. Please see 
attached screenshot spice-1-login_typing_and_cursor_waiting.png.


Please also see other the attached screenshots.
Login prompt after VM reboot: spice-2-login_after_boot.png
Login prompt after hitting Enter a few times: spice-3-login_2x_enter.png

We have tried and succesfully reproduced the issue on OSX (Chrome, FF, 
Safari) and Windows (Chrome, FF).

VNC works fine.

Why would this be happening? Help would be very much appreciated.

Kind regards,
Mitja

--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 7
___
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/UOJIM33UOXVIX4IP7KMFZIFJPCBICWRG/


Re: [ovirt-users] Cannot add host to cluster - install fails

2015-07-08 Thread Mitja Mihelič

On 06. 07. 2015 11:24, Yedidyah Bar David wrote:

- Original Message -

From: "Mitja Mihelič" 
To: "Yedidyah Bar David" 
Cc: users@ovirt.org
Sent: Monday, July 6, 2015 11:49:28 AM
Subject: Re: [ovirt-users] Cannot add host to cluster - install fails

On 05/07/15 13:40, Yedidyah Bar David wrote:

- Original Message -

From: "Mitja Mihelič"
To:users@ovirt.org
Sent: Friday, July 3, 2015 2:12:28 PM
Subject: [ovirt-users] Cannot add host to cluster - install fails

Dear all,

We are running the following setup:
ovirt-engine host:
- CentOS release 6.6
- ovirt-engine-3.5.3.1-1.el6.noarch

node:
- CentOS Linux release 7.1.1503
- vdsm-4.16.20-0.el7.centos.x86_64

While adding a new host to our cluster the package installations fail.

I have attached a piece of engine.log and a full ovirt-host-deploy* log
from the node.

Why is is happening? Help would be very much appreciated.

Perhaps an older ovirt-host-deploy package?

You seem to have 1.2.3, while engine 3.5.3 requires at least 1.3.0 -
not sure how this happened. Can you try to upgrade?

Thanks and best regards,

This is interesting. The ovirt-host-deploy package version on the engine
host is ovirt-host-deploy-1.3.1-1.el6.noarch.
I tried to install ovirt-host-deploy manually using yum on the cluster
node. It wanted to install ovirt-host-deploy-1.3.1-1.el7, which should
be OK.
When adding a node, the install process tries to push an older version
of the ovirt-host-deploy package and also for the wrong CentOS version
(el6 instead od el7).

Could this be a problem of the ovirt engine?

The engine caches the bundle (tarfile) used for host-deploy in
/var/cache/ovirt-engine/ovirt-host-deploy.tar .

You can try to remove/rename it so that the engine will re-create it.
It might have a too-new timestamp with older content for some reason.

Thanks! This worked for us.

Kind regards,
Mitja
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot add host to cluster - install fails

2015-07-06 Thread Mitja Mihelič

On 05/07/15 13:40, Yedidyah Bar David wrote:

- Original Message -

From: "Mitja Mihelič"
To:users@ovirt.org
Sent: Friday, July 3, 2015 2:12:28 PM
Subject: [ovirt-users] Cannot add host to cluster - install fails

Dear all,

We are running the following setup:
ovirt-engine host:
- CentOS release 6.6
- ovirt-engine-3.5.3.1-1.el6.noarch

node:
- CentOS Linux release 7.1.1503
- vdsm-4.16.20-0.el7.centos.x86_64

While adding a new host to our cluster the package installations fail.

I have attached a piece of engine.log and a full ovirt-host-deploy* log
from the node.

Why is is happening? Help would be very much appreciated.

Perhaps an older ovirt-host-deploy package?

You seem to have 1.2.3, while engine 3.5.3 requires at least 1.3.0 -
not sure how this happened. Can you try to upgrade?

Thanks and best regards,
This is interesting. The ovirt-host-deploy package version on the engine 
host is ovirt-host-deploy-1.3.1-1.el6.noarch.
I tried to install ovirt-host-deploy manually using yum on the cluster 
node. It wanted to install ovirt-host-deploy-1.3.1-1.el7, which should 
be OK.
When adding a node, the install process tries to push an older version 
of the ovirt-host-deploy package and also for the wrong CentOS version 
(el6 instead od el7).


Could this be a problem of the ovirt engine?

Kind regards,
Mitja

Here are the ovirt packages currently installed on th engine host:
[root@HOST ~]# rpm -qa |egrep ovirt | sort
ovirt-engine-3.5.3.1-1.el6.noarch
ovirt-engine-backend-3.5.3.1-1.el6.noarch
ovirt-engine-cli-3.5.0.5-1.el6.noarch
ovirt-engine-dbscripts-3.5.3.1-1.el6.noarch
ovirt-engine-dwh-3.5.3-1.el6.noarch
ovirt-engine-dwh-setup-3.5.3-1.el6.noarch
ovirt-engine-extension-aaa-ldap-1.0.2-1.el6.noarch
ovirt-engine-extensions-api-impl-3.5.3.1-1.el6.noarch
ovirt-engine-jboss-as-7.1.1-1.el6.x86_64
ovirt-engine-lib-3.5.3.1-1.el6.noarch
ovirt-engine-reports-3.5.3-1.el6.noarch
ovirt-engine-reports-setup-3.5.3-1.el6.noarch
ovirt-engine-restapi-3.5.3.1-1.el6.noarch
ovirt-engine-sdk-python-3.5.2.1-1.el6.noarch
ovirt-engine-setup-3.5.3.1-1.el6.noarch
ovirt-engine-setup-base-3.5.3.1-1.el6.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.5.3.1-1.el6.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-3.5.3.1-1.el6.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.5.3.1-1.el6.noarch
ovirt-engine-tools-3.5.3.1-1.el6.noarch
ovirt-engine-userportal-3.5.3.1-1.el6.noarch
ovirt-engine-webadmin-portal-3.5.3.1-1.el6.noarch
ovirt-engine-websocket-proxy-3.5.3.1-1.el6.noarch
*ovirt-host-deploy-1.3.1-1.el6.noarch*
ovirt-host-deploy-java-1.3.1-1.el6.noarch
ovirt-image-uploader-3.5.1-1.el6.noarch
ovirt-iso-uploader-3.5.2-1.el6.noarch
ovirt-log-collector-3.5.3-1.el6.noarch
ovirt-release34-1.0.3-1.noarch
ovirt-release35-004-1.noarch
ovirt-release-el6-10.0.1-3.noarch
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Cannot add host to cluster - install fails

2015-07-03 Thread Mitja Mihelič

Dear all,

We are running the following setup:
ovirt-engine host:
- CentOS release 6.6
- ovirt-engine-3.5.3.1-1.el6.noarch

node:
- CentOS Linux release 7.1.1503
- vdsm-4.16.20-0.el7.centos.x86_64

While adding a new host to our cluster the package installations fail.

I have attached a piece of engine.log and a full ovirt-host-deploy* log 
from the node.


Why is is happening? Help would be very much appreciated.

Kind regards,
Mitja

--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 78

2015-07-03 12:53:07,916 INFO  [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) Host onode1.arnes.si reports unique id 071F7F82-4CC4-3343-9543-F18CFE6CF7E3
2015-07-03 12:53:07,934 INFO  [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) Assigning unique id 071F7F82-4CC4-3343-9543-F18CFE6CF7E3 to Host onode1.arnes.si
2015-07-03 12:53:07,972 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) Error during deploy dialog: java.lang.NullPointerException
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:580) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:579) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:668) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:873) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

2015-07-03 12:53:07,983 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (org.ovirt.thread.pool-8-thread-20) [30047c1c] Error during host onode1.arnes.si install: java.lang.NullPointerException
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:580) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:579) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:668) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:873) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

2015-07-03 12:53:07,986 ERROR [org.ovirt.engine.core.bll.InstallerMessages] (org.ovirt.thread.pool-8-thread-20) [30047c1c] Installation onode1.arnes.si: null
2015-07-03 12:53:07,989 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-20) [30047c1c] Correlation ID: 30047c1c, Call Stack: null, Custom Event ID: -1, Message: Failed to install Host onode1.arnes.si. .
2015-07-03 12:53:07,990 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (org.ovirt.thread.pool-8-thread-20) [30047c1c] Error during host onode1.arnes.si install, prefering first exception: java.lang.NullPointerException
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:580) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:579) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:668) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:873) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

2015-07-03 12:53:07,994 ERROR [org.ovirt.engine.core.bll.InstallVdsInternalCommand] (org.ovirt.thread.pool-8-thread-20) [30047c1c] Host installation failed for host b4c8160d-1bec-43a5-a4ca-d8768b7f2038, onode1.arnes.si.: java.lang.NullPointerException
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:580) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$37.call(VdsDeploy.java:579) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._nextCustomizationEntry(VdsDeploy.java:668) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:873) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83) [bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969) [bll.jar:]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]

2015-07-03 12:53:07,998 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-20) [30047c1c] START, SetVdsStatusVDSCommand(HostName = onode1.arnes.si, HostId = b4c8160d-1bec-43a5-a4ca-d8768b7f2038, status=InstallFailed, nonOperationalReason=NONE, stopSpmFailureLogged=false), log id: 3184e78a
2015-07-03 12:53:08,001 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-8-thread-20) [30047c1c

Re: [ovirt-users] LDAP bind DN generation problem

2015-06-19 Thread Mitja Mihelič

On 18/06/15 14:49, Ondra Machacek wrote:

On 06/18/2015 02:07 PM, Mitja Mihelič wrote:

Hi!

Hi


We just upgaded oVirt from 3.4 to 3.5 and now users cannot select the 
LDAP domain on the login screen. Only internal is available.
Our LDAP server is actually a 389DS instance and we are using for 
authentication in oVirt without Kerberos. The existing setup has 
worked since the days of 3.2.


When we try to validate the domain, we get
[root@brda ~]# engine-manage-domains validate
Error: Cannot authenticate user ovirt to domain guest.arnes.si, 
details: [LDAP: error code 32 - No Such Object]; nested exception is 
javax.naming.AuthenticationException: [LDAP: error code 32 - No Such 
Object]
Failure while testing domain guest.arnes.si. Details: Cannot 
authenticate user to LDAP server.


The LDAP log reports
[18/Jun/2015:13:52:38 +0200] conn=3 op=0 BIND 
dn="uid=ovirt,ou=Peopledc=guest,dc=arnes,dc=si" method=128 version=3

As you can see there is a comma missing before "dc=guest,dc=arnes,dc=si".

Before the upgrade the bind DN was generated properly as
[18/Jun/2015:12:42:45 +0200] conn=10219 op=0 BIND 
dn="uid=ovirt,ou=People,dc=arnes,dc=si" method=128 version=3


So what is your search user's DN ?
Is it:
dn="uid=ovirt,ou=People,dc=guest,dc=arnes,dc=si"

or

dn="uid=ovirt,ou=People,dc=arnes,dc=si"

Is it possible for you to try if different user works fine?
Because user with very similar DN works for me just OK.
At the time of posting I did not notice the difference, thanks for the 
spot. The correct DN is dn="uid=ovirt,ou=People,dc=arnes,dc=si".
Although that means that after upgrading to 3.5 the DN for the search 
user is formatted differently when issuing an LDAP bind request.


In the end we noticed that the AAA part of oVirt was reworked in 3.5. We 
deleted the old LDAP domain, that we manually inserted into the database 
back in 3.2 days. Then we added LDAP as an authentication source as per 
AAA instructions, which we found a bit vague. The README on github for 
the AAA extension provided most of the information.


We also found that the format of external_id in the users table had been 
changed from fdfc627c-d875-11e0-90f0-83df133b58cc to 
fdfc627c-d87511e0-90f083df-133b58cc. So naturally users could not log 
in. Instead additional users were created with this new format 
external_id, a namespace with "dc=arnes,dc=si" and a new user_id.
We manually deleted the faux users, updated the external_id to the new 
format and added a namespace entry for existing users.

That worked for us.

Kind regards, Mitja




This looks like a bug.
Is there a quick fix we can do to fix this typo?

We are also interested in knowing what is the correct way in 3.5 to 
add a domain that uses an LDAP server for its authentication source 
without Kerberos.


Please see following links:
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README.profile;hb=HEAD
*http://www.ovirt.org/Features/AAA
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=tree;f=examples;hb=HEAD
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD#l6
*https://github.com/machacekondra/ovirt-engine-kerbldap-migration



Kind regards, Mitja
--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8800, fax: +386 1 479 88 99


___
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] LDAP bind DN generation problem

2015-06-19 Thread Mitja Mihelič


On 19. 06. 2015 12:44, Alon Bar-Lev wrote:


- Original Message -

From: "Mitja Mihelič" 
To: "Ondra Machacek" , users@ovirt.org
Sent: Friday, June 19, 2015 1:39:14 PM
Subject: Re: [ovirt-users] LDAP bind DN generation problem

On 18/06/15 14:49, Ondra Machacek wrote:


On 06/18/2015 02:07 PM, Mitja Mihelič wrote:


Hi!
Hi



We just upgaded oVirt from 3.4 to 3.5 and now users cannot select the LDAP
domain on the login screen. Only internal is available.
Our LDAP server is actually a 389DS instance and we are using for
authentication in oVirt without Kerberos. The existing setup has worked
since the days of 3.2.

When we try to validate the domain, we get
[root@brda ~]# engine-manage-domains validate
Error: Cannot authenticate user ovirt to domain guest.arnes.si, details:
[LDAP: error code 32 - No Such Object]; nested exception is
javax.naming.AuthenticationException: [LDAP: error code 32 - No Such Object]
Failure while testing domain guest.arnes.si. Details: Cannot authenticate
user to LDAP server.

The LDAP log reports
[18/Jun/2015:13:52:38 +0200] conn=3 op=0 BIND
dn="uid=ovirt,ou=Peopledc=guest,dc=arnes,dc=si" method=128 version=3
As you can see there is a comma missing before "dc=guest,dc=arnes,dc=si".

Before the upgrade the bind DN was generated properly as
[18/Jun/2015:12:42:45 +0200] conn=10219 op=0 BIND
dn="uid=ovirt,ou=People,dc=arnes,dc=si" method=128 version=3

So what is your search user's DN ?
Is it:
dn="uid=ovirt,ou=People,dc=guest,dc=arnes,dc=si"

or

dn="uid=ovirt,ou=People,dc=arnes,dc=si"

Is it possible for you to try if different user works fine?
Because user with very similar DN works for me just OK.
At the time of posting I did not notice the difference, thanks for the spot.
The correct DN is dn="uid=ovirt,ou=People,dc=arnes,dc=si".
Although that means that after upgrading to 3.5 the DN for the search user is
formatted differently when issuing an LDAP bind request.

In the end we noticed that the AAA part of oVirt was reworked in 3.5. We
deleted the old LDAP domain, that we manually inserted into the database
back in 3.2 days. Then we added LDAP as an authentication source as per AAA
instructions, which we found a bit vague. The README on github for the AAA
extension provided most of the information.

We also found that the format of external_id in the users table had been
changed from fdfc627c-d875-11e0-90f0-83df133b58cc to
fdfc627c-d87511e0-90f083df-133b58cc. So naturally users could not log in.
Instead additional users were created with this new format external_id, a
namespace with "dc=arnes,dc=si" and a new user_id.
We manually deleted the faux users, updated the external_id to the new format
and added a namespace entry for existing users.
That worked for us.

the conversion tool should have taken care of all these. have you tried to use 
it?
Sorry, no. We didn't know of its existence then. Can you provide a link 
to its page?



Kind regards, Mitja






This looks like a bug.
Is there a quick fix we can do to fix this typo?

We are also interested in knowing what is the correct way in 3.5 to add a
domain that uses an LDAP server for its authentication source without
Kerberos.

Please see following links:
*
https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD
*
https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README.profile;hb=HEAD
* http://www.ovirt.org/Features/AAA *
https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=tree;f=examples;hb=HEAD
*
https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD#l6
* https://github.com/machacekondra/ovirt-engine-kerbldap-migration




Kind regards, Mitja
--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8800, fax: +386 1 479 88 99


___
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



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


Re: [ovirt-users] LDAP bind DN generation problem

2015-06-19 Thread Mitja Mihelič

On 18/06/15 14:49, Ondra Machacek wrote:

On 06/18/2015 02:07 PM, Mitja Mihelič wrote:

Hi!

Hi


We just upgaded oVirt from 3.4 to 3.5 and now users cannot select the 
LDAP domain on the login screen. Only internal is available.
Our LDAP server is actually a 389DS instance and we are using for 
authentication in oVirt without Kerberos. The existing setup has 
worked since the days of 3.2.


When we try to validate the domain, we get
[root@brda ~]# engine-manage-domains validate
Error: Cannot authenticate user ovirt to domain guest.arnes.si, 
details: [LDAP: error code 32 - No Such Object]; nested exception is 
javax.naming.AuthenticationException: [LDAP: error code 32 - No Such 
Object]
Failure while testing domain guest.arnes.si. Details: Cannot 
authenticate user to LDAP server.


The LDAP log reports
[18/Jun/2015:13:52:38 +0200] conn=3 op=0 BIND 
dn="uid=ovirt,ou=Peopledc=guest,dc=arnes,dc=si" method=128 version=3

As you can see there is a comma missing before "dc=guest,dc=arnes,dc=si".

Before the upgrade the bind DN was generated properly as
[18/Jun/2015:12:42:45 +0200] conn=10219 op=0 BIND 
dn="uid=ovirt,ou=People,dc=arnes,dc=si" method=128 version=3


So what is your search user's DN ?
Is it:
dn="uid=ovirt,ou=People,dc=guest,dc=arnes,dc=si"

or

dn="uid=ovirt,ou=People,dc=arnes,dc=si"

Is it possible for you to try if different user works fine?
Because user with very similar DN works for me just OK.
At the time of posting I did not notice the difference, thanks for the 
spot. The correct DN is dn="uid=ovirt,ou=People,dc=arnes,dc=si".
Although that means that after upgrading to 3.5 the DN for the search 
user is formatted differently when issuing an LDAP bind request.


In the end we noticed that the AAA part of oVirt was reworked in 3.5. We 
deleted the old LDAP domain, that we manually inserted into the database 
back in 3.2 days. Then we added LDAP as an authentication source as per 
AAA instructions, which we found a bit vague. The README on github for 
the AAA extension provided most of the information.


We also found that the format of external_id in the users table had been 
changed from fdfc627c-d875-11e0-90f0-83df133b58cc to 
fdfc627c-d87511e0-90f083df-133b58cc. So naturally users could not log 
in. Instead additional users were created with this new format 
external_id, a namespace with "dc=arnes,dc=si" and a new user_id.
We manually deleted the faux users, updated the external_id to the new 
format and added a namespace entry for existing users.

That worked for us.

Kind regards, Mitja




This looks like a bug.
Is there a quick fix we can do to fix this typo?

We are also interested in knowing what is the correct way in 3.5 to 
add a domain that uses an LDAP server for its authentication source 
without Kerberos.


Please see following links:
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README.profile;hb=HEAD
*http://www.ovirt.org/Features/AAA
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=tree;f=examples;hb=HEAD
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD#l6
*https://github.com/machacekondra/ovirt-engine-kerbldap-migration



Kind regards, Mitja
--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8800, fax: +386 1 479 88 99


___
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] LDAP bind DN generation problem

2015-06-18 Thread Mitja Mihelič

Hi!

We just upgaded oVirt from 3.4 to 3.5 and now users cannot select the 
LDAP domain on the login screen. Only internal is available.
Our LDAP server is actually a 389DS instance and we are using for 
authentication in oVirt without Kerberos. The existing setup has worked 
since the days of 3.2.


When we try to validate the domain, we get
[root@brda ~]# engine-manage-domains validate
Error: Cannot authenticate user ovirt to domain guest.arnes.si, details: 
[LDAP: error code 32 - No Such Object]; nested exception is 
javax.naming.AuthenticationException: [LDAP: error code 32 - No Such Object]
Failure while testing domain guest.arnes.si. Details: Cannot 
authenticate user to LDAP server.


The LDAP log reports
[18/Jun/2015:13:52:38 +0200] conn=3 op=0 BIND 
dn="uid=ovirt,ou=Peopledc=guest,dc=arnes,dc=si" method=128 version=3

As you can see there is a comma missing before "dc=guest,dc=arnes,dc=si".

Before the upgrade the bind DN was generated properly as
[18/Jun/2015:12:42:45 +0200] conn=10219 op=0 BIND 
dn="uid=ovirt,ou=People,dc=arnes,dc=si" method=128 version=3


This looks like a bug.
Is there a quick fix we can do to fix this typo?

We are also interested in knowing what is the correct way in 3.5 to add 
a domain that uses an LDAP server for its authentication source without 
Kerberos.


Kind regards, Mitja

--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8800, fax: +386 1 479 88 99

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


Re: [Users] Migration problem - non-English characters

2013-11-25 Thread Mitja Mihelič

On 22. 11. 2013 22:50, Michal Skrivanek wrote:


On 22 Nov 2013, at 20:59, Itamar Heim  wrote:


On 11/22/2013 03:04 PM, Mitja Mihelič wrote:

Hi!

One of our VMs had the letter "č" in its Name field. When we set the
note to maintenance mode, the VM refused to migrate to another node.
It had to be manually shut down and then restarted.

Here are the events when we reproduced this with test VM.
2013-Nov-22, 10:29 Migration completed (VM: letter_c_test, Source:
onode1.example.com, Destination: onode2.example.com, Duration: 9 sec).
2013-Nov-22, 10:29 Migration started (VM: letter_c_test, Source:
onode1.example.com, Destination: onode2.example.com, User: admin@internal).
2013-Nov-22, 10:20 Migration completed (VM: letter_c_test, Source:
onode3.example.com, Destination: onode1.example.com, Duration: 12 sec).
2013-Nov-22, 10:19 Migration started (VM: letter_c_test, Source:
onode3.example.com, Destination: onode1.example.com, User: admin@internal).
2013-Nov-22, 10:19 VM letter_c_test started on Host onode3.example.com
2013-Nov-22, 10:19 VM letter_c_test was started by admin@internal (Host:
onode3.example.com).
2013-Nov-22, 10:19 VM letter_c_test is down. Exit message: User shut down
2013-Nov-22, 10:18 VM shutdown initiated by admin@internal on VM
letter_c_test (Host: onode1.example.com).
2013-Nov-22, 10:17 Migration failed due to Error: Unexpected exception
(VM: letter_c_test, Source: onode1.example.com, Destination:
onode3.example.com).
2013-Nov-22, 10:17 Migration started (VM: letter_c_test, Source:
onode1.example.com, Destination: onode3.example.com, User: admin@internal).
2013-Nov-22, 10:17 Interface nic1 (VirtIO) was updated for VM
letter_c_test. (User: admin@internal)
2013-Nov-22, 10:17 VM letter_č_test configuration was updated by
admin@internal.
2013-Nov-22, 10:17 VM letter_č_test was renamed from letter_č_test to
letter_c_test.
2013-Nov-22, 10:16 Migration failed due to Error: Unexpected exception
(VM: letter_č_test, Source: onode1.example.com, Destination:
onode3.example.com).
2013-Nov-22, 10:16 Migration started (VM: letter_č_test, Source:
onode1.example.com, Destination: onode3.example.com, User: admin@internal).
2013-Nov-22, 10:15 VM letter_č_test started on Host onode1.example.com
2013-Nov-22, 10:15 VM letter_č_test was started by USERNAME (Host:
onode1.example.com).
2013-Nov-22, 10:14 VM letter_č_test creation has been completed.
2013-Nov-22, 10:13 VM letter_č_test creation was initiated by USERNAME.

After the VM was renamed (č was replaced with c), stopped and then
started it migrated normally.

Regards, Mitja


sounds like this
http://gerrit.ovirt.org/#/c/21521/

in queue, hopefylly will make 3.3.2

Indeed. Patch was accepted today to master, backport to 3.3.2 posted, should 
get in really soon

Thanks,
michal

That's great news, thanks.

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


[Users] Migration problem - non-English characters

2013-11-22 Thread Mitja Mihelič

Hi!

One of our VMs had the letter "č" in its Name field. When we set the 
note to maintenance mode, the VM refused to migrate to another node.

It had to be manually shut down and then restarted.

Here are the events when we reproduced this with test VM.
2013-Nov-22, 10:29 Migration completed (VM: letter_c_test, Source: 
onode1.example.com, Destination: onode2.example.com, Duration: 9 sec).
2013-Nov-22, 10:29 Migration started (VM: letter_c_test, Source: 
onode1.example.com, Destination: onode2.example.com, User: admin@internal).
2013-Nov-22, 10:20 Migration completed (VM: letter_c_test, Source: 
onode3.example.com, Destination: onode1.example.com, Duration: 12 sec).
2013-Nov-22, 10:19 Migration started (VM: letter_c_test, Source: 
onode3.example.com, Destination: onode1.example.com, User: admin@internal).

2013-Nov-22, 10:19 VM letter_c_test started on Host onode3.example.com
2013-Nov-22, 10:19 VM letter_c_test was started by admin@internal (Host: 
onode3.example.com).

2013-Nov-22, 10:19 VM letter_c_test is down. Exit message: User shut down
2013-Nov-22, 10:18 VM shutdown initiated by admin@internal on VM 
letter_c_test (Host: onode1.example.com).
2013-Nov-22, 10:17 Migration failed due to Error: Unexpected exception 
(VM: letter_c_test, Source: onode1.example.com, Destination: 
onode3.example.com).
2013-Nov-22, 10:17 Migration started (VM: letter_c_test, Source: 
onode1.example.com, Destination: onode3.example.com, User: admin@internal).
2013-Nov-22, 10:17 Interface nic1 (VirtIO) was updated for VM 
letter_c_test. (User: admin@internal)
2013-Nov-22, 10:17 VM letter_č_test configuration was updated by 
admin@internal.
2013-Nov-22, 10:17 VM letter_č_test was renamed from letter_č_test to 
letter_c_test.
2013-Nov-22, 10:16 Migration failed due to Error: Unexpected exception 
(VM: letter_č_test, Source: onode1.example.com, Destination: 
onode3.example.com).
2013-Nov-22, 10:16 Migration started (VM: letter_č_test, Source: 
onode1.example.com, Destination: onode3.example.com, User: admin@internal).

2013-Nov-22, 10:15 VM letter_č_test started on Host onode1.example.com
2013-Nov-22, 10:15 VM letter_č_test was started by USERNAME (Host: 
onode1.example.com).

2013-Nov-22, 10:14 VM letter_č_test creation has been completed.
2013-Nov-22, 10:13 VM letter_č_test creation was initiated by USERNAME.

After the VM was renamed (č was replaced with c), stopped and then 
started it migrated normally.


Regards, Mitja

--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 78

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


Re: [Users] noVNC server disconnects

2013-10-15 Thread Mitja Mihelič

On 10/14/2013 05:08 PM, Nicolas Ecarnot wrote:

Le 14/10/2013 16:57, Mitja Mihelič a écrit :

Hi!

I am trying to setup noVNC. As I try to open a console I get a red bar
at the top of the page saying "Server disconnected (code: 1006)".
I have followed the instructions here:
http://www.ovirt.org/Features/noVNC_console (Setup Websocket Proxy on
the Enging Post Install).
I have imported the https://server.example.com/ca.crt into my browser
(Firefox and Chrome).

The only thing that gets logged to server.log when I try to open the
noVNC console is:
2013-10-14 16:39:51,803 INFO
[org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-3)
Running command: SetVmTicketCommand internal: false. Entities affected
:  ID: 43efe22e-67c2-4bb2-a089-05dc8770efd6 Type: VM
2013-10-14 16:39:51,807 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
(ajp--127.0.0.1-8702-3) START, SetVmTicketVDSCommand(HostName =
server.example.com, HostId = bf21cb8f-9a63-40b9-9f18-4f6fc74f74f1,
vmId=43efe22e-67c2-4bb2-a089-05dc8770efd6, ticket=aicJH+Rf0F/C,
validTime=120,m userName=myuser,
userId=fa4c5381-04d8-11e3-9045-b4f33f63d7d4), log id: 3504f642
2013-10-14 16:39:51,848 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
(ajp--127.0.0.1-8702-3) FINISH, SetVmTicketVDSCommand, log id: 3504f642

We are running a fresh oVirt 3.3 on CentOS 6.4 with the following
versions of packages:
ovirt-engine-3.3.0-4.el6.noarch
ovirt-engine-backend-3.3.0-4.el6.noarch
ovirt-engine-cli-3.3.0.4-1.el6.noarch
ovirt-engine-dbscripts-3.3.0-4.el6.noarch
ovirt-engine-lib-3.3.0-4.el6.noarch
ovirt-engine-restapi-3.3.0-4.el6.noarch
ovirt-engine-sdk-python-3.3.0.6-1.el6.noarch
ovirt-engine-setup-3.3.0-4.el6.noarch
ovirt-engine-setup-plugin-allinone-3.3.0-4.el6.noarch
ovirt-engine-tools-3.3.0-4.el6.noarch
ovirt-engine-userportal-3.3.0-4.el6.noarch
ovirt-engine-webadmin-portal-3.3.0-4.el6.noarch
ovirt-engine-websocket-proxy-3.3.0-4.el6.noarch
ovirt-host-deploy-1.1.1-1.el6.noarch
ovirt-host-deploy-java-1.1.1-1.el6.noarch
ovirt-host-deploy-offline-1.1.1-1.el6.noarch
ovirt-image-uploader-3.3.0-1.el6.noarch
ovirt-iso-uploader-3.3.0-1.el6.noarch
ovirt-log-collector-3.3.0-1.el6.noarch
ovirt-release-el6-8-1.noarch
novnc-0.4-2.el6.noarch

Kind regards,
Mitja



Don't know if it could help, but I restarted engine-setup on the 
manager and let it manage the websocketproxy settings.
Restarted it, and has to accept the certificate on my browser, and it 
worked. (https://fqdn:port_number)


Thank you Nicolas. After following your advice noVNC console connection 
works.


The steps required to make it work still seem a bit confusing for the 
users. Go to the fqdn:port, accept certificate, go back to the user 
portal, start console.


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


[Users] noVNC server disconnects

2013-10-14 Thread Mitja Mihelič

Hi!

I am trying to setup noVNC. As I try to open a console I get a red bar 
at the top of the page saying "Server disconnected (code: 1006)".
I have followed the instructions here: 
http://www.ovirt.org/Features/noVNC_console (Setup Websocket Proxy on 
the Enging Post Install).
I have imported the https://server.example.com/ca.crt into my browser 
(Firefox and Chrome).


The only thing that gets logged to server.log when I try to open the 
noVNC console is:
2013-10-14 16:39:51,803 INFO 
[org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-3) 
Running command: SetVmTicketCommand internal: false. Entities affected 
:  ID: 43efe22e-67c2-4bb2-a089-05dc8770efd6 Type: VM
2013-10-14 16:39:51,807 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
(ajp--127.0.0.1-8702-3) START, SetVmTicketVDSCommand(HostName = 
server.example.com, HostId = bf21cb8f-9a63-40b9-9f18-4f6fc74f74f1, 
vmId=43efe22e-67c2-4bb2-a089-05dc8770efd6, ticket=aicJH+Rf0F/C, 
validTime=120,m userName=myuser, 
userId=fa4c5381-04d8-11e3-9045-b4f33f63d7d4), log id: 3504f642
2013-10-14 16:39:51,848 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
(ajp--127.0.0.1-8702-3) FINISH, SetVmTicketVDSCommand, log id: 3504f642


We are running a fresh oVirt 3.3 on CentOS 6.4 with the following 
versions of packages:

ovirt-engine-3.3.0-4.el6.noarch
ovirt-engine-backend-3.3.0-4.el6.noarch
ovirt-engine-cli-3.3.0.4-1.el6.noarch
ovirt-engine-dbscripts-3.3.0-4.el6.noarch
ovirt-engine-lib-3.3.0-4.el6.noarch
ovirt-engine-restapi-3.3.0-4.el6.noarch
ovirt-engine-sdk-python-3.3.0.6-1.el6.noarch
ovirt-engine-setup-3.3.0-4.el6.noarch
ovirt-engine-setup-plugin-allinone-3.3.0-4.el6.noarch
ovirt-engine-tools-3.3.0-4.el6.noarch
ovirt-engine-userportal-3.3.0-4.el6.noarch
ovirt-engine-webadmin-portal-3.3.0-4.el6.noarch
ovirt-engine-websocket-proxy-3.3.0-4.el6.noarch
ovirt-host-deploy-1.1.1-1.el6.noarch
ovirt-host-deploy-java-1.1.1-1.el6.noarch
ovirt-host-deploy-offline-1.1.1-1.el6.noarch
ovirt-image-uploader-3.3.0-1.el6.noarch
ovirt-iso-uploader-3.3.0-1.el6.noarch
ovirt-log-collector-3.3.0-1.el6.noarch
ovirt-release-el6-8-1.noarch
novnc-0.4-2.el6.noarch

Kind regards,
Mitja

--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 78

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