Re: [ovirt-users] ICMP with VLANS

2015-02-03 Thread Sven Achtelik
Hi Lior, 

everything was configured by oVirt. Looking at the host configuration there is 
only one IP for the mgmt.-bridge.

Regards, 

Sven 


-Ursprüngliche Nachricht-
Von: Lior Vernia [mailto:lver...@redhat.com] 
Gesendet: Dienstag, 3. Februar 2015 14:34
An: Sven Achtelik
Cc: users@ovirt.org; Dan Kenigsberg
Betreff: Re: [ovirt-users] ICMP with VLANS

Hi Sven,

Have you configured anything manually, or was everything configured by oVirt?

I vaguely remember encountering similar behavior when I had the same IP address 
configured on the host bridge and on the VM interface inside the guest - could 
that be the case?

Yours, Lior.

On 03/02/15 13:44, Sven Achtelik wrote:
 Hi,
 
  
 
 here's some more Information on my setup and what I've tried to do 
 about that
 
  
 
 Setup:
 
 Router(10.1.1.1) àSwitch (VLAN1)àOvirt-Host(em2.1)àVM
 
  
 
 When I ping from the Router to the VM I can see the icmp packets, echo 
 any reply, with tcpdump on every layer(em2-em2.1-bridge) at the 
 Ovirt-Host but a Windows/Linux is giving me Request Times Out. When 
 doing that the other way it's the same thing. All other protocol are 
 working fine and I don't know where to look at.
 
  
 
 Any help would be great.
 
  
 
 Thank you,
 
  
 
 Sven
 
  
 
 *Von:*users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *Im 
 Auftrag von *Sven Achtelik
 *Gesendet:* Dienstag, 3. Februar 2015 07:57
 *An:* users@ovirt.org
 *Betreff:* [ovirt-users] ICMP with VLANS
 
  
 
 Hi Everyone,
 
  
 
 I'm running a setup with Ovirt 3.5 on a Dell Server with hosted engine.
 A long as I use every NIC on the host with VLANs icmp is working fine.
 After creating these networks with VLAN-Tags to use them all on one 
 card icmp is not working anymore. Is there something that I have to do 
 for that to work ?
 
  
 
  
 
 Thank you,
 
  
 
 Sven
 
 
 
 ___
 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] ICMP with VLANS

2015-02-02 Thread Sven Achtelik
Hi Everyone,

I'm running a setup with Ovirt 3.5 on a Dell Server with hosted engine. A long 
as I use every NIC on the host with VLANs icmp is working fine. After creating 
these networks with VLAN-Tags to use them all on one card icmp is not working 
anymore. Is there something that I have to do for that to work ?


Thank you,

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


Re: [ovirt-users] ICMP with VLANS

2015-02-03 Thread Sven Achtelik
Hi,

here's some more Information on my setup and what I've tried to do about that

Setup:
Router(10.1.1.1) -- Switch (VLAN1)--Ovirt-Host(em2.1)--VM

When I ping from the Router to the VM I can see the icmp packets, echo any 
reply, with tcpdump on every layer(em2-em2.1-bridge) at the Ovirt-Host but a 
Windows/Linux is giving me Request Times Out. When doing that the other way 
it's the same thing. All other protocol are working fine and I don't know where 
to look at.

Any help would be great.

Thank you,

Sven

Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Sven Achtelik
Gesendet: Dienstag, 3. Februar 2015 07:57
An: users@ovirt.org
Betreff: [ovirt-users] ICMP with VLANS

Hi Everyone,

I'm running a setup with Ovirt 3.5 on a Dell Server with hosted engine. A long 
as I use every NIC on the host with VLANs icmp is working fine. After creating 
these networks with VLAN-Tags to use them all on one card icmp is not working 
anymore. Is there something that I have to do for that to work ?


Thank you,

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


Re: [ovirt-users] Howto extend Hosted-Engine Disk

2015-03-11 Thread Sven Achtelik
Hi Bob,

how can I add a disk without the GUI ? It's a hosted engine install and the gui 
won't let me do any changes to the engine VM.

Sven

Von: Bob Doolittle [mailto:b...@doolittle.us.com]
Gesendet: Mittwoch, 11. März 2015 16:06
An: Sven Achtelik; users@ovirt.org
Betreff: Re: [ovirt-users] Howto extend Hosted-Engine Disk

On 03/11/2015 10:56 AM, Sven Achtelik wrote:

Hi All,

I've installed ovirt 3.5 with a hosted-engine some time ago and noticed that 
I've set the virtual disk of the engine to small during install. Is there a way 
to extend the virtual disk without reinstalling everything ?

Why not just add a new disk (select the VM, go to Disks, click Add), and then 
use LVM to add it to the volume (assuming you configured it with LVM)?

-Bob



Thank you,

Sven




___

Users mailing list

Users@ovirt.orgmailto: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] Howto extend Hosted-Engine Disk

2015-03-11 Thread Sven Achtelik
Hi All,

I've installed ovirt 3.5 with a hosted-engine some time ago and noticed that 
I've set the virtual disk of the engine to small during install. Is there a way 
to extend the virtual disk without reinstalling everything ?

Thank you,

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


Re: [ovirt-users] Hosted Engine-Setup issue additional host

2015-04-26 Thread Sven Achtelik
On the node that fails to start the ha-broker and ha-agent I'm using:

ovirt-engine-sdk-python.noarch3.5.2.1-1.el7.centos  
@ovirt-3.5-pre
ovirt-host-deploy.noarch1.3.1-1.el7 
@ovirt-3.5
ovirt-hosted-engine-ha.noarch  1.2.5-1.el7.centos @ovirt-3.5
ovirt-hosted-engine-setup.noarch1.2.3-1.el7.centos  @ovirt-3.5-pre
ovirt-release35.noarch003-1 
@/ovirt-release35


Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Roy Golan
Gesendet: Sonntag, 26. April 2015 16:59
An: users@ovirt.org; Yedidyah Bar David
Betreff: Re: [ovirt-users] Hosted Engine-Setup issue additional host

On 04/26/2015 05:38 PM, Sven Achtelik wrote:
Hi All,

after a successful setup of hosted-engine on the first node I'm having trouble 
completing it on an additional node. The Setup fails with:
-
[ INFO  ] Waiting for the host to become operational in the engine. This may 
take several minutes...
[ INFO  ] Still waiting for VDSM host to become operational...
[ INFO  ] The VDSM Host is now operational
[ INFO  ] Enabling and starting HA services
[ ERROR ] Failed to execute stage 'Closing up': Command '/bin/systemctl' failed 
to execute
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20150426080028.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
-
After that the node is added to the cluster and is operational from the GUI, 
but the hosted  engine broker and agent fail to start with error messages:
--
[root@ovirt-node2 ~]# systemctl status ovirt-ha-agent.service -l
ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring Agent
   Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled)
   Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 20min 
ago
  Process: 5373 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-agent start 
(code=exited, status=1/FAILURE)

Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: hdlr = 
FileHandler(filename, mode)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: File 
/usr/lib64/python2.7/logging/__init__.py, line 902, in __init__
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: 
StreamHandler.__init__(self, self._open())
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: File 
/usr/lib64/python2.7/logging/__init__.py, line 925, in _open
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: stream 
= open(self.baseFilename, self.mode)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: 
IOError: [Errno 6] No such device or address: '/dev/stdout'
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: 
[FAILED]
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: ovirt-ha-agent.service: 
control process exited, code=exited status=1
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start oVirt 
Hosted Engine High Availability Monitoring Agent.
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Unit 
ovirt-ha-agent.service entered failed state.
-
And
-
[root@ovirt-node2 ~]# systemctl status ovirt-ha-broker
ovirt-ha-broker.service - oVirt Hosted Engine High Availability Communications 
Broker
   Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service; enabled)
   Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 21min 
ago
  Process: 5359 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-broker start 
(code=exited, status=1/FAILURE)

Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: hdlr 
= FileHandler(filename, mode)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: File 
/usr/lib64/python2.7/logging/__init__.py, line ...it__
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: 
StreamHandler.__init__(self, self._open())
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: File 
/usr/lib64/python2.7/logging/__init__.py, line ...open
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: 
stream = open(self.baseFilename, self.mode)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: 
IOError: [Errno 6] No such device or address: '/dev/stdout'

Didi any clue?
the log says it runs as root so I canrule that out

Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: 
[FAILED]
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: ovirt-ha-broker.service: 
control process exited, code=exited status=1
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start oVirt 
Hosted Engine High Availability Communications

[ovirt-users] Hosted Engine-Setup issue additional host

2015-04-26 Thread Sven Achtelik
Hi All,

after a successful setup of hosted-engine on the first node I'm having trouble 
completing it on an additional node. The Setup fails with:
-
[ INFO  ] Waiting for the host to become operational in the engine. This may 
take several minutes...
[ INFO  ] Still waiting for VDSM host to become operational...
[ INFO  ] The VDSM Host is now operational
[ INFO  ] Enabling and starting HA services
[ ERROR ] Failed to execute stage 'Closing up': Command '/bin/systemctl' failed 
to execute
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20150426080028.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
-
After that the node is added to the cluster and is operational from the GUI, 
but the hosted  engine broker and agent fail to start with error messages:
--
[root@ovirt-node2 ~]# systemctl status ovirt-ha-agent.service -l
ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring Agent
   Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled)
   Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 20min 
ago
  Process: 5373 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-agent start 
(code=exited, status=1/FAILURE)

Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: hdlr = 
FileHandler(filename, mode)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: File 
/usr/lib64/python2.7/logging/__init__.py, line 902, in __init__
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: 
StreamHandler.__init__(self, self._open())
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: File 
/usr/lib64/python2.7/logging/__init__.py, line 925, in _open
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: stream 
= open(self.baseFilename, self.mode)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: 
IOError: [Errno 6] No such device or address: '/dev/stdout'
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-agent[5373]: 
[FAILED]
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: ovirt-ha-agent.service: 
control process exited, code=exited status=1
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start oVirt 
Hosted Engine High Availability Monitoring Agent.
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Unit 
ovirt-ha-agent.service entered failed state.
-
And
-
[root@ovirt-node2 ~]# systemctl status ovirt-ha-broker
ovirt-ha-broker.service - oVirt Hosted Engine High Availability Communications 
Broker
   Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-broker.service; enabled)
   Active: failed (Result: exit-code) since Sun 2015-04-26 08:00:28 CDT; 21min 
ago
  Process: 5359 ExecStart=/usr/lib/systemd/systemd-ovirt-ha-broker start 
(code=exited, status=1/FAILURE)

Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: hdlr 
= FileHandler(filename, mode)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: File 
/usr/lib64/python2.7/logging/__init__.py, line ...it__
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: 
StreamHandler.__init__(self, self._open())
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: File 
/usr/lib64/python2.7/logging/__init__.py, line ...open
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: 
stream = open(self.baseFilename, self.mode)
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: 
IOError: [Errno 6] No such device or address: '/dev/stdout'
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[5359]: 
[FAILED]
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: ovirt-ha-broker.service: 
control process exited, code=exited status=1
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start oVirt 
Hosted Engine High Availability Communications Broker.
Apr 26 08:00:28 ovirt-node2.mgmt.asl.local systemd[1]: Unit 
ovirt-ha-broker.service entered failed state.


The system is a CentOS 7 Setup with SeLinux switched off, no firewall or 
iptables.  How can I find out which version of ovirt I'm running exactly ? I've 
had a lock at the logs and read through old bug reports.

Thank you,

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


Re: [ovirt-users] Hosted-Engine Setup: Failed to setup networks

2015-04-23 Thread Sven Achtelik
Hi All,

fixed it, vdsm doesn't like the PREFIX entry in the ifcfg file. After changing 
that to NETMASK it worked.

Sven



Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Sven Achtelik
Gesendet: Mittwoch, 22. April 2015 23:51
An: users@ovirt.org
Betreff: [ovirt-users] Hosted-Engine Setup: Failed to setup networks

Hi Everyone,

I tried to install oVirt 3.5 - hosted engine and it fails with some VDSM error 
while creating the ovirtmgmt bridge. The Host is running CentOS 7 and the 
interface I want to use is em1 and it's the parent interface from a vlan.

[ ERROR ] Failed to execute stage 'Misc configuration': Failed to setup 
networks {'ovirtmgmt': {'nic': 'em1', 'netmask': '255.255.255.128', 
'bootproto': 'none', 'ipaddr': '172.16.1.13', 'gateway': '172.16.1.1'}}. Error 
code: 16 message: Unexpected exception

2015-04-22 16:33:55 INFO otopi.plugins.ovirt_hosted_engine_setup.network.bridge 
bridge._misc:198 Configuring the management ridge
2015-04-22 16:33:55 DEBUG otopi.context context._executeMethod:152 method 
exception Traceback (most recent call last):
  File /usr/lib/python2.7/site-packages/otopi/context.py, line 142, in 
_executeMethod
method['method']()
  File 
/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py,
 line 207, in _misc
_setupNetworks(conn, networks, {}, {'connectivityCheck': False})
  File 
/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py,
 line 225, in _setupNetworks
'message: %s' % (networks, code, message))
RuntimeError: Failed to setup networks {'ovirtmgmt': {'nic': 'em1', 'netmask': 
'255.255.255.128', 'bootproto': 'none', 'ipaddr': '172.16.1.13', 'gateway':
'172.16.1.1'}}. Error code: 16 message: Unexpected exception
2015-04-22 16:33:55 ERROR otopi.context context._executeMethod:161 Failed to 
execute stage 'Misc configuration': Failed to setup networks {'ovirtmgmt': {'
nic': 'em1', 'netmask': '255.255.255.128', 'bootproto': 'none', 'ipaddr': 
'172.16.1.13', 'gateway': '172.16.1.1'}}. Error code: 16 message: Unexpected
exception


Is there anything I can do like creating the bridge manually or use older 
version of the packages that don't have that issue ?

Thank you,

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


[ovirt-users] Hosted-Engine Setup: Failed to setup networks

2015-04-22 Thread Sven Achtelik
Hi Everyone,

I tried to install oVirt 3.5 - hosted engine and it fails with some VDSM error 
while creating the ovirtmgmt bridge. The Host is running CentOS 7 and the 
interface I want to use is em1 and it's the parent interface from a vlan.

[ ERROR ] Failed to execute stage 'Misc configuration': Failed to setup 
networks {'ovirtmgmt': {'nic': 'em1', 'netmask': '255.255.255.128', 
'bootproto': 'none', 'ipaddr': '172.16.1.13', 'gateway': '172.16.1.1'}}. Error 
code: 16 message: Unexpected exception

2015-04-22 16:33:55 INFO otopi.plugins.ovirt_hosted_engine_setup.network.bridge 
bridge._misc:198 Configuring the management ridge
2015-04-22 16:33:55 DEBUG otopi.context context._executeMethod:152 method 
exception Traceback (most recent call last):
  File /usr/lib/python2.7/site-packages/otopi/context.py, line 142, in 
_executeMethod
method['method']()
  File 
/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py,
 line 207, in _misc
_setupNetworks(conn, networks, {}, {'connectivityCheck': False})
  File 
/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/network/bridge.py,
 line 225, in _setupNetworks
'message: %s' % (networks, code, message))
RuntimeError: Failed to setup networks {'ovirtmgmt': {'nic': 'em1', 'netmask': 
'255.255.255.128', 'bootproto': 'none', 'ipaddr': '172.16.1.13', 'gateway':
'172.16.1.1'}}. Error code: 16 message: Unexpected exception
2015-04-22 16:33:55 ERROR otopi.context context._executeMethod:161 Failed to 
execute stage 'Misc configuration': Failed to setup networks {'ovirtmgmt': {'
nic': 'em1', 'netmask': '255.255.255.128', 'bootproto': 'none', 'ipaddr': 
'172.16.1.13', 'gateway': '172.16.1.1'}}. Error code: 16 message: Unexpected
exception


Is there anything I can do like creating the bridge manually or use older 
version of the packages that don't have that issue ?

Thank you,

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


Re: [ovirt-users] Hosted Engine-Setup issue additional host

2015-04-27 Thread Sven Achtelik
Hi Martin,

on my root login things look like this:

[root@ovirt-node2 ~]# ls -lah /proc/self/fd/1
lrwx-- 1 root root 64 Apr 27 04:02 /proc/self/fd/1 - /dev/pts/1

Sven

-Ursprüngliche Nachricht-
Von: Martin Sivak [mailto:msi...@redhat.com]
Gesendet: Montag, 27. April 2015 10:51
An: Sven Achtelik
Cc: Yedidyah Bar David; Roy Golan; users@ovirt.org
Betreff: Re: AW: AW: AW: [ovirt-users] Hosted Engine-Setup issue additional host

Uh this really is weird.

The situation is clear though:

Broker dies when it tries to initialize logging (missing /dev/stdout ???) Agent 
dies because it can't connect to the broker.

My /dev/stdout looks like this:

lrwxrwxrwx. 1 root root 15 Mar 30 17:29 /dev/stdout - /proc/self/fd/1

And /proc/self/fd/1 is obviously related to the process. But I have an idea.

Can you check whether the /proc/self/fd/1 is there? It might be missing if the 
broker closed its stdout during daemonizing.

--
Martin Sivák
msi...@redhat.com
Red Hat Czech
RHEV-M SLA / Brno, CZ

- Original Message -
 Yes,

 ---
 [root@ovirt-node2 ~]# systemctl start ovirt-ha-broker.service 
 systemctl start ovirt-ha-agent.service Job for ovirt-ha-broker.service
 failed. See 'systemctl status ovirt-ha-broker.service' and 'journalctl
 -xn' for details.
 [root@ovirt-node2 ~]# journalctl -xn
 -- Logs begin at Sun 2015-04-26 09:14:15 CDT, end at Mon 2015-04-27
 02:49:33 CDT. -- Apr 27 02:49:27 ovirt-node2.mgmt.asl.local
 systemd-ovirt-ha-broker[29068]:
 File /usr/lib64/python2.7/logging/__init__.py, line 925, in _open
 Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[29068]:
 stream = open(self.baseFilename, self.mode) Apr 27 02:49:27
 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[29068]:
 IOError: [Errno 6] No such device or address: '/dev/stdout'
 Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[29068]:
 [FAILED]
 Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd[1]:
 ovirt-ha-broker.service: control process exited, code=exited status=1
 Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start
 oVirt Hosted Engine High Availability Communications Broker.
 -- Subject: Unit ovirt-ha-broker.service has failed
 -- Defined-By: systemd
 -- Support:
 http://lists.freedesktop.org/mailman/listinfo/systemd-devel
 --
 -- Unit ovirt-ha-broker.service has failed.
 --
 -- The result is failed.
 Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd[1]: Unit
 ovirt-ha-broker.service entered failed state.
 Apr 27 02:49:33 ovirt-node2.mgmt.asl.local vdsm[3309]: vdsm
 ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink ERROR Failed to
 connect to broker, the number of errors has exceeded the limit ( Apr
 27 02:49:33 ovirt-node2.mgmt.asl.local vdsm[3309]: vdsm vds ERROR
 failed to retrieve Hosted Engine HA info
Traceback (most recent
call last):
  File
  
 /usr/share/vdsm/API.py,
  line 1703, in
  _getHaInfo
stats =

 instance.get_all_stats()
  File
  
 /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py,
  line 97, in
  get_all_stats
with

 broker.connection():
  File
  
 /usr/lib64/python2.7/contextlib.py,
  line 17, in
  __enter__
return
self.gen.next()
  File
  
 /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py,
  line 99, in
  connection
self.connect()
  File
  
 /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py

Re: [ovirt-users] Hosted Engine-Setup issue additional host

2015-04-27 Thread Sven Achtelik
Yes,

---
[root@ovirt-node2 ~]# systemctl start ovirt-ha-broker.service  systemctl 
start ovirt-ha-agent.service 
Job for ovirt-ha-broker.service failed. See 'systemctl status 
ovirt-ha-broker.service' and 'journalctl -xn' for details.
[root@ovirt-node2 ~]# journalctl -xn
-- Logs begin at Sun 2015-04-26 09:14:15 CDT, end at Mon 2015-04-27 02:49:33 
CDT. --
Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[29068]: File 
/usr/lib64/python2.7/logging/__init__.py, line 925, in _open
Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[29068]: 
stream = open(self.baseFilename, self.mode)
Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[29068]: 
IOError: [Errno 6] No such device or address: '/dev/stdout'
Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd-ovirt-ha-broker[29068]: 
[FAILED]
Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd[1]: ovirt-ha-broker.service: 
control process exited, code=exited status=1
Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd[1]: Failed to start oVirt 
Hosted Engine High Availability Communications Broker.
-- Subject: Unit ovirt-ha-broker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit ovirt-ha-broker.service has failed.
-- 
-- The result is failed.
Apr 27 02:49:27 ovirt-node2.mgmt.asl.local systemd[1]: Unit 
ovirt-ha-broker.service entered failed state.
Apr 27 02:49:33 ovirt-node2.mgmt.asl.local vdsm[3309]: vdsm 
ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink ERROR Failed to connect to 
broker, the number of errors has exceeded the limit (
Apr 27 02:49:33 ovirt-node2.mgmt.asl.local vdsm[3309]: vdsm vds ERROR failed to 
retrieve Hosted Engine HA info
   Traceback (most recent 
call last):
 File 
/usr/share/vdsm/API.py, line 1703, in _getHaInfo
   stats = 
instance.get_all_stats()
 File 
/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py, 
line 97, in get_all_stats
   with 
broker.connection():
 File 
/usr/lib64/python2.7/contextlib.py, line 17, in __enter__
   return 
self.gen.next()
 File 
/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py, 
line 99, in connection
   self.connect()
 File 
/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py, 
line 78, in connect
   raise 
BrokerConnectionError(error_msg)
   BrokerConnectionError: 
Failed to connect to broker, the number of errors has exceeded the limit (5)
Apr 27 02:49:33 ovirt-node2.mgmt.asl.local libvirtd[1678]: metadata not found: 
Requested metadata element is not present



-Ursprüngliche Nachricht-
Von: Yedidyah Bar David [mailto:d...@redhat.com] 
Gesendet: Montag, 27. April 2015 09:46
An: Sven Achtelik; Martin Sivak
Cc: Roy Golan; users@ovirt.org
Betreff: Re: AW: AW: [ovirt-users] Hosted Engine-Setup issue additional host

- Original Message -
 From: Sven Achtelik sven.achte...@mailpool.us
 To: Yedidyah Bar David d...@redhat.com
 Cc: Roy Golan rgo...@redhat.com, users@ovirt.org
 Sent: Monday, April 27, 2015 10:34:13 AM
 Subject: AW: AW: [ovirt-users] Hosted Engine-Setup issue additional 
 host
 
 Hi Did,
 
 results are
 ---
 [root@ovirt-node2 ~]# ls -l /dev/stdout lrwxrwxrwx 1 root root 15 Apr 
 26 09:14 /dev/stdout - /proc/self/fd/1
 [root@ovirt-node2 ~]# echo test  /dev/stdout test
 ---
 Looks like everything is working fine.

And it still fails with the same message when you restart ha daemons?

Adding Martin.

Weird.

 
 Sven
 
 
 -Ursprüngliche Nachricht-
 Von: Yedidyah Bar David [mailto:d...@redhat.com]
 Gesendet: Montag, 27. April 2015 08:57
 An: Sven Achtelik
 Cc: Roy Golan; users@ovirt.org
 Betreff: Re: AW: [ovirt-users] Hosted Engine-Setup issue additional 
 host
 
 
 
 - Original Message -
  From: Sven Achtelik sven.achte...@mailpool.us
  To: Roy Golan rgo...@redhat.com, users@ovirt.org, Yedidyah Bar 
  David d...@redhat.com
  Sent: Sunday, April 26, 2015 6:57:06 PM
  Subject: AW: [ovirt-users] Hosted Engine-Setup issue additional host
  
  On the node that fails to start the ha-broker and ha-agent I'm using:
  
  ovirt-engine-sdk-python.noarch3.5.2.1-1.el7.centos
  @ovirt-3.5-pre
  ovirt-host-deploy.noarch

Re: [ovirt-users] Bad performance with Windows 2012 guests

2015-05-03 Thread Sven Achtelik
Hi Doron,

I've also noticed that there seems to be a difference in performance between 
Win2k8 R2/Linux and Windows Server 2012. After reading Martijns post I've done 
some speed test regarding the drive speeds and was looking for a way to compare 
the VMs on a more professional way. My tests showed, that on the same hardware, 
the Win2k8 R2 was faster in response and throughput on the disks. I found a 
utility that somehow measures the latency on a system and that also showed a 
significant difference. What is the correct way to do a performance test on a 
VM running in KVM ? 

Sven

-Ursprüngliche Nachricht-
Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Doron Fediuck
Gesendet: Samstag, 2. Mai 2015 10:50
An: Martijn Grendelman
Cc: Karen Noel; users@ovirt.org; Vadim Rozenfeld
Betreff: Re: [ovirt-users] Bad performance with Windows 2012 guests


On Apr 30, 2015 14:03, Martijn Grendelman martijn.grendel...@isaac.nl wrote:

 Hi,

 Ever since our first Windows Server 2012 deployment on oVirt (3.4 back 
 then, now 3.5.1), I have noticed that working on these VMs via RDP or 
 on the console via VNC is noticeably slower than on Windows 2008 
 guests on the same oVirt environment.

 Basic things like starting an application (even the Server Manager 
 that get started automatically on login) take a very long time, 
 sometimes minutes. Everything is just... slow.

 We have recently deployed Microsoft Exchange on a Windows Server 2012 
 guest on RHEV, and it doesn't perform well at all.

 I haven't been able to find the cause for this slowness; CPU usage is 
 not excessive and it doesn't seem I/O related. Moreover, other types 
 of guests (Linux and even Windows 2008) do not have this problem.

 We have 3 different environments: 
 - oVirt 3.5.1, on old Dell servers with Penryn Family CPUs with fairly 
 slow storage on replicated GlusterFS, running CentOS 6.6
 - oVirt 3.5.1, on modern 6-core SandyBridge servers with local storage 
 via NFS, running CentOS 7.0)
 - RHEV 3.4.4 on modern 10-core SandyBridge servers with an iSCSI SAN 
 behind it, running on RHEV Hypervisor 6.5

 All of these -very different- environments expose the same behaviour: 
 Linux, Windows 2008 fast (or as fast as can be expected given the 
 hardware), Windows 2012 painfully slow.

 All Windows 2012 servers use VirtIO disk and network. I think all 
 drivers are from the virtio-win-0.1-74 ISO.

 Does anyone share this experience? 
 Any idea why this could happen and how it can be fixed? 
 Any other information I should share to get a better idea? 

 Btw, for the guests on the RHEV environment, we have a case with 
 RedHat support, but that doesn't seem to lead to a quick solution, 
 hence I'm writing here, too.

 Thanks for any help. 

 Regards,
 Martijn Grendelman

Hi Martijn,
Can you please provide the QEMU command line, together with kvm and qemu 
version?

This information will be helpful for reproducing the problem. However, if the 
problem is not reproducible on a local setup, we will probably need to ask 
collecting some performance information with xperf tool. 

Doron
___
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] Bad performance with Windows 2012 guests

2015-05-04 Thread Sven Achtelik
Hi Vadim, 

the command line: 

/usr/libexec/qemu-kvm -name wc_db01 -S -machine rhel6.5.0,accel=kvm,usb=off 
-cpu Westmere -m 12288 -realtime mlock=off -smp 
2,maxcpus=16,sockets=16,cores=1,threads=1 -uuid 
fbbdc0a0-23a4-4d32-a526-a35c59eb790d -smbios 
type=1,manufacturer=oVirt,product=oVirt 
Node,version=7-1.1503.el7.centos.2.8,serial=4C4C4544-0035-4E10-8034-B4C04F4B4E31,uuid=fbbdc0a0-23a4-4d32-a526-a35c59eb790d
 -no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/wc_db01.monitor,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc 
base=2015-05-04T03:26:39,driftfix=slew -global kvm-pit.lost_tick_policy=discard 
-no-hpet -no-shutdown -boot strict=on -device 
piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device 
virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 -drive 
file=/rhev/data-center/mnt/ovirt-engine.mgmt.asl.local:_var_lib_exports_iso/d1559536-71da-4b7a-ad71-171b0b528d7f/images/----/SVR2012EVAL.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial=
 -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=2 
-drive 
file=/rhev/data-center/0002-0002-0002-0002-03e2/a7d4ddb9-4486-4e37-b524-29625d6a7e61/images/23672c7f-ec3c-4686-bc29-89a0f95eae1c/9741917b-9134-4e14-892d-d16abf13e406,if=none,id=drive-virtio-disk0,format=raw,serial=23672c7f-ec3c-4686-bc29-89a0f95eae1c,cache=none,werror=stop,rerror=stop,aio=native
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -drive 
file=/rhev/data-center/0002-0002-0002-0002-03e2/a7d4ddb9-4486-4e37-b524-29625d6a7e61/images/238e79c3-378b-4117-9b6d-18f73832f286/a8730e05-ed95-4d41-a10d-e249b601ebd3,if=none,id=drive-virtio-disk1,format=qcow2,serial=238e79c3-378b-4117-9b6d-18f73832f286,cache=none,werror=stop,rerror=stop,aio=native
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk1,id=virtio-disk1
 -netdev tap,fd=29,id=hostnet0,vhost=on,vhostfd=30 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=00:00:1a:4a:ae:02,bus=pci.0,addr=0x3 
-chardev 
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/fbbdc0a0-23a4-4d32-a526-a35c59eb790d.com.redhat.rhevm.vdsm,server,nowait
 -device 
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
 -chardev 
socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/fbbdc0a0-23a4-4d32-a526-a35c59eb790d.org.qemu.guest_agent.0,server,nowait
 -device 
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
 -chardev pty,id=charconsole0 -device 
virtconsole,chardev=charconsole0,id=console0 -device usb-tablet,id=input0 -vnc 
172.16.1.14:2,password -k en-us -vga cirrus -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on

Sven 

-Ursprüngliche Nachricht-
Von: Vadim Rozenfeld [mailto:vroze...@redhat.com] 
Gesendet: Montag, 4. Mai 2015 05:00
An: Sven Achtelik
Cc: Doron Fediuck; Martijn Grendelman; Karen Noel; users@ovirt.org
Betreff: Re: AW: AW: Bad performance with Windows 2012 guests

On Sun, 2015-05-03 at 07:46 -0500, Sven Achtelik wrote:
 Hi Vadim,
 
 I've tested the performance with CrystalDiskMark from inside the Windows 
 guest. Using Win2k8 R2 I got expected values for my system, about 88 MB/s on 
 4k random with 32 queues and 500MB/s + sequential writes with 32 queues. 
 Using a Windows 2012 VM on the same system it's only 33MB/s on 4k random with 
 32 queues and 300MB/s sequential writes. Similar tests with a linux VM show a 
 bit better values than the Win2k8 R2 and respond ultra-fast.
 
 My hosts are connected via iSCSI using a 10 GbE link and a ZFS appliance as 
 the storage system. All tests have been run several times with the same 
 results.

Sven,
Can I ask you to post the Windows 2012 VM qemu command line?

Thanks,
Vadim.

 
 Sven
 
 -Ursprüngliche Nachricht-
 Von: Vadim Rozenfeld [mailto:vroze...@redhat.com]
 Gesendet: Sonntag, 3. Mai 2015 14:35
 An: Sven Achtelik
 Cc: Doron Fediuck; Martijn Grendelman; Karen Noel; users@ovirt.org
 Betreff: Re: AW: Bad performance with Windows 2012 guests
 
 On Sun, 2015-05-03 at 06:48 -0500, Sven Achtelik wrote:
  Hi Doron,
  
  I've also noticed that there seems to be a difference in performance 
  between Win2k8 R2/Linux and Windows Server 2012. After reading Martijns 
  post I've done some speed test regarding the drive speeds and was looking 
  for a way to compare the VMs on a more professional way. My tests showed, 
  that on the same hardware, the Win2k8 R2 was faster in response and 
  throughput on the disks. I found a utility that somehow measures the 
  latency on a system and that also showed a significant difference. What is 
  the correct way to do a performance test on a VM running in KVM ? 
  
  Sven
  
 Hi Sven,
 
 Can you specify the type of disk on your

Re: [ovirt-users] Bad performance with Windows 2012 guests

2015-05-03 Thread Sven Achtelik
Hi Vadim, 

I've tested the performance with CrystalDiskMark from inside the Windows guest. 
Using Win2k8 R2 I got expected values for my system, about 88 MB/s on 4k random 
with 32 queues and 500MB/s + sequential writes with 32 queues. Using a Windows 
2012 VM on the same system it's only 33MB/s on 4k random with 32 queues and 
300MB/s sequential writes. Similar tests with a linux VM show a bit better 
values than the Win2k8 R2 and respond ultra-fast.

My hosts are connected via iSCSI using a 10 GbE link and a ZFS appliance as the 
storage system. All tests have been run several times with the same results.

Sven

-Ursprüngliche Nachricht-
Von: Vadim Rozenfeld [mailto:vroze...@redhat.com] 
Gesendet: Sonntag, 3. Mai 2015 14:35
An: Sven Achtelik
Cc: Doron Fediuck; Martijn Grendelman; Karen Noel; users@ovirt.org
Betreff: Re: AW: Bad performance with Windows 2012 guests

On Sun, 2015-05-03 at 06:48 -0500, Sven Achtelik wrote:
 Hi Doron,
 
 I've also noticed that there seems to be a difference in performance between 
 Win2k8 R2/Linux and Windows Server 2012. After reading Martijns post I've 
 done some speed test regarding the drive speeds and was looking for a way to 
 compare the VMs on a more professional way. My tests showed, that on the same 
 hardware, the Win2k8 R2 was faster in response and throughput on the disks. I 
 found a utility that somehow measures the latency on a system and that also 
 showed a significant difference. What is the correct way to do a performance 
 test on a VM running in KVM ? 
 
 Sven
 
Hi Sven,

Can you specify the type of disk on your system - ide, virtio-blk, or 
virtio-scsi?
We usually use iometer for disk performance profiling. Sequential read/write, 
block size from 4K up to 256K, queue depth from 1 to 64.
 
Vadim.
 -Ursprüngliche Nachricht-
 Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im 
 Auftrag von Doron Fediuck
 Gesendet: Samstag, 2. Mai 2015 10:50
 An: Martijn Grendelman
 Cc: Karen Noel; users@ovirt.org; Vadim Rozenfeld
 Betreff: Re: [ovirt-users] Bad performance with Windows 2012 guests
 
 
 On Apr 30, 2015 14:03, Martijn Grendelman martijn.grendel...@isaac.nl wrote:
 
  Hi,
 
  Ever since our first Windows Server 2012 deployment on oVirt (3.4 
  back then, now 3.5.1), I have noticed that working on these VMs via 
  RDP or on the console via VNC is noticeably slower than on Windows 
  2008 guests on the same oVirt environment.
 
  Basic things like starting an application (even the Server Manager 
  that get started automatically on login) take a very long time, 
  sometimes minutes. Everything is just... slow.
 
  We have recently deployed Microsoft Exchange on a Windows Server 
  2012 guest on RHEV, and it doesn't perform well at all.
 
  I haven't been able to find the cause for this slowness; CPU usage 
  is not excessive and it doesn't seem I/O related. Moreover, other 
  types of guests (Linux and even Windows 2008) do not have this problem.
 
  We have 3 different environments: 
  - oVirt 3.5.1, on old Dell servers with Penryn Family CPUs with 
  fairly slow storage on replicated GlusterFS, running CentOS 6.6
  - oVirt 3.5.1, on modern 6-core SandyBridge servers with local 
  storage via NFS, running CentOS 7.0)
  - RHEV 3.4.4 on modern 10-core SandyBridge servers with an iSCSI SAN 
  behind it, running on RHEV Hypervisor 6.5
 
  All of these -very different- environments expose the same behaviour: 
  Linux, Windows 2008 fast (or as fast as can be expected given the 
  hardware), Windows 2012 painfully slow.
 
  All Windows 2012 servers use VirtIO disk and network. I think all 
  drivers are from the virtio-win-0.1-74 ISO.
 
  Does anyone share this experience? 
  Any idea why this could happen and how it can be fixed? 
  Any other information I should share to get a better idea? 
 
  Btw, for the guests on the RHEV environment, we have a case with 
  RedHat support, but that doesn't seem to lead to a quick solution, 
  hence I'm writing here, too.
 
  Thanks for any help. 
 
  Regards,
  Martijn Grendelman
 
 Hi Martijn,
 Can you please provide the QEMU command line, together with kvm and qemu 
 version?
 
 This information will be helpful for reproducing the problem. However, if the 
 problem is not reproducible on a local setup, we will probably need to ask 
 collecting some performance information with xperf tool. 
 
 Doron
 ___
 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] Bad performance with Windows 2012 guests

2015-05-18 Thread Sven Achtelik
Hi Vadim, 

could you reproduce my issue with your system ? Do you have any advice on 
getting more performance with Win2012 ?

Thank you, 

Sven 

-Ursprüngliche Nachricht-
Von: Vadim Rozenfeld [mailto:vroze...@redhat.com] 
Gesendet: Dienstag, 5. Mai 2015 02:57
An: Sven Achtelik
Cc: Doron Fediuck; Martijn Grendelman; Karen Noel; users@ovirt.org
Betreff: Re: AW: AW: AW: Bad performance with Windows 2012 guests

On Mon, 2015-05-04 at 03:32 -0500, Sven Achtelik wrote:
 Hi Vadim, 
 
 the command line: 
 
 /usr/libexec/qemu-kvm -name wc_db01 -S -machine rhel6.5.0,accel=kvm,usb=off 
 -cpu Westmere -m 12288 -realtime mlock=off -smp 
 2,maxcpus=16,sockets=16,cores=1,threads=1 -uuid 
 fbbdc0a0-23a4-4d32-a526-a35c59eb790d -smbios 
 type=1,manufacturer=oVirt,product=oVirt 
 Node,version=7-1.1503.el7.centos.2.8,serial=4C4C4544-0035-4E10-8034-B4C04F4B4E31,uuid=fbbdc0a0-23a4-4d32-a526-a35c59eb790d
  -no-user-config -nodefaults -chardev 
 socket,id=charmonitor,path=/var/lib/libvirt/qemu/wc_db01.monitor,server,nowait
  -mon chardev=charmonitor,id=monitor,mode=control -rtc 
 base=2015-05-04T03:26:39,driftfix=slew -global 
 kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on 
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device 
 virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x4 -device 
 virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 -drive 
 file=/rhev/data-center/mnt/ovirt-engine.mgmt.asl.local:_var_lib_exports_iso/d1559536-71da-4b7a-ad71-171b0b528d7f/images/----/SVR2012EVAL.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw,serial=
  -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=2 
 -drive 
 file=/rhev/data-center/0002-0002-0002-0002-03e2/a7d4ddb9-4486-4e37-b524-29625d6a7e61/images/23672c7f-ec3c-4686-bc29-89a0f95eae1c/9741917b-9134-4e14-892d-d16abf13e406,if=none,id=drive-virtio-disk0,format=raw,serial=23672c7f-ec3c-4686-bc29-89a0f95eae1c,cache=none,werror=stop,rerror=stop,aio=native
  -device 
 virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
  -drive 
 file=/rhev/data-center/0002-0002-0002-0002-03e2/a7d4ddb9-4486-4e37-b524-29625d6a7e61/images/238e79c3-378b-4117-9b6d-18f73832f286/a8730e05-ed95-4d41-a10d-e249b601ebd3,if=none,id=drive-virtio-disk1,format=qcow2,serial=238e79c3-378b-4117-9b6d-18f73832f286,cache=none,werror=stop,rerror=stop,aio=native
  -device 
 virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk1,id=virtio-disk1
  -netdev tap,fd=29,id=hostnet0,vhost=on,vhostfd=30 -device 
 virtio-net-pci,netdev=hostnet0,id=net0,mac=00:00:1a:4a:ae:02,bus=pci.0,addr=0x3
  -chardev 
 socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/fbbdc0a0-23a4-4d32-a526-a35c59eb790d.com.redhat.rhevm.vdsm,server,nowait
  -device 
 virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm
  -chardev 
 socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/fbbdc0a0-23a4-4d32-a526-a35c59eb790d.org.qemu.guest_agent.0,server,nowait
  -device 
 virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0
  -chardev pty,id=charconsole0 -device 
 virtconsole,chardev=charconsole0,id=console0 -device usb-tablet,id=input0 
 -vnc 172.16.1.14:2,password -k en-us -vga cirrus -device 
 virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on
 
 Sven 
 

Thanks a lot.
I will try trace this issue on my local setup.
Best regards,
Vadim.

 -Ursprüngliche Nachricht-
 Von: Vadim Rozenfeld [mailto:vroze...@redhat.com] 
 Gesendet: Montag, 4. Mai 2015 05:00
 An: Sven Achtelik
 Cc: Doron Fediuck; Martijn Grendelman; Karen Noel; users@ovirt.org
 Betreff: Re: AW: AW: Bad performance with Windows 2012 guests
 
 On Sun, 2015-05-03 at 07:46 -0500, Sven Achtelik wrote:
  Hi Vadim,
  
  I've tested the performance with CrystalDiskMark from inside the Windows 
  guest. Using Win2k8 R2 I got expected values for my system, about 88 MB/s 
  on 4k random with 32 queues and 500MB/s + sequential writes with 32 queues. 
  Using a Windows 2012 VM on the same system it's only 33MB/s on 4k random 
  with 32 queues and 300MB/s sequential writes. Similar tests with a linux VM 
  show a bit better values than the Win2k8 R2 and respond ultra-fast.
  
  My hosts are connected via iSCSI using a 10 GbE link and a ZFS appliance as 
  the storage system. All tests have been run several times with the same 
  results.
 
 Sven,
 Can I ask you to post the Windows 2012 VM qemu command line?
 
 Thanks,
 Vadim.
 
  
  Sven
  
  -Ursprüngliche Nachricht-
  Von: Vadim Rozenfeld [mailto:vroze...@redhat.com]
  Gesendet: Sonntag, 3. Mai 2015 14:35
  An: Sven Achtelik
  Cc: Doron Fediuck; Martijn Grendelman; Karen Noel; users@ovirt.org
  Betreff: Re: AW: Bad performance with Windows 2012 guests
  
  On Sun, 2015-05-03 at 06:48 -0500, Sven Achtelik wrote:
   Hi Doron,
   
   I've also

[ovirt-users] Slow Export Domain

2016-06-22 Thread Sven Achtelik
Hi Everyone,

I'm trying to export VMs to an Export Domain for Backup and noticed that all of 
this is running at max 100Mbit/s. Is this some limitation that comes with the 
Export Domain ? I've checked all network connections and all of them report at 
least 1000Mbits/s.  Am I missing something ?

Thank you,

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


Re: [ovirt-users] Slow Export Domain

2016-06-22 Thread Sven Achtelik
Hi,

I’ve done some testing and it turns out that my NFS-Server seems to be the 
limiting factor in combination with the used NFS version. The Server is a 
Windows Server 2012 R2 with “Service for Network File System” installed. I 
mounted the share from ovrit with the default nfs version 3 and it work but not 
more than 100Mbit/s and I don’t know why. When mounting the share on the host 
manually like so “mount –t nfs4 –o minorversion=1 172.16.6.7:/test /mnt/test/” 
I was able to get to about 400Mbit/s. It’s still far away from full speed  but 
that’s ok for me. I tried to change the NFS version in ovirt to V4, but with 
these settings the mount fails. It has to be NFS4.1 – can that be done over the 
GUI somehow or are there any other options ?

Thank you,

Sven

Von: Vinzenz Feenstra [mailto:vfeen...@redhat.com]
Gesendet: Mittwoch, 22. Juni 2016 12:40
An: Christophe TREFOIS <christophe.tref...@uni.lu>
Cc: Sven Achtelik <sven.achte...@mailpool.us>; users@ovirt.org
Betreff: Re: [ovirt-users] Slow Export Domain


On Jun 22, 2016, at 12:31 PM, Christophe TREFOIS 
<christophe.tref...@uni.lu<mailto:christophe.tref...@uni.lu>> wrote:

Not true, we have seen significant slowness because of the way oVirt exports 
the VMs, as well as I/O.

Well all I wanted to say with this is, that there is no artificial limitation 
of the speed. At least not that I know of, if there’s an issue with the speed 
which is caused by a software issue on our side please do report a bug.



Best,
Dr Christophe Trefois, Dipl.-Ing.
Technical Specialist / Post-Doc
UNIVERSITÉ DU LUXEMBOURG

LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
Campus Belval | House of Biomedicine
6, avenue du Swing
L-4367 Belvaux
T: +352 46 66 44 6124
F: +352 46 66 44 6949
http://www.uni.lu/lcsb
[https://s3.amazonaws.com/htmlsig-assets/rounded/facebook.png]<https://www.facebook.com/trefex>
  [https://s3.amazonaws.com/htmlsig-assets/rounded/twitter.png] 
<https://twitter.com/Trefex>   
[https://s3.amazonaws.com/htmlsig-assets/rounded/googleplus.png] 
<https://plus.google.com/+ChristopheTrefois/>   
[https://s3.amazonaws.com/htmlsig-assets/rounded/linkedin.png] 
<https://www.linkedin.com/in/trefoischristophe>   
[https://s3.amazonaws.com/htmlsig-assets/rounded/skype.png] 
<http://skype:Trefex?call>


This message is confidential and may contain privileged information.
It is intended for the named recipient only.
If you receive it in error please notify me and permanently delete the original 
message and any copies.



On 22 Jun 2016, at 10:07, Vinzenz Feenstra 
<vfeen...@redhat.com<mailto:vfeen...@redhat.com>> wrote:


On Jun 22, 2016, at 9:39 AM, Sven Achtelik 
<sven.achte...@mailpool.us<mailto:sven.achte...@mailpool.us>> wrote:

Hi Everyone,

I’m trying to export VMs to an Export Domain for Backup and noticed that all of 
this is running at max 100Mbit/s. Is this some limitation that comes with the 
Export Domain ? I’ve checked all network connections and all of them report at 
least 1000Mbits/s.  Am I missing something ?

So from our side there’s no limitation. So there might be a router, switch or 
anything in between that does not support 1 GBit on your network. You’re really 
just limited here by Storage and/or Network bandwith.



Thank you,

Sven
___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org<mailto: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] Rearrange View of VMs

2017-01-23 Thread Sven Achtelik
Hi List, 

 

does anyone know if it's possible the rearange the colums in the VMs view ? 

 



 

 

I would like to have the Desciption directly next to Name and IP Address
before Host. 

 

Thank you, 

 

Sven 



smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Rearrange View of VMs

2017-01-23 Thread Sven Achtelik
Hi Alexander, 

thank you, I'm running a very old engine version (3.5) and it seems that
this is something in the newer versions. It's not working in 3.5. We're
going to upgrade as soon as 4.1 is available. Is there any other way to do
this in 3.5 ? 

Thank you, 

Sven  

-Ursprüngliche Nachricht-
Von: Alexander Wels [mailto:aw...@redhat.com] 
Gesendet: Montag, 23. Januar 2017 15:39
An: users@ovirt.org
Cc: Sven Achtelik <sven.achte...@eps.aero>
Betreff: Re: [ovirt-users] Rearrange View of VMs

On Monday, January 23, 2017 8:00:58 AM EST Sven Achtelik wrote:
> Hi List,
> 
> 
> 
> does anyone know if it's possible the rearange the colums in the VMs view
?
> 
> 

Yes, if you right click the header, you will get a popup with all the names
of the columns and a checkbox, you can enable/disable columns, as well as
drag and drop column names to re-arrange the order. This should persist on a
per BROWSER basis (its stored in local storage of the browser).

> 
> 
> 
> 
> 
> 
> 
> I would like to have the Desciption directly next to Name and IP Address
> before Host.
> 
> 
> 
> Thank you,
> 
> 
> 
> Sven




smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Spice-devel] Video performance

2017-01-25 Thread Sven Achtelik
Hi, 

where would I have to add this: 







I mean which file or is it somewhere in the config ? 

I found something that sounds like it would do the same. What do you think
about that ? 

http://www.jieyung.com/en/faq.asp?newsclassid=377=508

It's written for 3.5 and does something before the VM start with a hook to
change that. Would that also work in 4.06 or is there a more elegant way to
do this ? 

Thank you, 

Sven 

-Ursprüngliche Nachricht-
Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von
Victor Toso
Gesendet: Montag, 9. Januar 2017 14:50
An: Yaniv Dary 
Cc: spice-de...@lists.freedesktop.org; Shalabh Goel
; users 
Betreff: Re: [ovirt-users] [Spice-devel] Video performance

Hi,

> Hi,
>
>  I have installed ovirt engine 4.0.5 on centos 7.3. I installed 
> ovirt-node on a separate phyical system and added it to ovirt-engine.
>  I installed windows 7 in a VM on the node. I installed all the virtio 
> drivers in the guest. The protocol used by me to access VM is Spice 
> QXL. I have installed virt-viewer on the clients to access (one is 
> windows and othe ris ubuntu)  Now, when I pay the sample video 
> "wildlife" in the windows the video frame rate is very low and it is 
> skipping a aot of frames. I tested it on both of the clients. The 
> screen resolution is 1280x1024 on ubuntu and 1366x768 on windows.
>
> The *lscpu* output of the node is:
>
> Architecture:  x86_64
> CPU op-mode(s):32-bit, 64-bit
> Byte Order:Little Endian
> CPU(s):48
> On-line CPU(s) list:   0-47
> Thread(s) per core:2
> Core(s) per socket:12
> Socket(s): 2
> NUMA node(s):  2
> Vendor ID: GenuineIntel
> CPU family:6
> Model: 62
> Model name:Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
> Stepping:  4
> CPU MHz:   3047.097
> BogoMIPS:  5406.43
> Virtualization:VT-x
> L1d cache: 32K
> L1i cache: 32K
> L2 cache:  256K
> L3 cache:  30720K
> NUMA node0 CPU(s): 0-11,24-35
> NUMA node1 CPU(s): 12-23,36-47
>
> The top command output is showing the following on the node:
>
> PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
> COMMAND
>
> 30219 qemu  20   0 5040176 4.048g  13564 S 113.2  3.2  16:05.49
> qemu-kvm
>
>  6178 root  15  -5 1495476  48092  10676 S  28.1  0.0 300:58.82
> supervdsmServer
>
>   361 root  25   5   0  0  0 S   7.0  0.0 333:14.58
> ksmd
>
>   265 root  rt   0   0  0  0 S   2.6  0.0   0:06.80
> migration/32
>
> 27504 qemu  20   0 5137240 4.412g  13516 S   2.6  3.5  10:53.39
> qemu-kvm
>
> 30222 root  20   0   0  0  0 S   2.0  0.0   0:11.98
> vhost-30219
>
>  6329 vdsm   0 -20 3258204 151772  13004 S   0.7  0.1  65:29.75 vdsm
>
> -
> Please suggest what should I do to improve the video performance.

You could try enabling the streaming mode, disabled by default in el7 due
different issues (see [0])

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1294564

To enable the streaming mode, you should include that inside the graphics
node, see mine bellow for an example. Options are 'off', 'all'
and 'filter'.







Cheers,
  toso


smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Mirgration issues

2017-02-21 Thread Sven Achtelik
Hi,

there is a VM running, but not that one.

[root@ovirt-node02 log]#  vdsClient -s localhost list table
2e0e0da8-eaa5-44ee-8f11-f1297d149be3  14551  NAMEUp   
10.6.0.181

I even tried that after restarting host 2 and at this point I’m sure there were 
no VMs running.


Von: Fred Rolland [mailto:froll...@redhat.com]
Gesendet: Dienstag, 21. Februar 2017 13:59
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: users <users@ovirt.org>
Betreff: Re: [ovirt-users] Mirgration issues

I see the following in the source VDSM log :

2017-02-21 05:53:28,067 INFO  (migsrc/8733d4a6) [virt.vm] 
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') starting migration to 
qemu+tls://ovirt-node02.mgmt.lan.company.lan/system with miguri 
tcp://172.16.4.19<http://172.16.4.19> (migration:453)
2017-02-21 05:53:28,262 ERROR (migsrc/8733d4a6) [virt.vm] 
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') operation failed: domain 'DATA_p' 
is already defined with uuid 8733d4a6-0844-4955-804f-6b919e93e076 
(migration:265)

libvirtError: operation failed: domain 'DATA_p' is already defined with uuid 
8733d4a6-0844-4955-804f-6b919e93e076
Can you check on host 2 if you have any VM already running there ?
You can use :virsh list

On Tue, Feb 21, 2017 at 2:15 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi All,

I’m having issues with migrating a VM. I have a 3 Host cluster and the VM is 
able to migrate between host 1 and 3, but not to host 2.  I don’t know why and 
I tried figuring this out with the log files and had no luck. All other VMs 
migrate to the host 2 without any issues.

If you have some advice for me that would help a lot.


Thank you,

Sven


___
Users mailing list
Users@ovirt.org<mailto: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] Mirgration issues

2017-02-23 Thread Sven Achtelik
Hi Yanir,

the hosts are all shown as green and working in the Hosts tab. And I can 
migrate that vm to host 03. Just 02 is not working.

Hosted Engine Information is also showing good on all hosts.

Von: Yanir Quinn [mailto:yqu...@redhat.com]
Gesendet: Mittwoch, 22. Februar 2017 11:21
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: Fred Rolland <froll...@redhat.com>; users <users@ovirt.org>
Betreff: Re: [ovirt-users] Mirgration issues

I can spot in engine.log that ovirt-node03.mgmt.lan.company.lan (if it is your 
host 3)  is being filtered out when trying to migrate the VM :

2017-02-21 04:32:33,618-06 INFO  [org.ovirt.engine.core.bll.MigrateVmCommand] 
(org.ovirt.thread.pool-7-thread-44) [8ff8601b-238b-4565-b3bf-de6211cb4685] 
Running command: MigrateVmCommand internal: false. Entitie
s affected :  ID: e051b38c-fd63-40f0-8d64-26c12ff7b880 Type: VMAction group 
MIGRATE_VM with role type USER
2017-02-21 04:32:33,627-06 INFO  
[org.ovirt.engine.core.bll.scheduling.SchedulingManager] 
(org.ovirt.thread.pool-7-thread-44) [8ff8601b-238b-4565-b3bf-de6211cb4685] 
Candidate host 'ovirt-node03.mgmt.lan.company.
lan' ('9b0feba5-d9a0-491e-b2c2-0742d30af304') was filtered out by 
'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation id: 
8ff8601b-238b-4565-b3bf-de6211cb4685)

I suggest you first check if the host is functioning correctly.

Regards,
Yanir Quinn


On Tue, Feb 21, 2017 at 3:04 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi,

there is a VM running, but not that one.

[root@ovirt-node02 log]#  vdsClient -s localhost list table
2e0e0da8-eaa5-44ee-8f11-f1297d149be3  14551  NAMEUp   
10.6.0.181

I even tried that after restarting host 2 and at this point I’m sure there were 
no VMs running.


Von: Fred Rolland [mailto:froll...@redhat.com<mailto:froll...@redhat.com>]
Gesendet: Dienstag, 21. Februar 2017 13:59
An: Sven Achtelik <sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>>
Cc: users <users@ovirt.org<mailto:users@ovirt.org>>
Betreff: Re: [ovirt-users] Mirgration issues

I see the following in the source VDSM log :

2017-02-21 05:53:28,067 INFO  (migsrc/8733d4a6) [virt.vm] 
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') starting migration to 
qemu+tls://ovirt-node02.mgmt.lan.company.lan/system with miguri 
tcp://172.16.4.19<http://172.16.4.19> (migration:453)
2017-02-21 05:53:28,262 ERROR (migsrc/8733d4a6) [virt.vm] 
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') operation failed: domain 'DATA_p' 
is already defined with uuid 8733d4a6-0844-4955-804f-6b919e93e076 
(migration:265)

libvirtError: operation failed: domain 'DATA_p' is already defined with uuid 
8733d4a6-0844-4955-804f-6b919e93e076
Can you check on host 2 if you have any VM already running there ?
You can use :virsh list

On Tue, Feb 21, 2017 at 2:15 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi All,

I’m having issues with migrating a VM. I have a 3 Host cluster and the VM is 
able to migrate between host 1 and 3, but not to host 2.  I don’t know why and 
I tried figuring this out with the log files and had no luck. All other VMs 
migrate to the host 2 without any issues.

If you have some advice for me that would help a lot.


Thank you,

Sven


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


___
Users mailing list
Users@ovirt.org<mailto: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] Mirgration issues

2017-02-23 Thread Sven Achtelik
Did that twice and it didn’t change anything.

Von: Arman Khalatyan [mailto:arm2...@gmail.com]
Gesendet: Donnerstag, 23. Februar 2017 15:02
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: Yanir Quinn <yqu...@redhat.com>; users <users@ovirt.org>
Betreff: Re: [ovirt-users] Mirgration issues

engine gui.

On Thu, Feb 23, 2017 at 1:46 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Do you mean just reinstalling from the Engine gui or reinstalling it completely 
including the OS?

Von: Arman Khalatyan [mailto:arm2...@gmail.com<mailto:arm2...@gmail.com>]
Gesendet: Donnerstag, 23. Februar 2017 13:45

An: Sven Achtelik <sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>>
Cc: Yanir Quinn <yqu...@redhat.com<mailto:yqu...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Betreff: Re: [ovirt-users] Mirgration issues

Just random thought: try to reinstall the "bad" host:)

On Thu, Feb 23, 2017 at 1:32 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Yes, all hosts are identical and going through the values there is no 
difference between them.

[root@ovirt-node02 ~]# systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Tue 2017-02-21 08:00:54 CST; 1 day 22h ago
  Process: 3571 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start 
(code=exited, status=0/SUCCESS)
Main PID: 3742 (vdsm)
   CGroup: /system.slice/vdsmd.service
   ├─3742 /usr/bin/python2 /usr/share/vdsm/vdsm
   ├─4021 /usr/libexec/ioprocess --read-pipe-fd 57 --write-pipe-fd 56 
--max-threads 10 --max-queued-requests 10
   ├─ /usr/libexec/ioprocess --read-pipe-fd 41 --write-pipe-fd 40 
--max-threads 10 --max-queued-requests 10
   ├─5120 /usr/libexec/ioprocess --read-pipe-fd 71 --write-pipe-fd 70 
--max-threads 10 --max-queued-requests 10
   ├─5232 /usr/libexec/ioprocess --read-pipe-fd 79 --write-pipe-fd 78 
--max-threads 10 --max-queued-requests 10
   ├─5533 /usr/libexec/ioprocess --read-pipe-fd 87 --write-pipe-fd 86 
--max-threads 10 --max-queued-requests 10
   ├─5576 /usr/libexec/ioprocess --read-pipe-fd 109 --write-pipe-fd 108 
--max-threads 10 --max-queued-requests 10
   └─5589 /usr/libexec/ioprocess --read-pipe-fd 116 --write-pipe-fd 114 
--max-threads 10 --max-queued-requests 10

Feb 23 06:22:50 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:50 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:53 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:54 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:54 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:55 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:58 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:59 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:23:04 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:23:04 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof


[root@ovirt-node01 ~]#  systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Tue 2017-02-21 06:31:51 CST; 1 day 23h ago
  Process: 4180 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start 
(code=exited, status=0/SUCCESS)
Main PID: 4251 (vdsm)
   CGroup: /system.slice/vdsmd.service
   ├─4251 /usr/bin/python2 /usr/share/vdsm/vdsm
   ├─4513 /usr/libexec/ioprocess --read-pipe-fd 65 --write-pipe-fd 64 
--max-threads 10 --max-queued-requests 10
   ├─4926 /usr/libexec/ioprocess --read-pipe-fd 40 --write-pipe-fd 39 
--max-threads 10 --max-queued-requests 10
   ├─5639 /usr/libexec/ioprocess --read-pipe-fd 59 --write-pipe-fd 57 
--max-threads 10 --max-queued-requests 10
   ├─5751 /usr/libexec/ioprocess --read-pipe-fd 79 --write-pipe-fd 76 
--max-threads 10 --max-queued-requests 10
   ├─6061 /usr/libexec/ioprocess --read-pipe-fd 87 --write-pipe-fd 86 
--max-threads 10 --max-queued-requests 10

Re: [ovirt-users] Mirgration issues

2017-02-23 Thread Sven Achtelik
Do you mean just reinstalling from the Engine gui or reinstalling it completely 
including the OS?

Von: Arman Khalatyan [mailto:arm2...@gmail.com]
Gesendet: Donnerstag, 23. Februar 2017 13:45
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: Yanir Quinn <yqu...@redhat.com>; users <users@ovirt.org>
Betreff: Re: [ovirt-users] Mirgration issues

Just random thought: try to reinstall the "bad" host:)

On Thu, Feb 23, 2017 at 1:32 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Yes, all hosts are identical and going through the values there is no 
difference between them.

[root@ovirt-node02 ~]# systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Tue 2017-02-21 08:00:54 CST; 1 day 22h ago
  Process: 3571 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start 
(code=exited, status=0/SUCCESS)
Main PID: 3742 (vdsm)
   CGroup: /system.slice/vdsmd.service
   ├─3742 /usr/bin/python2 /usr/share/vdsm/vdsm
   ├─4021 /usr/libexec/ioprocess --read-pipe-fd 57 --write-pipe-fd 56 
--max-threads 10 --max-queued-requests 10
   ├─ /usr/libexec/ioprocess --read-pipe-fd 41 --write-pipe-fd 40 
--max-threads 10 --max-queued-requests 10
   ├─5120 /usr/libexec/ioprocess --read-pipe-fd 71 --write-pipe-fd 70 
--max-threads 10 --max-queued-requests 10
   ├─5232 /usr/libexec/ioprocess --read-pipe-fd 79 --write-pipe-fd 78 
--max-threads 10 --max-queued-requests 10
   ├─5533 /usr/libexec/ioprocess --read-pipe-fd 87 --write-pipe-fd 86 
--max-threads 10 --max-queued-requests 10
   ├─5576 /usr/libexec/ioprocess --read-pipe-fd 109 --write-pipe-fd 108 
--max-threads 10 --max-queued-requests 10
   └─5589 /usr/libexec/ioprocess --read-pipe-fd 116 --write-pipe-fd 114 
--max-threads 10 --max-queued-requests 10

Feb 23 06:22:50 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:50 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:53 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:54 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:54 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:55 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:58 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:59 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:23:04 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:23:04 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof


[root@ovirt-node01 ~]#  systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Tue 2017-02-21 06:31:51 CST; 1 day 23h ago
  Process: 4180 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start 
(code=exited, status=0/SUCCESS)
Main PID: 4251 (vdsm)
   CGroup: /system.slice/vdsmd.service
   ├─4251 /usr/bin/python2 /usr/share/vdsm/vdsm
   ├─4513 /usr/libexec/ioprocess --read-pipe-fd 65 --write-pipe-fd 64 
--max-threads 10 --max-queued-requests 10
   ├─4926 /usr/libexec/ioprocess --read-pipe-fd 40 --write-pipe-fd 39 
--max-threads 10 --max-queued-requests 10
   ├─5639 /usr/libexec/ioprocess --read-pipe-fd 59 --write-pipe-fd 57 
--max-threads 10 --max-queued-requests 10
   ├─5751 /usr/libexec/ioprocess --read-pipe-fd 79 --write-pipe-fd 76 
--max-threads 10 --max-queued-requests 10
   ├─6061 /usr/libexec/ioprocess --read-pipe-fd 87 --write-pipe-fd 86 
--max-threads 10 --max-queued-requests 10
   ├─6109 /usr/libexec/ioprocess --read-pipe-fd 116 --write-pipe-fd 115 
--max-threads 10 --max-queued-requests 10
   └─6118 /usr/libexec/ioprocess --read-pipe-fd 126 --write-pipe-fd 125 
--max-threads 10 --max-queued-requests 10

Feb 23 06:28:53 ovirt-node01.mgmt.lan.company.lan vdsm[4251]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:28:53 ovirt-node01.mgmt.lan.company.lan vdsm[4251]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:28:57 ovirt-node01.mgmt.lan.company.lan vdsm[425

Re: [ovirt-users] Mirgration issues

2017-02-23 Thread Sven Achtelik
Yes I did but only temporary for a test. I wanted to see if that might solve 
the issue.

I have rebooted all hosts and made sure that selinux is enforcing. I also had a 
chance to shut down and restart the vm. The issue is still the same, I can’t 
migrate it to host 2 even after a clean reboot with nothing running on host 02.


Von: Arman Khalatyan [mailto:arm2...@gmail.com]
Gesendet: Donnerstag, 23. Februar 2017 11:59
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: Yanir Quinn <yqu...@redhat.com>; users <users@ovirt.org>
Betreff: Re: [ovirt-users] Mirgration issues

Did you disable selinux? this can be a reason.

On Thu, Feb 23, 2017 at 10:31 AM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi Yanir,

the hosts are all shown as green and working in the Hosts tab. And I can 
migrate that vm to host 03. Just 02 is not working.

Hosted Engine Information is also showing good on all hosts.

Von: Yanir Quinn [mailto:yqu...@redhat.com<mailto:yqu...@redhat.com>]
Gesendet: Mittwoch, 22. Februar 2017 11:21
An: Sven Achtelik <sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>>
Cc: Fred Rolland <froll...@redhat.com<mailto:froll...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>

Betreff: Re: [ovirt-users] Mirgration issues

I can spot in engine.log that ovirt-node03.mgmt.lan.company.lan (if it is your 
host 3)  is being filtered out when trying to migrate the VM :

2017-02-21 04:32:33,618-06 INFO  [org.ovirt.engine.core.bll.MigrateVmCommand] 
(org.ovirt.thread.pool-7-thread-44) [8ff8601b-238b-4565-b3bf-de6211cb4685] 
Running command: MigrateVmCommand internal: false. Entitie
s affected :  ID: e051b38c-fd63-40f0-8d64-26c12ff7b880 Type: VMAction group 
MIGRATE_VM with role type USER
2017-02-21 04:32:33,627-06 INFO  
[org.ovirt.engine.core.bll.scheduling.SchedulingManager] 
(org.ovirt.thread.pool-7-thread-44) [8ff8601b-238b-4565-b3bf-de6211cb4685] 
Candidate host 'ovirt-node03.mgmt.lan.company.
lan' ('9b0feba5-d9a0-491e-b2c2-0742d30af304') was filtered out by 
'VAR__FILTERTYPE__INTERNAL' filter 'HA' (correlation id: 
8ff8601b-238b-4565-b3bf-de6211cb4685)

I suggest you first check if the host is functioning correctly.

Regards,
Yanir Quinn


On Tue, Feb 21, 2017 at 3:04 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi,

there is a VM running, but not that one.

[root@ovirt-node02 log]#  vdsClient -s localhost list table
2e0e0da8-eaa5-44ee-8f11-f1297d149be3  14551  NAMEUp   
10.6.0.181

I even tried that after restarting host 2 and at this point I’m sure there were 
no VMs running.


Von: Fred Rolland [mailto:froll...@redhat.com<mailto:froll...@redhat.com>]
Gesendet: Dienstag, 21. Februar 2017 13:59
An: Sven Achtelik <sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>>
Cc: users <users@ovirt.org<mailto:users@ovirt.org>>
Betreff: Re: [ovirt-users] Mirgration issues

I see the following in the source VDSM log :

2017-02-21 05:53:28,067 INFO  (migsrc/8733d4a6) [virt.vm] 
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') starting migration to 
qemu+tls://ovirt-node02.mgmt.lan.company.lan/system with miguri 
tcp://172.16.4.19<http://172.16.4.19> (migration:453)
2017-02-21 05:53:28,262 ERROR (migsrc/8733d4a6) [virt.vm] 
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') operation failed: domain 'DATA_p' 
is already defined with uuid 8733d4a6-0844-4955-804f-6b919e93e076 
(migration:265)

libvirtError: operation failed: domain 'DATA_p' is already defined with uuid 
8733d4a6-0844-4955-804f-6b919e93e076
Can you check on host 2 if you have any VM already running there ?
You can use :virsh list

On Tue, Feb 21, 2017 at 2:15 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi All,

I’m having issues with migrating a VM. I have a 3 Host cluster and the VM is 
able to migrate between host 1 and 3, but not to host 2.  I don’t know why and 
I tried figuring this out with the log files and had no luck. All other VMs 
migrate to the host 2 without any issues.

If you have some advice for me that would help a lot.


Thank you,

Sven


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


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


___
Users mailing list
Users@ovirt.org<mailto: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] Mirgration issues

2017-02-23 Thread Sven Achtelik
 SSL error receiving from 
: unexpected eof
Feb 23 06:29:07 ovirt-node01.mgmt.lan.company.lan vdsm[4251]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:29:11 ovirt-node01.mgmt.lan.company.lan vdsm[4251]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:29:11 ovirt-node01.mgmt.lan.company.lan vdsm[4251]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof

[root@ovirt-node03 ~]# systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Tue 2017-02-21 08:22:06 CST; 1 day 22h ago
  Process: 3686 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start 
(code=exited, status=0/SUCCESS)
Main PID: 3788 (vdsm)
   CGroup: /system.slice/vdsmd.service
   ├─ 3788 /usr/bin/python2 /usr/share/vdsm/vdsm
   ├─ 4024 /usr/libexec/ioprocess --read-pipe-fd 57 --write-pipe-fd 56 
--max-threads 10 --max-queued-requests 10
   ├─ 4395 /usr/libexec/ioprocess --read-pipe-fd 40 --write-pipe-fd 39 
--max-threads 10 --max-queued-requests 10
   ├─14254 /usr/libexec/ioprocess --read-pipe-fd 104 --write-pipe-fd 
103 --max-threads 10 --max-queued-requests 10
   ├─22710 /usr/libexec/ioprocess --read-pipe-fd 72 --write-pipe-fd 71 
--max-threads 10 --max-queued-requests 10
   ├─22823 /usr/libexec/ioprocess --read-pipe-fd 80 --write-pipe-fd 79 
--max-threads 10 --max-queued-requests 10
   ├─23090 /usr/libexec/ioprocess --read-pipe-fd 87 --write-pipe-fd 85 
--max-threads 10 --max-queued-requests 10
   ├─23130 /usr/libexec/ioprocess --read-pipe-fd 106 --write-pipe-fd 98 
--max-threads 10 --max-queued-requests 10
   └─23144 /usr/libexec/ioprocess --read-pipe-fd 115 --write-pipe-fd 
114 --max-threads 10 --max-queued-requests 10

Feb 23 06:29:56 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:29:58 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:29:59 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:30:00 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:30:00 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:30:09 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:30:10 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:30:11 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:30:11 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:30:13 ovirt-node03.mgmt.lan.company.lan vdsm[3788]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof


I’ve setup the cluster with 4.05 and the SSL error came up later I think. I 
couldn’t find anything to solve this so far. I remember reading a bug report 
about it and that it’s not fixed yet.
Von: Arman Khalatyan [mailto:arm2...@gmail.com]
Gesendet: Donnerstag, 23. Februar 2017 13:22
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: Yanir Quinn <yqu...@redhat.com>; users <users@ovirt.org>
Betreff: Re: [ovirt-users] Mirgration issues

if you check the hosts capabilities are they same??
what about systemctl status vdsmd -l ?

On Thu, Feb 23, 2017 at 12:05 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Yes I did but only temporary for a test. I wanted to see if that might solve 
the issue.

I have rebooted all hosts and made sure that selinux is enforcing. I also had a 
chance to shut down and restart the vm. The issue is still the same, I can’t 
migrate it to host 2 even after a clean reboot with nothing running on host 02.


Von: Arman Khalatyan [mailto:arm2...@gmail.com<mailto:arm2...@gmail.com>]
Gesendet: Donnerstag, 23. Februar 2017 11:59
An: Sven Achtelik <sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>>
Cc: Yanir Quinn <yqu...@redhat.com<mailto:yqu...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>

Betreff: Re: [ovirt-users] Mirgration issues

Did you disable selinux? this can be a reason.

On Thu, Feb 23, 2017 at 10:31 AM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi Yanir,

the hosts are all shown as green and working in the Hosts tab. And I can 
migrate that vm to host 03. Just 02 is not working.

Hosted Engine Information is also showing goo

Re: [ovirt-users] Mirgration issues

2017-02-23 Thread Sven Achtelik
Hi All,

so sorry for not seeing this. I used vdsCLient just because I didn’t know how 
to get virsh working. (It asked for user/password) Now that I managed to get 
this working things look different

[root@ovirt-node02 ~]# vdsClient -s localhost list table
e051b38c-fd63-40f0-8d64-26c12ff7b880  41294  HostedEngine Up
   172.16.1.9
[root@ovirt-node02 ~]# virsh -r list --all
 IdName   State

1 HostedEngine   running
- data_p   shut off

How could this vm persist over reboots and reinstalls? And how would I remove 
this ?


Von: Michal Skrivanek [mailto:michal.skriva...@redhat.com]
Gesendet: Donnerstag, 23. Februar 2017 17:35
An: Sven Achtelik <sven.achte...@eps.aero>; Martin Sivak <msi...@redhat.com>
Cc: Arman Khalatyan <arm2...@gmail.com>; users <users@ovirt.org>
Betreff: Re: [ovirt-users] Mirgration issues


On 23 Feb 2017, at 15:04, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:

Did that twice and it didn’t change anything.

Von: Arman Khalatyan [mailto:arm2...@gmail.com]
Gesendet: Donnerstag, 23. Februar 2017 15:02
An: Sven Achtelik <sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>>
Cc: Yanir Quinn <yqu...@redhat.com<mailto:yqu...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Betreff: Re: [ovirt-users] Mirgration issues

engine gui.

On Thu, Feb 23, 2017 at 1:46 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Do you mean just reinstalling from the Engine gui or reinstalling it completely 
including the OS?

Von: Arman Khalatyan [mailto:arm2...@gmail.com<mailto:arm2...@gmail.com>]
Gesendet: Donnerstag, 23. Februar 2017 13:45

An: Sven Achtelik <sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>>
Cc: Yanir Quinn <yqu...@redhat.com<mailto:yqu...@redhat.com>>; users 
<users@ovirt.org<mailto:users@ovirt.org>>
Betreff: Re: [ovirt-users] Mirgration issues

Just random thought: try to reinstall the "bad" host:)

On Thu, Feb 23, 2017 at 1:32 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Yes, all hosts are identical and going through the values there is no 
difference between them.

[root@ovirt-node02 ~]# systemctl status vdsmd -l
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Tue 2017-02-21 08:00:54 CST; 1 day 22h ago
  Process: 3571 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start 
(code=exited, status=0/SUCCESS)
Main PID: 3742 (vdsm)
   CGroup: /system.slice/vdsmd.service
   ├─3742 /usr/bin/python2 /usr/share/vdsm/vdsm
   ├─4021 /usr/libexec/ioprocess --read-pipe-fd 57 --write-pipe-fd 56 
--max-threads 10 --max-queued-requests 10
   ├─ /usr/libexec/ioprocess --read-pipe-fd 41 --write-pipe-fd 40 
--max-threads 10 --max-queued-requests 10
   ├─5120 /usr/libexec/ioprocess --read-pipe-fd 71 --write-pipe-fd 70 
--max-threads 10 --max-queued-requests 10
   ├─5232 /usr/libexec/ioprocess --read-pipe-fd 79 --write-pipe-fd 78 
--max-threads 10 --max-queued-requests 10
   ├─5533 /usr/libexec/ioprocess --read-pipe-fd 87 --write-pipe-fd 86 
--max-threads 10 --max-queued-requests 10
   ├─5576 /usr/libexec/ioprocess --read-pipe-fd 109 --write-pipe-fd 108 
--max-threads 10 --max-queued-requests 10
   └─5589 /usr/libexec/ioprocess --read-pipe-fd 116 --write-pipe-fd 114 
--max-threads 10 --max-queued-requests 10

Feb 23 06:22:50 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:50 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:53 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:54 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:54 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:55 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:58 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:22:59 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:23:04 ovirt-node02.mgmt.lan.company.lan vdsm[3742]: vdsm 
vds.dispatcher ERROR SSL error receiving from 
: unexpected eof
Feb 23 06:23:04 ovi

[ovirt-users] GUI is slow when in Hosts Tab

2017-02-27 Thread Sven Achtelik
Hi All,

the Engine Gui is working fine and fast until I open the Hosts Tab and selected 
on of my Hosts. It's taking about 10 Seconds after selecting a Host until I can 
see any information for the Host. After doing this everything feels sticky 
until I logout and login again. This happens with any Browser.

Can you provide any hints on where to start looking for the cause of this ?

Thank you,

Sven

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


Re: [ovirt-users] VM incremental backup

2016-09-27 Thread Sven Achtelik
Hi Yaniv,

how can this be done with DD ? Since it doesn’t know if the block is free space 
? I’ve been looking for such a solution for a long time now. Everything I could 
find out was that I have to use a utility that understands the FS and therefore 
knows where the free space is.

Thank you,

Sven
Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Yaniv Dary
Gesendet: Dienstag, 27. September 2016 14:38
An: Maton, Brett 
Cc: vasily.lamy...@megafon.ru; Ovirt Users 
Betreff: Re: [ovirt-users] VM incremental backup

Full VM disk backup. If you use dd you can drop the 0 parts of the disk.


Yaniv Dary

Technical Product Manager

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109



Tel : +972 (9) 7692306

8272306

Email: yd...@redhat.com

IRC : ydary

2016-09-27 15:27 GMT+03:00 Maton, Brett 
>:
Is there a preferred or recommended backup method in the meantime ?

2016-09-22 10:30 GMT+01:00 
vasily.lamy...@megafon.ru 
>:
Hello!
I would like to understand the existence of the possibility of incremental VM 
backups.
And if it is, the means by which it is achieved.
While I was only able to achieve a complete backup of the virtual machine (but 
it is a very large amount of information and time) by cloning a snapshot of the 
VM and export to data domain.

Ламыкин Василий
Старший инженер по эксплуатации сервисных платформ
Столичный ф-ал ПАО "МегаФон

+7 (926) 500-3308
[cid:image002.png@01D218CF.C3E1AE90]




Информация в этом сообщении предназначена исключительно для конкретных лиц, 
которым она адресована. В сообщении может содержаться конфиденциальная 
информация, которая не может быть раскрыта или использована кем-либо, кроме 
адресатов. Если вы не адресат этого сообщения, то использование, переадресация, 
копирование или распространение содержания сообщения или его части незаконно и 
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно 
сообщите отправителю об этом и удалите со всем содержимым само сообщение и 
любые возможные его копии и приложения.

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. The 
contents may not be disclosed or used by anyone other than the addressee. If 
you are not the intended recipient(s), any use, disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. If you have received this communication in 
error please notify us immediately by responding to this email and then delete 
the e-mail and all attachments and any copies thereof.

(c)20mf50

___
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] VM incremental backup

2016-09-27 Thread Sven Achtelik
No, I never came across this approach. I didn’t know about virt-sparsify.

I’ll look into that and give it a try.

Thank you

Von: Yaniv Dary [mailto:yd...@redhat.com]
Gesendet: Dienstag, 27. September 2016 15:10
An: Sven Achtelik <sven.achte...@mailpool.us>
Cc: Maton, Brett <mat...@ltresources.co.uk>; vasily.lamy...@megafon.ru; Ovirt 
Users <users@ovirt.org>
Betreff: Re: [ovirt-users] VM incremental backup

As I see it you have two options:
- In backup use 'dd' with 'conv=sparse' (or similar tool that allows sparse).
- After backup use virt-sparsify [1] to reduce the size to the real used size 
prior to restore.

To make this extra efficient you can use virt-sparsify anyways after backup to 
make the file even smaller.
Have you considered this approach?

[1] http://libguestfs.org/virt-sparsify.1.html



Yaniv Dary

Technical Product Manager

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109



Tel : +972 (9) 7692306

8272306

Email: yd...@redhat.com<mailto:yd...@redhat.com>

IRC : ydary

On Tue, Sep 27, 2016 at 4:01 PM, Sven Achtelik 
<sven.achte...@mailpool.us<mailto:sven.achte...@mailpool.us>> wrote:
Hi Yaniv,

how can this be done with DD ? Since it doesn’t know if the block is free space 
? I’ve been looking for such a solution for a long time now. Everything I could 
find out was that I have to use a utility that understands the FS and therefore 
knows where the free space is.

Thank you,

Sven
Von: users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
[mailto:users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>] Im Auftrag von 
Yaniv Dary
Gesendet: Dienstag, 27. September 2016 14:38
An: Maton, Brett <mat...@ltresources.co.uk<mailto:mat...@ltresources.co.uk>>
Cc: vasily.lamy...@megafon.ru<mailto:vasily.lamy...@megafon.ru>; Ovirt Users 
<users@ovirt.org<mailto:users@ovirt.org>>
Betreff: Re: [ovirt-users] VM incremental backup

Full VM disk backup. If you use dd you can drop the 0 parts of the disk.


Yaniv Dary

Technical Product Manager

Red Hat Israel Ltd.

34 Jerusalem Road

Building A, 4th floor

Ra'anana, Israel 4350109



Tel : +972 (9) 7692306<tel:%2B972%20%289%29%207692306>

8272306

Email: yd...@redhat.com<mailto:yd...@redhat.com>

IRC : ydary

2016-09-27 15:27 GMT+03:00 Maton, Brett 
<mat...@ltresources.co.uk<mailto:mat...@ltresources.co.uk>>:
Is there a preferred or recommended backup method in the meantime ?

2016-09-22 10:30 GMT+01:00 
vasily.lamy...@megafon.ru<mailto:vasily.lamy...@megafon.ru> 
<vasily.lamy...@megafon.ru<mailto:vasily.lamy...@megafon.ru>>:
Hello!
I would like to understand the existence of the possibility of incremental VM 
backups.
And if it is, the means by which it is achieved.
While I was only able to achieve a complete backup of the virtual machine (but 
it is a very large amount of information and time) by cloning a snapshot of the 
VM and export to data domain.

Ламыкин Василий
Старший инженер по эксплуатации сервисных платформ
Столичный ф-ал ПАО "МегаФон

+7 (926) 500-3308<tel:%2B7%20%28926%29%20500-3308>
[cid:image001.png@01D218D2.3FA36F80]




Информация в этом сообщении предназначена исключительно для конкретных лиц, 
которым она адресована. В сообщении может содержаться конфиденциальная 
информация, которая не может быть раскрыта или использована кем-либо, кроме 
адресатов. Если вы не адресат этого сообщения, то использование, переадресация, 
копирование или распространение содержания сообщения или его части незаконно и 
запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно 
сообщите отправителю об этом и удалите со всем содержимым само сообщение и 
любые возможные его копии и приложения.

The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. The 
contents may not be disclosed or used by anyone other than the addressee. If 
you are not the intended recipient(s), any use, disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it is 
prohibited and may be unlawful. If you have received this communication in 
error please notify us immediately by responding to this email and then delete 
the e-mail and all attachments and any copies thereof.

(c)20mf50

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


___
Users mailing list
Users@ovirt.org<mailto: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] oVirt HC setup question

2016-12-07 Thread Sven Achtelik
Hi All,

I'm planning to install oVirt 4 with the HC setup from this blogpost and did a 
demo setup.

http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/

I've managed to install everything just fine and thought that enabling a 
storage network would move all the bricks to that designated network, but it 
didn't do anything. I made that happen by destroying and recreating the volumes 
with entering the ip addresses of the storage network through the cli. Would 
that be the right way to do this ? If that's the case how could I move the 
engine bricks over to that network to get it off my ovirtmgmt bridge ?  Or is 
there may be more prefered way to complete the HC-Setup ?

Thank you,

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


Re: [ovirt-users] oVirt HC setup question

2016-12-08 Thread Sven Achtelik
Hi,

I’ll go an create all the needed networks and continue with using these 
networks for gluster. Is it save to enable multipath again in an HC install to 
consume iscsi devices?

Thank you,

Sven

On Thu, Dec 8, 2016 at 2:58 PM, Yedidyah Bar David 
<d...@redhat.com<mailto:d...@redhat.com>> wrote:
On Wed, Dec 7, 2016 at 6:46 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
> Hi All,
>
>
>
> I’m planning to install oVirt 4 with the HC setup from this blogpost and did
> a demo setup.
>
>
>
> http://www.ovirt.org/blog/2016/08/up-and-running-with-ovirt-4-0-and-gluster-storage/
>
>
>
> I’ve managed to install everything just fine and thought that enabling a
> storage network would move all the bricks to that designated network, but it
> didn’t do anything.

What do you mean by this? AFAIK just "adding a network" should not do anything
in itself. If you refer to the section "Storage Network" from that post, then
it describes how to add the existing, pre-configured storage network, to the
engine management, not how to "create" it.

> I made that happen by destroying and recreating the
> volumes with entering the ip addresses of the storage network through the
> cli. Would that be the right way to do this ?

I'd say the right way is probably to plan beforehand and create your
storage network ahead. Choose nics for that, connect them to a separate vlan,
give them IP addresses, give these addresses names (different from the names
given to addresses of other nics), and use these names when configuring
the gluster storage.

> If that’s the case how could I
> move the engine bricks over to that network to get it off my ovirtmgmt
> bridge ?  Or is there may be more prefered way to complete the HC-Setup ?

If you provided IP addresses of the wrong nics and now want to change that,
then I have no idea - no personal experience with gluster. Adding Sahina
for this.

Once you have created the bricks with one network, changing it to another is a 
bit hard.
With latest version of gluster (3.9)  there's a command reset-brick that allows 
you to do that [1] - you will need to do this one brick at a time as the brick 
being reset will need to be killed first.
The safest way is to plan ahead and create your gluster volume using the 
network you wish to use.

[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1266876


I suggest, in such cases, to always use names, never IP addresses. It's
a bit more maintenance work (of the dns and/or /etc/hosts), but provides
much more flexibility - if you used names, you can (in principle, didn't
try that myself) take everything down, change the names to point at the
IP addresses of the correct nics, then start all up.

Best,
--
Didi

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


Re: [ovirt-users] Event History for a VM

2017-03-21 Thread Sven Achtelik
Hi Kevin,

thank you for the details on this. Do you also know how and where things like 
changes to the VMs CPUs or preferred host or Ram are stored ? I’m looking for 
the ability to show the history of a VM.

Example: I have a VM that has 4 vCPus, 64GB Ram and is pinned to host 1. 2 or 3 
years later I need to be able to show an auditor that this has not changed 
throughout that time.

Are those changes recorded ? an if that’s the case are the recorded in the DB ?

Thank you,

Sven

Von: Kevin Goldblatt [mailto:kgold...@redhat.com]
Gesendet: Dienstag, 21. März 2017 09:32
An: Gianluca Cecchi <gianluca.cec...@gmail.com>
Cc: Sven Achtelik <sven.achte...@eps.aero>; users@ovirt.org; Raz Tamir 
<rata...@redhat.com>; Goldblatt, Kevin <kgold...@redhat.com>
Betreff: Re: [ovirt-users] Event History for a VM

Hi Sven,
On your engine you can run the following to get the vms info from the engine 
database:

su - postgres -c "psql -U postgres engine -c  'select * from vms;'" |less -S
You may also find some info on the specific vm in the engine log and the 
libvirt log:
On the engine - /var/log/ovirt-engine/engine.log (this will probably have been 
rotated in your case. Check to see the oldest engine.log in the directory).

On the host the the vm runs on - /var/log/libvirt/qemu/vm111.log

Hope this helps,

Kevin

On Tue, Mar 21, 2017 at 9:45 AM, Gianluca Cecchi 
<gianluca.cec...@gmail.com<mailto:gianluca.cec...@gmail.com>> wrote:
On Tue, Mar 21, 2017 at 8:42 AM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi,

does anyone know if this information is pulled from the logs and if it’s 
related to the log-rotation or if this is part of the Engine DB. I need to know 
if it’s possible to read this information like 2 or 3 years later for some 
auditing purpose. It might help if you could let me know where to look at.

Thank you,

Sven
Von: users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
[mailto:users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>] Im Auftrag von 
Sven Achtelik
Gesendet: Donnerstag, 16. März 2017 11:54
An: users@ovirt.org<mailto:users@ovirt.org>
Betreff: [ovirt-users] Event History for a VM

Hi All,

I would need to have an Event-History of our VMs for auditing purposes that is 
able to go back until the moment the VM was created/imported. I found the 
Events Tab in the VM view and found that this is not showing everything to the 
moment of creation. Things that are important for me would be any change in 
CPUs or Host that the VM is pinned to. Are the Events stored in the Engine DB 
and can I read them in any way ? Is there a value that needs to be changed in 
order to keep all Events for a VM ?

Thank you for helping,

Sven


+1

Gianluca

___
Users mailing list
Users@ovirt.org<mailto: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] Event History for a VM

2017-03-21 Thread Sven Achtelik
Hi,

does anyone know if this information is pulled from the logs and if it's 
related to the log-rotation or if this is part of the Engine DB. I need to know 
if it's possible to read this information like 2 or 3 years later for some 
auditing purpose. It might help if you could let me know where to look at.

Thank you,

Sven
Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Sven Achtelik
Gesendet: Donnerstag, 16. März 2017 11:54
An: users@ovirt.org
Betreff: [ovirt-users] Event History for a VM

Hi All,

I would need to have an Event-History of our VMs for auditing purposes that is 
able to go back until the moment the VM was created/imported. I found the 
Events Tab in the VM view and found that this is not showing everything to the 
moment of creation. Things that are important for me would be any change in 
CPUs or Host that the VM is pinned to. Are the Events stored in the Engine DB 
and can I read them in any way ? Is there a value that needs to be changed in 
order to keep all Events for a VM ?

Thank you for helping,

Sven

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


Re: [ovirt-users] Changing gateway ping address

2017-03-16 Thread Sven Achtelik
Hi Sandro, 

where can I find that answer file ? Running ovirt 4.1. 

Thank you, 

Sven

-Ursprüngliche Nachricht-
Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Sandro Bonazzola
Gesendet: Freitag, 10. Juli 2015 09:26
An: Matteo ; users@ovirt.org
Betreff: Re: [ovirt-users] Changing gateway ping address

Il 10/07/2015 09:08, Matteo ha scritto:
> Hi all,
> 
> I need to change the gateway ping address, the one used by hosted engine 
> setup.
> 
> Is ok to edit /etc/ovirt-hosted-engine/hosted-engine.conf on each 
> node, update the gateway param with the new ip address and restart the 
> agent on each node?
> 
> With a blind test seems ok, but need to understand if is the right procedure.

Yes it's ok.
You should also change it in the answer files so if you add new nodes it will 
be set automatically.


> 
> Thanks,
> Matteo
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
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] Changing gateway ping address

2017-03-17 Thread Sven Achtelik
Thank you, which table is holding that information ? How can I change that 
value in the DB ? Access it directly ?

Von: Simone Tiraboschi [mailto:stira...@redhat.com]
Gesendet: Donnerstag, 16. März 2017 16:20
An: Sandro Bonazzola <sbona...@redhat.com>
Cc: Sven Achtelik <sven.achte...@eps.aero>; Martin Sivak <msi...@redhat.com>; 
Matteo <mbrancale...@voismart.it>; users@ovirt.org
Betreff: Re: [ovirt-users] Changing gateway ping address



On Thu, Mar 16, 2017 at 1:23 PM, Sandro Bonazzola 
<sbona...@redhat.com<mailto:sbona...@redhat.com>> wrote:


On Thu, Mar 16, 2017 at 9:38 AM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi Sandro,

where can I find that answer file ? Running ovirt 4.1.

Things chaged a lot since 3.5, adding Simone and Martin since I can't remember 
if it's possible to set it from web ui now.

That answerfile is on the shared storage used for the hosted-engine storage 
domain inside a configuration volume but, If I'm not wrong, the engine fetches 
it when it imports the hosted-engine storage domain but it doesn't periodically 
refresh it so I think that if you want to get it stably changed also for future 
hosts you have to fix that value in the engine DB.






Thank you,

Sven

-Ursprüngliche Nachricht-
Von: users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
[mailto:users-boun...@ovirt.org<mailto:users-boun...@ovirt.org>] Im Auftrag von 
Sandro Bonazzola
Gesendet: Freitag, 10. Juli 2015 09:26
An: Matteo <mbrancale...@voismart.it<mailto:mbrancale...@voismart.it>>; 
users@ovirt.org<mailto:users@ovirt.org>
Betreff: Re: [ovirt-users] Changing gateway ping address

Il 10/07/2015 09:08, Matteo ha scritto:
> Hi all,
>
> I need to change the gateway ping address, the one used by hosted engine 
> setup.
>
> Is ok to edit /etc/ovirt-hosted-engine/hosted-engine.conf on each
> node, update the gateway param with the new ip address and restart the
> agent on each node?
>
> With a blind test seems ok, but need to understand if is the right procedure.

Yes it's ok.
You should also change it in the answer files so if you add new nodes it will 
be set automatically.


>
> Thanks,
> Matteo
> ___
> Users mailing list
> Users@ovirt.org<mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
>


--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com<http://redhat.com>
___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users




--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com<http://redhat.com>

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


Re: [ovirt-users] Engine HA-Issues

2017-07-17 Thread Sven Achtelik
Hi Kasturi,

thank you for pointing me into the right direction. It turned out that I‘ve 
removed an old DNS-Server. My nodes where set to use that old DNS-Server and 
thus lost the capability to resolve the name.

Thanks,
Sven

Von: Kasturi Narra [mailto:kna...@redhat.com]
Gesendet: Montag, 17. Juli 2017 08:10
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: users@ovirt.org
Betreff: Re: [ovirt-users] Engine HA-Issues

Hi ,

  Can you please check the following. Following could be one of the reason why 
HE vm restarts every minute.


Check the error or engine health state. If it’s to do with Liveliness check, 
then this is mostly an issue connecting to engine.

- Check if engine FQDN is reachable from all hosts

-  curl -v 
http:///ovirt-engine/services/health<http://%3cengine-fqdn%3e/ovirt-engine/services/health>
 - does this return ok?

- Access the HE console and check if ovirt-engine is running.

- Check /var/log/ovirt-engine/server.log or /var/log/ovirt-engine/engine.log if 
there are errors starting ovirt-engine



Thanks

kasturi


On Fri, Jul 14, 2017 at 10:28 PM, Sven Achtelik 
<sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:
Hi All,

after running solid for several month my ovirt-engine started rebooting on 
several hosts. I’ve looked into the hostend-engine –vm-status and it sees that 
the engine is up on one host but not reachable. At the same time I can access 
the gui and everything is working fine. After some time the engine is shutting 
down and all hosts are trying to start the engine until one is the winner, at 
least it looks like this. Any clues where to look at and find the issue with 
the liveliness check ?



--== Host 1 status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : ovirt-node01
Host ID: 1
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : 3eb33843
local_conf_timestamp   : 17128
Host timestamp : 17113
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=17113 (Fri Jul 14 11:50:23 2017)
host-id=1
score=3400
vm_conf_refresh_time=17128 (Fri Jul 14 11:50:38 2017)
conf_on_shared_storage=True
maintenance=False
state=EngineDown
stopped=False


--== Host 2 status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : ovirt-node02.mgmt.lan
Host ID: 2
Engine status  : {"reason": "failed liveliness check", 
"health": "bad", "vm": "up", "detail": "up"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : 2a8c86cc
local_conf_timestamp   : 523182
Host timestamp : 523167
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=523167 (Fri Jul 14 11:50:25 2017)
host-id=2
score=3400
vm_conf_refresh_time=523182 (Fri Jul 14 11:50:40 2017)
conf_on_shared_storage=True
maintenance=False
state=EngineStarting
stopped=False


--== Host 3 status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : ovirt-node03.mgmt.lan
Host ID: 3
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : f8490d79
local_conf_timestamp   : 527698
Host timestamp : 527683
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=527683 (Fri Jul 14 11:50:33 2017)
host-id=3
score=3400
vm_conf_refresh_time=527698 (Fri Jul 14 11:50:47 2017)
conf_on_shared_storage=True
maintenance=False
state=EngineDown
stopped=False


Re: [ovirt-users] Very poor GlusterFS performance

2017-07-09 Thread Sven Achtelik
Hi All,

it's the same for me. I've update all my hosts to the latest release and 
thought it would now use libgfapi since BZ 
1022961 is listed in the release notes 
under enhancements.  Are there any steps that need to be taken after upgrading 
for this to work ?

Thank you,
Sven

Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Mahdi Adnan
Gesendet: Samstag, 8. Juli 2017 09:35
An: Ralf Schenk ; users@ovirt.org; yk...@redhat.com
Betreff: Re: [ovirt-users] Very poor GlusterFS performance


So ovirt access gluster vai FUSE ? i thought its using libgfapi.

When can we expect it to work with libgfapi ?

and what about the changelog of 4.1.3 ?
BZ 1022961 Gluster: running a VM from a gluster domain should use gluster URI 
instead of a fuse mount"



--

Respectfully
Mahdi A. Mahdi

From: users-boun...@ovirt.org 
> on behalf of Ralf 
Schenk >
Sent: Monday, June 19, 2017 7:32:45 PM
To: users@ovirt.org
Subject: Re: [ovirt-users] Very poor GlusterFS performance


Hello,

Gluster-Performance is bad. Thats why I asked for native qemu-libgfapi access 
for Ovirt-VM's to gluster volumes which I thought to be possible since 3.6.x. 
Documentation is misleading and still in 4.1.2 Ovirt is using fuse to mount 
gluster-based VM-Disks.

Bye

Am 19.06.2017 um 17:23 schrieb Darrell Budic:
Chris-

You probably need to head over to 
gluster-us...@gluster.org for help with 
performance issues.

That said, what kind of performance are you getting, via some form or testing 
like bonnie++ or even dd runs? Raw bricks vs gluster performance is useful to 
determine what kind of performance you're actually getting.

Beyond that, I'd recommend dropping the arbiter bricks and re-adding them as 
full replicas, they can't serve distributed data in this configuration and may 
be slowing things down on you. If you've got a storage network setup, make sure 
it's using the largest MTU it can, and consider adding/testing these settings 
that I use on my main storage volume:

performance.io-thread-count: 32
client.event-threads: 8
server.event-threads: 3
performance.stat-prefetch: on


Good luck,


  -Darrell


On Jun 19, 2017, at 9:46 AM, Chris Boot 
> wrote:

Hi folks,

I have 3x servers in a "hyper-converged" oVirt 4.1.2 + GlusterFS 3.10
configuration. My VMs run off a replica 3 arbiter 1 volume comprised of
6 bricks, which themselves live on two SSDs in each of the servers (one
brick per SSD). The bricks are XFS on LVM thin volumes straight onto the
SSDs. Connectivity is 10G Ethernet.

Performance within the VMs is pretty terrible. I experience very low
throughput and random IO is really bad: it feels like a latency issue.
On my oVirt nodes the SSDs are not generally very busy. The 10G network
seems to run without errors (iperf3 gives bandwidth measurements of >=
9.20 Gbits/sec between the three servers).

To put this into perspective: I was getting better behaviour from NFS4
on a gigabit connection than I am with GlusterFS on 10G: that doesn't
feel right at all.

My volume configuration looks like this:

Volume Name: vmssd
Type: Distributed-Replicate
Volume ID: d5a5ddd1-a140-4e0d-b514-701cfe464853
Status: Started
Snapshot Count: 0
Number of Bricks: 2 x (2 + 1) = 6
Transport-type: tcp
Bricks:
Brick1: ovirt3:/gluster/ssd0_vmssd/brick
Brick2: ovirt1:/gluster/ssd0_vmssd/brick
Brick3: ovirt2:/gluster/ssd0_vmssd/brick (arbiter)
Brick4: ovirt3:/gluster/ssd1_vmssd/brick
Brick5: ovirt1:/gluster/ssd1_vmssd/brick
Brick6: ovirt2:/gluster/ssd1_vmssd/brick (arbiter)
Options Reconfigured:
nfs.disable: on
transport.address-family: inet6
performance.quick-read: off
performance.read-ahead: off
performance.io-cache: off
performance.stat-prefetch: off
performance.low-prio-threads: 32
network.remote-dio: off
cluster.eager-lock: enable
cluster.quorum-type: auto
cluster.server-quorum-type: server
cluster.data-self-heal-algorithm: full
cluster.locking-scheme: granular
cluster.shd-max-threads: 8
cluster.shd-wait-qlength: 1
features.shard: on
user.cifs: off
storage.owner-uid: 36
storage.owner-gid: 36
features.shard-block-size: 128MB
performance.strict-o-direct: on
network.ping-timeout: 30
cluster.granular-entry-heal: enable

I would really appreciate some guidance on this to try to improve things
because at this rate I will need to reconsider using GlusterFS altogether.

Cheers,
Chris

--
Chris Boot
bo...@bootc.net
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users





___

Users mailing list


[ovirt-users] Engine HA-Issues

2017-07-14 Thread Sven Achtelik
Hi All,

after running solid for several month my ovirt-engine started rebooting on 
several hosts. I've looked into the hostend-engine -vm-status and it sees that 
the engine is up on one host but not reachable. At the same time I can access 
the gui and everything is working fine. After some time the engine is shutting 
down and all hosts are trying to start the engine until one is the winner, at 
least it looks like this. Any clues where to look at and find the issue with 
the liveliness check ?



--== Host 1 status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : ovirt-node01
Host ID: 1
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : 3eb33843
local_conf_timestamp   : 17128
Host timestamp : 17113
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=17113 (Fri Jul 14 11:50:23 2017)
host-id=1
score=3400
vm_conf_refresh_time=17128 (Fri Jul 14 11:50:38 2017)
conf_on_shared_storage=True
maintenance=False
state=EngineDown
stopped=False


--== Host 2 status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : ovirt-node02.mgmt.lan
Host ID: 2
Engine status  : {"reason": "failed liveliness check", 
"health": "bad", "vm": "up", "detail": "up"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : 2a8c86cc
local_conf_timestamp   : 523182
Host timestamp : 523167
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=523167 (Fri Jul 14 11:50:25 2017)
host-id=2
score=3400
vm_conf_refresh_time=523182 (Fri Jul 14 11:50:40 2017)
conf_on_shared_storage=True
maintenance=False
state=EngineStarting
stopped=False


--== Host 3 status ==--

conf_on_shared_storage : True
Status up-to-date  : True
Hostname   : ovirt-node03.mgmt.lan
Host ID: 3
Engine status  : {"reason": "vm not running on this host", 
"health": "bad", "vm": "down", "detail": "unknown"}
Score  : 3400
stopped: False
Local maintenance  : False
crc32  : f8490d79
local_conf_timestamp   : 527698
Host timestamp : 527683
Extra metadata (valid at timestamp):
metadata_parse_version=1
metadata_feature_version=1
timestamp=527683 (Fri Jul 14 11:50:33 2017)
host-id=3
score=3400
vm_conf_refresh_time=527698 (Fri Jul 14 11:50:47 2017)
conf_on_shared_storage=True
maintenance=False
state=EngineDown
stopped=False

--
Thank you,
Sven
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Windows 2016 Sysprep - Fixed IP

2017-07-27 Thread Sven Achtelik
Ok, I'll try that. Thank you

-Ursprüngliche Nachricht-
Von: Tomáš Golembiovský [mailto:tgole...@redhat.com] 
Gesendet: Donnerstag, 27. Juli 2017 12:16
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: users@ovirt.org
Betreff: Re: [ovirt-users] Windows 2016 Sysprep - Fixed IP

On Thu, 27 Jul 2017 04:30:16 -0500
Sven Achtelik <sven.achte...@eps.aero> wrote:

> OK, and would that answer file pick up the fields from the GUI or would I 
> have to set everything in that answer file ? 

No it would not. You have to set everything you want in your answer file.

Tomas

> 
> -Ursprüngliche Nachricht-
> Von: Tomáš Golembiovský [mailto:tgole...@redhat.com] 
> Gesendet: Donnerstag, 27. Juli 2017 11:28
> An: Sven Achtelik <sven.achte...@eps.aero>
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Windows 2016 Sysprep - Fixed IP
> 
> Hi,
> 
> On Wed, 26 Jul 2017 09:02:45 -0500
> Sven Achtelik <sven.achte...@eps.aero> wrote:
> 
> > Hi All,
> > 
> > I'm looking into configuring a Windows 2016 Template via Run Once to have 
> > an static IP. Is there any way to do that ? Maybe over the Sysrep Section ? 
> > I didn't find an answer about how to use it or what syntax should be used ? 
> > Must I put a complete answer file into it or will this section on overwrite 
> > specific parts of the original file that resides on the engine ?  
> 
> You have to put there complete answer file. The XML templates on engine are 
> not used in this case.
> 
> Although, I'm not sure if you can set IP address through the answer file.
> 
> Tomas
> 
> > 
> > Thank you,
> > Sven  
> 
> 
> --
> Tomáš Golembiovský <tgole...@redhat.com>


-- 
Tomáš Golembiovský <tgole...@redhat.com>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Windows 2016 Sysprep - Fixed IP

2017-07-26 Thread Sven Achtelik
Hi All,

I'm looking into configuring a Windows 2016 Template via Run Once to have an 
static IP. Is there any way to do that ? Maybe over the Sysrep Section ? I 
didn't find an answer about how to use it or what syntax should be used ? Must 
I put a complete answer file into it or will this section on overwrite specific 
parts of the original file that resides on the engine ?

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


[ovirt-users] Timeout for Hosts

2017-04-27 Thread Sven Achtelik
Hi All,

I have 2 hosts which are at remote locations where the ISP is forcing a 
connection reset after some days. During that reset the connection will be down 
for at most 2 minutes and the engine starts to complain about the hosts not 
being reachable. What is the right value to tweak to compensate this ?
Is it on of these: TimeoutToResetVdsInSeconds, VdsRefreshRate, vdsTimeout ? And 
is it possible to only apply this for a certain cluster or DC or is it global ?

Thank you,

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


Re: [ovirt-users] Timeout for Hosts

2017-04-27 Thread Sven Achtelik
Ok, I'll try that one.

Thank you

-Ursprüngliche Nachricht-
Von: Piotr Kliczewski [mailto:piotr.kliczew...@gmail.com] 
Gesendet: Donnerstag, 27. April 2017 09:59
An: Oved Ourfali <oourf...@redhat.com>
Cc: Sven Achtelik <sven.achte...@eps.aero>; users@ovirt.org
Betreff: Re: [ovirt-users] Timeout for Hosts

I think that you are looking for vdsHeartbeatInSeconds which specifies 
acceptable time of no activity.
You can increase it which would make it more resilient to network fluctuations.

Please note that it is part of the host life cycle and too big value would 
limit our ability to detect real network issues.

Thanks,
Piotr

On Thu, Apr 27, 2017 at 8:36 AM, Oved Ourfali <oourf...@redhat.com> wrote:
> Hi Sven,
>
> Relevant configuration items are:
> vdsTimeout (which is set by default to 180 seconds, so you should be 
> good) vdsHeartbeatInSeconds (this one should be increased)
>
> iirc no other changes are needed, but CC-ing Martin just in case i'm wrong.
>
> Best regards,
> Oved
>
> On Thu, Apr 27, 2017 at 9:30 AM, Sven Achtelik 
> <sven.achte...@eps.aero>
> wrote:
>>
>> Hi All,
>>
>>
>>
>> I have 2 hosts which are at remote locations where the ISP is forcing 
>> a connection reset after some days. During that reset the connection 
>> will be down for at most 2 minutes and the engine starts to complain 
>> about the hosts not being reachable. What is the right value to tweak to 
>> compensate this ?
>>
>> Is it on of these: TimeoutToResetVdsInSeconds, VdsRefreshRate, 
>> vdsTimeout ? And is it possible to only apply this for a certain 
>> cluster or DC or is it global ?
>>
>>
>>
>> Thank you,
>>
>>
>>
>> Sven
>>
>>
>> ___
>> 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


[ovirt-users] Hyperconverged Setup and Gluster healing

2017-04-24 Thread Sven Achtelik
Hi All,

my oVirt-Setup is 3 Hosts with gluster and reaplica 3. I always try to stay on 
the current version and I'm applying updates/upgrade if there are any. For this 
I put a host in maintenance and also use the "Stop Gluster Service"  checkbox. 
After it's done updating I'll set it back to active and wait until the engine 
sees all bricks again and then I'll go for the next host.

This worked fine for me the last month and now that I have more and more VMs 
running the changes that are written to the gluster volume while a host is in 
maintenance become a lot more and it takes pretty long for the healing to 
complete. What I don't understand is that I don't really see a lot of network 
usage in the GUI during that time and it feels quiet slow. The Network for the 
gluster is a 10G and I'm quiet happy with the performance of it, it's just the 
healing that takes long. I noticed that because I couldn't update the third 
host because of unsynced gluster volumes.

Is there any limiting variable that slows down traffic during healing that 
needs to be configured ? Or should I maybe change my updating process somehow 
to avoid having so many changes in queue?

Thank you,

Sven

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


Re: [ovirt-users] Hyperconverged Setup and Gluster healing

2017-04-24 Thread Sven Achtelik
Hi Kasturi,

I'll try that. Will this be persistent over a reboot of a host or even stopping 
of the complete cluster ?


Thank you
Von: knarra [mailto:kna...@redhat.com]
Gesendet: Montag, 24. April 2017 13:44
An: Sven Achtelik <sven.achte...@eps.aero>; users@ovirt.org
Betreff: Re: [ovirt-users] Hyperconverged Setup and Gluster healing

On 04/24/2017 05:03 PM, Sven Achtelik wrote:
Hi All,

my oVirt-Setup is 3 Hosts with gluster and reaplica 3. I always try to stay on 
the current version and I'm applying updates/upgrade if there are any. For this 
I put a host in maintenance and also use the "Stop Gluster Service"  checkbox. 
After it's done updating I'll set it back to active and wait until the engine 
sees all bricks again and then I'll go for the next host.

This worked fine for me the last month and now that I have more and more VMs 
running the changes that are written to the gluster volume while a host is in 
maintenance become a lot more and it takes pretty long for the healing to 
complete. What I don't understand is that I don't really see a lot of network 
usage in the GUI during that time and it feels quiet slow. The Network for the 
gluster is a 10G and I'm quiet happy with the performance of it, it's just the 
healing that takes long. I noticed that because I couldn't update the third 
host because of unsynced gluster volumes.

Is there any limiting variable that slows down traffic during healing that 
needs to be configured ? Or should I maybe change my updating process somehow 
to avoid having so many changes in queue?

Thank you,

Sven




___

Users mailing list

Users@ovirt.org<mailto:Users@ovirt.org>

http://lists.ovirt.org/mailman/listinfo/users

Hi Sven,

Do you have granular entry heal enabled on the volume? If no, there is a 
feature called granular entry self-heal which should be enabled with sharded 
volumes to get the benefits. So when a brick goes down and say only 1 in those 
million entries is created/deleted. Self-heal would be done for only that file 
it won't crawl the entire directory.

You can run gluster volume set VOLNAME cluster.granular-entry-heal enable / 
disable command only if the volume is in Created state. If the volume is in any 
other state other than Created , for example, Started , Stopped, and so on, 
execute gluster volume heal VOLNAME granular-entry-heal enable / disable 
command to enable or disable granular-entry-heal option.

Thanks

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


[ovirt-users] Removing *250GB Disk from Gluster SD - Error

2017-05-15 Thread Sven Achtelik
Hi All,

I was trying to remove a  ~250GB Disk from a Gluster SD and the engine has gone 
crazy. The Storage latency went up dramatically, which caused a change of the 
spm and everything to get unresponsive for about 10-30 seconds. How do I remove 
such a big disk in a way that this doesn't happen again ? I anyone running 
gluster on with a caching option ? The Bricks are on a raid 5+0 and should be 
pretty fast. Are there any values that can be tuned in the Engine - maybe for 
the acceptance of a little more storage latency ?

Thank you,

Sven

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


[ovirt-users] "Could not detect Guest Agent on VM"

2017-06-12 Thread Sven Achtelik
Hi All,

I have several Windows VMs (Server 2012, Server 2012 R2) running and the guest 
tools are installed. IF I go and check the Services in those VMs I can also see 
the "Ovirt Guest Service" running and the "QEMU Guest Agent" running. Also 
there is Information about the VM show in the GUI, like installed applications 
etc.. I've tried several Versions of the tools and even with the latest 4.1.5 I 
can't get that message to disappear.

Am I doing something wrong ?

How does this affect the Backup-API and possible Snapshots are taken for 
Backups ?

If you have any hints please let me know.

Thank you,

Sven

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


Re: [ovirt-users] "Could not detect Guest Agent on VM"

2017-06-27 Thread Sven Achtelik
Hi Tomas,



this is how it looks like in the device Manager:

[cid:image002.jpg@01D2EF24.EE658F20]



The Logfile holds some errors and no new errors are generated when I initiate 
the snapshot. I would like to do snapshots without memory and I believe that 
this requires some working file system pause. With that message in the GUI it’s 
hard to trust in this snapshot procedure. Is there a way to see if the FS is 
paused when I do a snapshot without memory ?



When doing a snapshot without memory I can find these in the Event-Viewer under 
Application:



[cid:image005.jpg@01D2EF24.EE658F20]



Is there anthing that needs to be changed ?



Thank you,



Sven

-Ursprüngliche Nachricht-
Von: Tomáš Golembiovský [mailto:tgole...@redhat.com]
Gesendet: Monday, June 26, 2017 2:06 PM
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: ovirt users <users@ovirt.org>
Betreff: Re: [ovirt-users] "Could not detect Guest Agent on VM"



Hi,



sorry for late answer.



On Mon, 12 Jun 2017 11:26:51 -0500

Sven Achtelik <sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>> wrote:



> Hi All,

>

> I have several Windows VMs (Server 2012, Server 2012 R2) running and the 
> guest tools are installed. IF I go and check the Services in those VMs I can 
> also see the "Ovirt Guest Service" running and the "QEMU Guest Agent" 
> running. Also there is Information about the VM show in the GUI, like 
> installed applications etc.. I've tried several Versions of the tools and 
> even with the latest 4.1.5 I can't get that message to disappear.



First check if the virtio-serial driver is properly installed. In Device 
Manager you should see VirtIO Serial Driver in System devices category.



You should also check the oVirt GA log. Search for ovirt-guest-agent.log, it 
should be in C:\Windows\SysWOW64.



> Am I doing something wrong ?

>

> How does this affect the Backup-API and possible Snapshots are taken for 
> Backups ?



I'm not sure about this one. I don't think we use QEMU GA (or any other

GA) to freeze filesystems. So this feature should not be affected.



Tomas



>

> If you have any hints please let me know.

>

> Thank you,

>

> Sven

>





--

Tomáš Golembiovský <tgole...@redhat.com<mailto:tgole...@redhat.com>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Error when taking snapshot on gluster SD

2017-05-23 Thread Sven Achtelik
Hi All,

I was taking a snapshot from a gluster based SD and got this errors:

[root@ovirt-engine ovirt-engine]# zgrep -e 3102e526-172b-49a7-ae64-5879a7eb8079 
engine.log-*
engine.log-20170523.gz:2017-05-23 01:54:13,223-05 INFO  
[org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] (default 
task-18) [3102e526-172b-49a7-ae64-5879a7eb8079] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[4eeaa622-17f9-4586-b99a-cddb3ad942de=]', 
sharedLocks='null'}'

engine.log-20170523.gz:2017-05-23 01:54:13,247-05 INFO  
[org.ovirt.engine.core.bll.memory.MemoryStorageHandler] (default task-18) 
[3102e526-172b-49a7-ae64-5879a7eb8079] The memory volumes of VM (name 
'wc_app01', id '4eeaa622-17f9-4586-b99a-cddb3ad942de') will be stored in 
storage domain (name 'data', id '185718c7-1da9-442c-bedc-776e4ac95c33')

engine.log-20170523.gz:2017-05-23 01:54:13,295-05 INFO  
[org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] (default 
task-18) [3102e526-172b-49a7-ae64-5879a7eb8079] Running command: 
CreateAllSnapshotsFromVmCommand internal: false. Entities affected :  ID: 
4eeaa622-17f9-4586-b99a-cddb3ad942de Type: VMAction group 
MANIPULATE_VM_SNAPSHOTS with role type USER

engine.log-20170523.gz:2017-05-23 01:54:17,717-05 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-18) [2ff883d4] EVENT_ID: USER_CREATE_SNAPSHOT(45), Correlation ID: 
3102e526-172b-49a7-ae64-5879a7eb8079, Job ID: 
020b9b14-16d9-4303-8fa3-d60b248bc158, Call Stack: null, Custom Event ID: -1, 
Message: Snapshot 'Sesam_SC20170523015128500@5aH9YZNk4-A' creation for VM 
'wc_app01' was initiated by 
sven@asl.local@asl.local-authz.

engine.log-20170523.gz:2017-05-23 01:57:27,103-05 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [1b15b09b] EVENT_ID: 
USER_CREATE_LIVE_SNAPSHOT_FINISHED_FAILURE(170), Correlation ID: 
3102e526-172b-49a7-ae64-5879a7eb8079, Job ID: 
020b9b14-16d9-4303-8fa3-d60b248bc158, Call Stack: 
org.ovirt.engine.core.common.errors.EngineException: EngineException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
VDSGenericException: VDSNetworkException: Message timeout which can be caused 
by communication issues (Failed with error VDS_NETWORK_ERROR and code 5022)

engine.log-20170523.gz:2017-05-23 01:58:11,969-05 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [] EVENT_ID: 
USER_CREATE_SNAPSHOT_FINISHED_FAILURE(69), Correlation ID: 
3102e526-172b-49a7-ae64-5879a7eb8079, Job ID: 
020b9b14-16d9-4303-8fa3-d60b248bc158, Call Stack: 
org.ovirt.engine.core.common.errors.EngineException: EngineException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
VDSGenericException: VDSNetworkException: Message timeout which can be caused 
by communication issues (Failed with error VDS_NETWORK_ERROR and code 5022)

[root@ovirt-engine ovirt-engine]# zgrep -e  
020b9b14-16d9-4303-8fa3-d60b248bc158 engine.log-*
engine.log-20170523.gz:2017-05-23 01:54:17,717-05 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-18) [2ff883d4] EVENT_ID: USER_CREATE_SNAPSHOT(45), Correlation ID: 
3102e526-172b-49a7-ae64-5879a7eb8079, Job ID: 
020b9b14-16d9-4303-8fa3-d60b248bc158, Call Stack: null, Custom Event ID: -1, 
Message: Snapshot 'Sesam_SC20170523015128500@5aH9YZNk4-A' creation for VM 
'wc_app01' was initiated by 
sven@asl.local@asl.local-authz.

engine.log-20170523.gz:2017-05-23 01:57:27,103-05 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [1b15b09b] EVENT_ID: 
USER_CREATE_LIVE_SNAPSHOT_FINISHED_FAILURE(170), Correlation ID: 
3102e526-172b-49a7-ae64-5879a7eb8079, Job ID: 
020b9b14-16d9-4303-8fa3-d60b248bc158, Call Stack: 
org.ovirt.engine.core.common.errors.EngineException: EngineException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
VDSGenericException: VDSNetworkException: Message timeout which can be caused 
by communication issues (Failed with error VDS_NETWORK_ERROR and code 5022)

engine.log-20170523.gz:2017-05-23 01:58:11,969-05 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(DefaultQuartzScheduler1) [] EVENT_ID: 
USER_CREATE_SNAPSHOT_FINISHED_FAILURE(69), Correlation ID: 
3102e526-172b-49a7-ae64-5879a7eb8079, Job ID: 
020b9b14-16d9-4303-8fa3-d60b248bc158, Call Stack: 
org.ovirt.engine.core.common.errors.EngineException: EngineException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
VDSGenericException: VDSNetworkException: Message timeout which can be caused 
by communication issues (Failed with error VDS_NETWORK_ERROR and code 5022)

I would be great if someone could guide me to the next files to look at to find 
out more about 

Re: [ovirt-users] Timeout for Hosts

2017-05-29 Thread Sven Achtelik
Seems to be wokring. Thank you !

-Ursprüngliche Nachricht-
Von: Piotr Kliczewski [mailto:piotr.kliczew...@gmail.com] 
Gesendet: Montag, 29. Mai 2017 10:41
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: Oved Ourfali <oourf...@redhat.com>; users@ovirt.org
Betreff: Re: [ovirt-users] Timeout for Hosts

Sven,

This config value is hidden. You can update it by running:

su - postgres -c "psql engine -c "UPDATE vdc_options set option_value = '' where option_name = 'vdsHeartbeatInSeconds'""

Please note that the default value is 30 seconds.

and next you need to restart your engine.

Thanks,
Piotr

On Mon, May 29, 2017 at 10:30 AM, Sven Achtelik <sven.achte...@eps.aero> wrote:
> oVirt Engine Version: 4.1.2.2-1.el7.centos
>
>
> -Ursprüngliche Nachricht-
> Von: Piotr Kliczewski [mailto:piotr.kliczew...@gmail.com]
> Gesendet: Montag, 29. Mai 2017 10:30
> An: Sven Achtelik <sven.achte...@eps.aero>
> Cc: Oved Ourfali <oourf...@redhat.com>; users@ovirt.org
> Betreff: Re: [ovirt-users] Timeout for Hosts
>
> Sven,
>
> Which version of ovirt-engine do you use?
>
> Thanks,
> Piotr
>
> On Mon, May 29, 2017 at 10:26 AM, Sven Achtelik <sven.achte...@eps.aero> 
> wrote:
>> Hi Piotr,
>>
>> I can't find that in the list of variables to set if I do an "engine-config 
>> -a" Is this something I have to setup first ?
>>
>> Thank you,
>> Sven
>>
>> -Ursprüngliche Nachricht-
>> Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im 
>> Auftrag von Sven Achtelik
>> Gesendet: Donnerstag, 27. April 2017 10:04
>> An: Piotr Kliczewski <piotr.kliczew...@gmail.com>; Oved Ourfali 
>> <oourf...@redhat.com>
>> Cc: users@ovirt.org
>> Betreff: Re: [ovirt-users] Timeout for Hosts
>>
>> Ok, I'll try that one.
>>
>> Thank you
>>
>> -Ursprüngliche Nachricht-
>> Von: Piotr Kliczewski [mailto:piotr.kliczew...@gmail.com]
>> Gesendet: Donnerstag, 27. April 2017 09:59
>> An: Oved Ourfali <oourf...@redhat.com>
>> Cc: Sven Achtelik <sven.achte...@eps.aero>; users@ovirt.org
>> Betreff: Re: [ovirt-users] Timeout for Hosts
>>
>> I think that you are looking for vdsHeartbeatInSeconds which specifies 
>> acceptable time of no activity.
>> You can increase it which would make it more resilient to network 
>> fluctuations.
>>
>> Please note that it is part of the host life cycle and too big value would 
>> limit our ability to detect real network issues.
>>
>> Thanks,
>> Piotr
>>
>> On Thu, Apr 27, 2017 at 8:36 AM, Oved Ourfali <oourf...@redhat.com> wrote:
>>> Hi Sven,
>>>
>>> Relevant configuration items are:
>>> vdsTimeout (which is set by default to 180 seconds, so you should be
>>> good) vdsHeartbeatInSeconds (this one should be increased)
>>>
>>> iirc no other changes are needed, but CC-ing Martin just in case i'm wrong.
>>>
>>> Best regards,
>>> Oved
>>>
>>> On Thu, Apr 27, 2017 at 9:30 AM, Sven Achtelik 
>>> <sven.achte...@eps.aero>
>>> wrote:
>>>>
>>>> Hi All,
>>>>
>>>>
>>>>
>>>> I have 2 hosts which are at remote locations where the ISP is 
>>>> forcing a connection reset after some days. During that reset the 
>>>> connection will be down for at most 2 minutes and the engine starts 
>>>> to complain about the hosts not being reachable. What is the right value 
>>>> to tweak to compensate this ?
>>>>
>>>> Is it on of these: TimeoutToResetVdsInSeconds, VdsRefreshRate, 
>>>> vdsTimeout ? And is it possible to only apply this for a certain 
>>>> cluster or DC or is it global ?
>>>>
>>>>
>>>>
>>>> Thank you,
>>>>
>>>>
>>>>
>>>> Sven
>>>>
>>>>
>>>> ___
>>>> 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Timeout for Hosts

2017-05-29 Thread Sven Achtelik
Hi Piotr, 

I can't find that in the list of variables to set if I do an "engine-config -a" 
Is this something I have to setup first ? 

Thank you, 
Sven

-Ursprüngliche Nachricht-
Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Sven Achtelik
Gesendet: Donnerstag, 27. April 2017 10:04
An: Piotr Kliczewski <piotr.kliczew...@gmail.com>; Oved Ourfali 
<oourf...@redhat.com>
Cc: users@ovirt.org
Betreff: Re: [ovirt-users] Timeout for Hosts

Ok, I'll try that one.

Thank you

-Ursprüngliche Nachricht-
Von: Piotr Kliczewski [mailto:piotr.kliczew...@gmail.com]
Gesendet: Donnerstag, 27. April 2017 09:59
An: Oved Ourfali <oourf...@redhat.com>
Cc: Sven Achtelik <sven.achte...@eps.aero>; users@ovirt.org
Betreff: Re: [ovirt-users] Timeout for Hosts

I think that you are looking for vdsHeartbeatInSeconds which specifies 
acceptable time of no activity.
You can increase it which would make it more resilient to network fluctuations.

Please note that it is part of the host life cycle and too big value would 
limit our ability to detect real network issues.

Thanks,
Piotr

On Thu, Apr 27, 2017 at 8:36 AM, Oved Ourfali <oourf...@redhat.com> wrote:
> Hi Sven,
>
> Relevant configuration items are:
> vdsTimeout (which is set by default to 180 seconds, so you should be
> good) vdsHeartbeatInSeconds (this one should be increased)
>
> iirc no other changes are needed, but CC-ing Martin just in case i'm wrong.
>
> Best regards,
> Oved
>
> On Thu, Apr 27, 2017 at 9:30 AM, Sven Achtelik 
> <sven.achte...@eps.aero>
> wrote:
>>
>> Hi All,
>>
>>
>>
>> I have 2 hosts which are at remote locations where the ISP is forcing 
>> a connection reset after some days. During that reset the connection 
>> will be down for at most 2 minutes and the engine starts to complain 
>> about the hosts not being reachable. What is the right value to tweak to 
>> compensate this ?
>>
>> Is it on of these: TimeoutToResetVdsInSeconds, VdsRefreshRate, 
>> vdsTimeout ? And is it possible to only apply this for a certain 
>> cluster or DC or is it global ?
>>
>>
>>
>> Thank you,
>>
>>
>>
>> Sven
>>
>>
>> ___
>> 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Timeout for Hosts

2017-05-29 Thread Sven Achtelik
oVirt Engine Version: 4.1.2.2-1.el7.centos


-Ursprüngliche Nachricht-
Von: Piotr Kliczewski [mailto:piotr.kliczew...@gmail.com] 
Gesendet: Montag, 29. Mai 2017 10:30
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: Oved Ourfali <oourf...@redhat.com>; users@ovirt.org
Betreff: Re: [ovirt-users] Timeout for Hosts

Sven,

Which version of ovirt-engine do you use?

Thanks,
Piotr

On Mon, May 29, 2017 at 10:26 AM, Sven Achtelik <sven.achte...@eps.aero> wrote:
> Hi Piotr,
>
> I can't find that in the list of variables to set if I do an "engine-config 
> -a" Is this something I have to setup first ?
>
> Thank you,
> Sven
>
> -Ursprüngliche Nachricht-
> Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im 
> Auftrag von Sven Achtelik
> Gesendet: Donnerstag, 27. April 2017 10:04
> An: Piotr Kliczewski <piotr.kliczew...@gmail.com>; Oved Ourfali 
> <oourf...@redhat.com>
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Timeout for Hosts
>
> Ok, I'll try that one.
>
> Thank you
>
> -Ursprüngliche Nachricht-
> Von: Piotr Kliczewski [mailto:piotr.kliczew...@gmail.com]
> Gesendet: Donnerstag, 27. April 2017 09:59
> An: Oved Ourfali <oourf...@redhat.com>
> Cc: Sven Achtelik <sven.achte...@eps.aero>; users@ovirt.org
> Betreff: Re: [ovirt-users] Timeout for Hosts
>
> I think that you are looking for vdsHeartbeatInSeconds which specifies 
> acceptable time of no activity.
> You can increase it which would make it more resilient to network 
> fluctuations.
>
> Please note that it is part of the host life cycle and too big value would 
> limit our ability to detect real network issues.
>
> Thanks,
> Piotr
>
> On Thu, Apr 27, 2017 at 8:36 AM, Oved Ourfali <oourf...@redhat.com> wrote:
>> Hi Sven,
>>
>> Relevant configuration items are:
>> vdsTimeout (which is set by default to 180 seconds, so you should be
>> good) vdsHeartbeatInSeconds (this one should be increased)
>>
>> iirc no other changes are needed, but CC-ing Martin just in case i'm wrong.
>>
>> Best regards,
>> Oved
>>
>> On Thu, Apr 27, 2017 at 9:30 AM, Sven Achtelik 
>> <sven.achte...@eps.aero>
>> wrote:
>>>
>>> Hi All,
>>>
>>>
>>>
>>> I have 2 hosts which are at remote locations where the ISP is 
>>> forcing a connection reset after some days. During that reset the 
>>> connection will be down for at most 2 minutes and the engine starts 
>>> to complain about the hosts not being reachable. What is the right value to 
>>> tweak to compensate this ?
>>>
>>> Is it on of these: TimeoutToResetVdsInSeconds, VdsRefreshRate, 
>>> vdsTimeout ? And is it possible to only apply this for a certain 
>>> cluster or DC or is it global ?
>>>
>>>
>>>
>>> Thank you,
>>>
>>>
>>>
>>> Sven
>>>
>>>
>>> ___
>>> 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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] windows 2016 drivers

2017-06-07 Thread Sven Achtelik
Hi,

right now I’m thinking of doing the same. I couldn’t find any explanation why 
the Win2016 Server behave like they do at this point. I do think that it might 
be an issue that is coming up only when running in the oVirt/RHEV setup, maybe 
the guest drivers or anything else ? I’ve tried several things including the 
latest version of the Guest tools 4.1.5 and couldn’t get normal behavior. It 
seems that after restarting the servers everything is normal for a certain time 
and then things stop working fine. The Issue is strange because the network is 
working you can do pings and use RDP, but as soon as you try to move more data 
is nearly stops working at all. This all based on observation since there are 
no errors.

Example: I restart the dc and another server and run a dcdiag from the other 
server it works fine. Some time down the line running it just doesn’t work out. 
It looks like it’s tring to do something but can’t finish due to something with 
the network, but it doesn’t stop with network error. Trying to move a file at 
this stage will work with something like 5kb/s or so.

Bottom line I don’t have time to work this out, thus switching back to 2K12R2.

Von: supo...@logicworks.pt [mailto:supo...@logicworks.pt]
Gesendet: Mittwoch, 7. Juni 2017 12:06
An: Gianluca Cecchi <gianluca.cec...@gmail.com>
Cc: Sven Achtelik <sven.achte...@eps.aero>; ovirt users <users@ovirt.org>
Betreff: Re: [ovirt-users] windows 2016 drivers

I mean for a 2016 as a whole, but I didn't test it. I read in some foruns  
people are complaining about w2016.
I test the wfoundation 2012r2 with the new ovirt drives, it's working


De: "Gianluca Cecchi" 
<gianluca.cec...@gmail.com<mailto:gianluca.cec...@gmail.com>>
Para: supo...@logicworks.pt<mailto:supo...@logicworks.pt>
Cc: "Sven Achtelik" <sven.achte...@eps.aero<mailto:sven.achte...@eps.aero>>, 
"ovirt users" <users@ovirt.org<mailto:users@ovirt.org>>
Enviadas: Quarta-feira, 7 De Junho de 2017 10:22:02
Assunto: Re: [ovirt-users] windows 2016 drivers

On Wed, Jun 7, 2017 at 11:04 AM, 
<supo...@logicworks.pt<mailto:supo...@logicworks.pt>> wrote:

Hi,

Well, we move to windows 2012, since we have read that w2016 is not to stable. 
With w2012 everything backs to normal working.


Do you mean from oVirt/RHEV guest point of view or for 2016 as a whole...?


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


Re: [ovirt-users] Seamless SAN HA failovers with oVirt?

2017-06-06 Thread Sven Achtelik
Hi Matthew, 

I'm also using a HA TrueNAS as the storage. I have NFS as well as iscsi shares 
and did do some in place upgrade. The failover went more or less smooth, it was 
more of an issue on the TrueNas side where the different vlans didn't come up. 
This caused the engine to take down the storage domain and things took some 
time until everything was up again. The VMs in ovirt did go into paused mode 
and started to work again as soon as the failover was done. I was failing over 
by rebooting one of the TrueNas nodes and this took some time for the other 
node to take over. I was thinking about asking the TN guys if there is a 
command or procedure to speed up the failover. In all I didn't stop any VMs 
although the VMs paused. Depending on the critically of the VMs you might want 
to move to another storage. 

Sven 

-Ursprüngliche Nachricht-
Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Matthew Trent
Gesendet: Montag, 5. Juni 2017 23:48
An: users 
Betreff: [ovirt-users] Seamless SAN HA failovers with oVirt?

I'm using two TrueNAS HA SANs (FreeBSD-based ZFS) to provide storage via NFS to 
7 oVirt boxes and about 25 VMs.

For SAN system upgrades I've always scheduled a maintenance window, shut down 
all the oVirt stuff, upgraded the SANs, and spun everything back up. It's 
pretty disruptive, but I assumed that was the thing to do.

However, in talking with the TrueNAS vendor they said the majority of their 
customers are using VMWare and they almost always do TrueNAS updates in 
production. They just upgrade one head of the TrueNAS HA pair then failover to 
the other head and upgrade it too. There's a 30-ish second pause in I/O while 
the disk arrays are taken over by the other HA head, but VMWare just tolerates 
it and continues without skipping a beat. They say this is standard procedure 
in the SAN world and virtualization systems should tolerate 30-60 seconds of 
I/O pause for HA failovers seamlessly.

It sounds great to me, but I wanted to pick this lists' brain -- is anyone 
doing this with oVirt? Are you able to failover your HA SAN with 30-60 seconds 
of no I/O without oVirt freaking out?

If not, are there any tunables relating to this? I see the default NFS mount 
options look fairly tolerant (proto=tcp,timeo=600,retrans=6), but are there 
VDSM or sanlock or some other oVirt timeouts that will kick in and start 
putting storage domains into error states, fencing hosts or something before 
that? I've never timed anything, but I want to say my past experience is that 
ovirt hosted engine started showing errors almost immediately when we've had 
SAN issues in the past.

Thanks!

--
Matthew Trent
Network Engineer
Lewis County IT Services
___
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 and FreeNAS

2017-08-21 Thread Sven Achtelik
Hi Latcho,

I'm using FreeNas and TrueNas and I'm happy with both Systems. For FreeNas I'm 
using an older Server with 64GB RAM and 2,8GhZ CPU. I'm running NFS as well as 
iSCSI and both work well. The performance is as expected maxing out the 1Gbit/s 
LAN connection and it could do more with higher LAN speed. I found it to be a 
very robust and easy to use system for storage.

Best,
Sven

Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag von 
Latchezar Filtchev
Gesendet: Dienstag, 15. August 2017 10:51
An: users 
Betreff: [ovirt-users] oVirt and FreeNAS

Dear oVirt-ers,

Just curious - did someone uses FreeNAS as storage  for oVirt.  My staging 
environment is - two virtualization nodes, hosted engine, FreeNAS as storage 
(iSCSI hosted storage, iSCSI Data(Master) domain and NFS shares as ISO and 
export domains)

Thank you!

Best,
Latcho

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


[ovirt-users] Huge Glsuter Issues - oVirt 4.1.7

2017-11-23 Thread Sven Achtelik
Hi All,

I'm experiencing huge issues when working with big VMs on Gluster volumes. 
Doing a Snapshot or removing a big Disk lead to the effect that the SPM node is 
getting non responsive. Fencing is than kicking in and taking the node down 
with the hard reset/reboot.

My setup has three nodes with 10Gbit/s NICs for the Gluster network. The Bricks 
are on Raid-6 with a 1GB cache on the raid controller and the volumes are setup 
as follows:

Volume Name: data
Type: Replicate
Volume ID: c734d678-91e3-449c-8a24-d26b73bef965
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: ovirt-node01-gfs.storage.lan:/gluster/brick2/data
Brick2: ovirt-node02-gfs.storage.lan:/gluster/brick2/data
Brick3: ovirt-node03-gfs.storage.lan:/gluster/brick2/data
Options Reconfigured:
features.barrier: disable
cluster.granular-entry-heal: enable
performance.readdir-ahead: on
performance.quick-read: off
performance.read-ahead: off
performance.io-cache: off
performance.stat-prefetch: on
cluster.eager-lock: enable
network.remote-dio: off
cluster.quorum-type: auto
cluster.server-quorum-type: server
storage.owner-uid: 36
storage.owner-gid: 36
features.shard: on
features.shard-block-size: 512MB
performance.low-prio-threads: 32
cluster.data-self-heal-algorithm: full
cluster.locking-scheme: granular
cluster.shd-wait-qlength: 1
cluster.shd-max-threads: 6
network.ping-timeout: 30
user.cifs: off
nfs.disable: on
performance.strict-o-direct: on
server.event-threads: 4
client.event-threads: 4

It feel like the System looks up during snapshotting or removing of a big disk 
and this delay triggers things to go wrong. Is there anything that is not setup 
right on my gluster or is this behavior normal with bigger disks (50GB+) ? Is 
there a reliable option for caching with SSDs ?

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


Re: [ovirt-users] Recovering oVirt-Engine with a backup before upgrading to 4.2

2018-05-04 Thread Sven Achtelik
Hi All,

I'm still failing on this one. I tried setting the locale different, but that 
doesn't seem to do the trick. When looking at the logfile 
/var/lib/pgsql/initdb_rh-postgresql95-postgresql.log I can see that the setup 
process is somehow getting the information and setting the Encoding to UTF8.


/var/lib/pgsql/initdb_rh-postgresql95-postgresql.log

The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".


 This leads into the issue that is showing up in 
/var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log

Checking cluster versions   ok
Checking database user is the install user  ok
Checking database connection settings   ok
Checking for prepared transactions  ok
Checking for reg* system OID user data typesok
Checking for contrib/isn with bigint-passing mismatch   ok
Checking for invalid "line" user columnsok
Creating dump of global objects ok
Creating dump of database schemas
  engine
  ovirt_engine_history
  postgres
  template1
ok

encodings for database "postgres" do not match:  old "SQL_ASCII", new "UTF8"
Failure, exiting
---

Even changing the locale.conf to en_US without the UTF8 doesn't change 
anything. Is this information cached somewhere and needs to be reread before 
this will work ?

Any advice on moving forward is appreciated. 

Thank you, 
Sven 



> -Ursprüngliche Nachricht-
> Von: Yedidyah Bar David [mailto:d...@redhat.com]
> Gesendet: Freitag, 20. April 2018 08:55
> An: Sven Achtelik <sven.achte...@eps.aero>; Simone Tiraboschi
> <stira...@redhat.com>
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Recovering oVirt-Engine with a backup before
> upgrading to 4.2
> 
> On Fri, Apr 13, 2018 at 12:00 PM, Sven Achtelik <sven.achte...@eps.aero>
> wrote:
> > Hi All,
> >
> > I got my stuff up and running again. I works like described in the manual 
> > and I
> used some extra hardware to jumpstart this. I'm now back on my hosted Engine
> 4.1.9 with 3 Hosts running it. The Engine is running on the appliance that is
> pulled by the deployment tool and after having everything stable again I
> thought of upgrading to 4.2. Thing is that this is just not working with the
> appliance because of some issue when upgrading Postgres inside. Looking at
> the logs I found this:
> > 
> > Creating dump of database schemas
> >   engine
> >   ovirt_engine_history
> >   postgres
> >   template1
> > ok
> >
> > encodings for database "postgres" do not match:  old "SQL_ASCII", new
> "UTF8"
> > Failure, exiting
> > --
> >
> > After some research I found something here
> https://bugzilla.redhat.com/show_bug.cgi?id=1525976, but I'm not sure what
> to do with that Information. I used the appliance and didn't do anything 
> manual
> in the complete process and I'm wondering why I'm getting this issue now ?
> Could someone advice on how to proceed ?
> 
> Looks like:
> 
> https://bugzilla.redhat.com/1528371
> 
> Which version do you upgrade to?
> 
> If to one that should be covered by above bug, please attach your setup log 
> to it.
> Thanks.
> 
> I was on vacation last week and will be in next one too. Adding Simone.
> 
> Best regards,
> 
> >
> > Thank you,
> > Sven
> >
> >> -Ursprüngliche Nachricht-
> >> Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im
> >> Auftrag von Sven Achtelik
> >> Gesendet: Mittwoch, 28. März 2018 18:28
> >> An: Yedidyah Bar David
> >> Cc: users@ovirt.org
> >> Betreff: Re: [ovirt-users] Recovering oVirt-Engine with a backup
> >> before upgrading to 4.2
> >>
> >>
> >>
> >> > -Ursprüngliche Nachricht-
> >> > Von: Yedidyah Bar David [mailto:d...@redhat.com]
> >> > Gesendet: Mittwoch, 28. März 2018 10:06
> >> > An: Sven Achtelik
> >> > Cc: users@ovirt.org
> >> > Betreff: Re:

[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-27 Thread Sven Achtelik
Hi Paul, 

I only used the automatic update from oVirt. I'll look through the older post 
if I can do something with this information. 

Thanks, Sven

-Ursprüngliche Nachricht-
Von: p.stanifo...@leedsbeckett.ac.uk [mailto:p.stanifo...@leedsbeckett.ac.uk] 
Gesendet: Donnerstag, 26. Juli 2018 18:04
An: users@ovirt.org
Betreff: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

Hi Sven,
  maybe it's dependant on the order of the upgrade, did you update 
postgres or let the oVirt do it?
The manual method was to update the template0 template1 and postgres databases.

https://www.mail-archive.com/users@ovirt.org/msg47888.html

Regards,
Paul S.
___
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/M2GS5HPVS5QHPHZGH5EJLBRBBFE6ADHH/
___
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/ONFJ26UC4BIM4XYZIXOP3FSRJXLF7W7V/


[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-27 Thread Sven Achtelik
Is this what you’re looking for ?

HOSTNAME=ovirt-engine
SELINUX_ROLE_REQUESTED=
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=10.1.50.14 50688 22
SELINUX_USE_CURRENT_RANGE=
SSH_TTY=/dev/pts/1
USER=root
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
SSH_AUTH_SOCK=/tmp/ssh-FoWxJtonlt/agent.14076
MAIL=/var/spool/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
PWD=/root
LANG=en_US
SELINUX_LEVEL_REQUESTED=
HISTCONTROL=ignoredups
SHLVL=1
HOME=/root
LOGNAME=root
SSH_CONNECTION=
LESSOPEN=||/usr/bin/lesspipe.sh %s
XDG_RUNTIME_DIR=/run/user/0
_=/usr/bin/env



Von: Simone Tiraboschi [mailto:stira...@redhat.com]
Gesendet: Donnerstag, 26. Juli 2018 12:42
An: Sven Achtelik 
Cc: Yedidyah Bar David ; users ; Gobinda Das 

Betreff: Re: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues


On Wed, Jul 25, 2018 at 1:23 PM Sven Achtelik 
mailto:sven.achte...@eps.aero>> wrote:
Hi Simone,

if I use the same command as you did I get the following information:

[root@ovirt-engine ~]# sudo -u postgres scl enable rh-postgresql95 -- psql 
--list
could not change directory to "/root": Permission denied
  List of databases
 Name |Owner | Encoding  |   Collate   |
Ctype|   Access privileges
--+--+---+-+-+---
engine   | engine   | UTF8  | en_US.UTF-8 | 
en_US.UTF-8 |
 ovirt_engine_history | ovirt_engine_history | UTF8  | en_US.UTF-8 | 
en_US.UTF-8 |
 postgres | postgres | SQL_ASCII | C   | C  
 |
 template0| postgres | SQL_ASCII | C   | C  
 | =c/postgres  +
  |  |   | |
 | postgres=CTc/postgres

The issue is just there on postgres and template0.
According to inidb documentation:
https://www.postgresql.org/docs/9.5/static/app-initdb.html

-E encoding
--encoding=encoding

Selects the encoding of the template database. This will also be the default 
encoding of any database you create later, unless you override it there. The 
default is derived from the locale, or SQL_ASCII if that does not work.

It will fall back to SQL_ASCII if there was an error getting the locale.

Can you please share the output of env on the shell there you executed 
engine-setup?



template1| postgres | UTF8  | en_US.utf8  | 
en_US.utf8  |
(5 rows)

As I’m not a DB admin, I don’t really know how go about these encodings. I 
restored the current system from a 4.1.7 Backup to a 4.1.9 image and all went 
well.

Do you need any other values ?

Thanks,
Sven


Von: Simone Tiraboschi [mailto:stira...@redhat.com<mailto:stira...@redhat.com>]
Gesendet: Dienstag, 24. Juli 2018 15:47
An: Sven Achtelik mailto:sven.achte...@eps.aero>>; 
Yedidyah Bar David mailto:d...@redhat.com>>
Cc: users mailto:users@ovirt.org>>; Gobinda Das 
mailto:go...@redhat.com>>
Betreff: Re: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

Hi,
it seams still pretty close to 
https://bugzilla.redhat.com/show_bug.cgi?id=1528371 although that one was on 
lc_collate and this on encoding.
Adding also Didi.

I just double check on a system of mine upgrade from 4.1 to 4.2 and template1 
is still on UTF8.

[root@enginevm tmp]# sudo -u postgres scl enable rh-postgresql95 -- psql --list
 List of 

[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-30 Thread Sven Achtelik
Hi Paul, 

unfortunately my DB skills are not enough to understand an solve this. I always 
used the oVirt automatic way of restoring the engine and that's why I never 
expected to run into such an issue. I don't have a lab environment which makes 
it hard to find out if this would work. I have to work with my prod and be sure 
that whatever I'm doing is going to be a successful. Would you happen to have 
any other ideas to upgrade the DB part of it ? 

Thanks, 
Sven

-Ursprüngliche Nachricht-
Von: Sven Achtelik [mailto:sven.achte...@eps.aero] 
Gesendet: Freitag, 27. Juli 2018 09:31
An: p.stanifo...@leedsbeckett.ac.uk; users@ovirt.org
Betreff: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

Hi Paul, 

I only used the automatic update from oVirt. I'll look through the older post 
if I can do something with this information. 

Thanks, Sven

-Ursprüngliche Nachricht-
Von: p.stanifo...@leedsbeckett.ac.uk [mailto:p.stanifo...@leedsbeckett.ac.uk]
Gesendet: Donnerstag, 26. Juli 2018 18:04
An: users@ovirt.org
Betreff: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

Hi Sven,
  maybe it's dependant on the order of the upgrade, did you update 
postgres or let the oVirt do it?
The manual method was to update the template0 template1 and postgres databases.

https://www.mail-archive.com/users@ovirt.org/msg47888.html

Regards,
Paul S.
___
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/M2GS5HPVS5QHPHZGH5EJLBRBBFE6ADHH/
___
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/ONFJ26UC4BIM4XYZIXOP3FSRJXLF7W7V/
___
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/43SGERBWEUCWJLZ2ZVJQVJML7DR7L2RA/


[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-30 Thread Sven Achtelik


Von: Simone Tiraboschi [mailto:stira...@redhat.com]
Gesendet: Montag, 30. Juli 2018 09:19
An: Sven Achtelik 
Cc: Yedidyah Bar David ; users ; Gobinda Das 

Betreff: Re: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues


On Fri, Jul 27, 2018 at 9:27 AM Sven Achtelik 
mailto:sven.achte...@eps.aero>> wrote:
Is this what you’re looking for ?

HOSTNAME=ovirt-engine
SELINUX_ROLE_REQUESTED=
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=10.1.50.14 50688 22
SELINUX_USE_CURRENT_RANGE=
SSH_TTY=/dev/pts/1
USER=root
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
SSH_AUTH_SOCK=/tmp/ssh-FoWxJtonlt/agent.14076
MAIL=/var/spool/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
PWD=/root
LANG=en_US

I think that your issue comes from here.
On a clean system you have LANG=en_US.UTF-8 and you probably initially deployed 
oVirt 4.1 with postgres 9.2 with that but now you set just LANG=en_US and so 
postgres initdb is trying to honor that creating 9.5 template0 and template1 
without utf-8 support and so the upgrade from 9.2 utf-8 to 9.5 without utf-8 is 
failing.
I'd suggest to set LANG=en_US.UTF-8 and then try again the upgrade procedure 
from engine-setup.

Just tried this and it’s still failing. Language seems to be set properly:
[root@ovirt-engine ~]# localectl  status
   System Locale: LANG=en_US.utf8
   VC Keymap: us
  X11 Layout: n/a
[root@ovirt-engine ~]# env
XDG_SESSION_ID=2625
SELINUX_ROLE_REQUESTED=
TERM=xterm
SHELL=/bin/bash
MAIL=/var/spool/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
PWD=/root
LANG=en_US.utf8

Here’s a snippet from the failing log:

2018-07-30 02:50:41,981-0500 DEBUG 
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.dbmsupgrade 
plugin.executeRaw:813 execute: 
('/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup', '--upgrade', 
'--upgrade-from=postgresql'),
executable='None', cwd='None', env={'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 
'SSH_CLIENT': '10.1.50.14 52013 22', 'SELINUX_USE_CURRENT_RANGE': '', 
'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'PATH': 
'/opt/rh/rh-postgresq
l95/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin', 
'LD_LIBRARY_PATH': '/opt/rh/rh-postgresql95/root/usr/lib64', 'LANG': 
'en_US.utf8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/opt/rh/rh
-postgresql95/root/usr/lib64', 'SHLVL': '4', 'HISTSIZE': '1000', 
'POSTGRESQLENV': 
'COMMAND/pg_dump=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_dump  
COMMAND/psql=str:/opt/rh/rh-postgresql95/root/usr/bin/psql  COM
MAND/pg_restore=str:/opt/rh/rh-postgresql95/root/usr/bin/pg_restore  
COMMAND/postgresql-setup=str:/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup
  OVESETUP_PROVISIONING/postgresService=str:rh-postgresql95-p
ostgresql  
OVESETUP_PROVISIONING/postgresConf=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf
  
OVESETUP_PROVISIONING/postgresPgHba=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/pg_hba.conf
  
OVESETUP_PROVISIONING/postgresPgVersion=str:/var/opt/rh/rh-postgresql95/lib/pgsql/data/PG_VERSION',
 'MANPATH': '/opt/rh/rh-postgresql95/root/usr/share/man:', 'X_SCLS': 
'rh-postgresql95 ', 'XDG_RUNTIME_DIR': '/run/user/0', 'PGS
ETUP_INITDB_OPTIONS': '--lc-collate=C --encoding=SQL_ASCII --lc-ctype=C', 
'PYTHONPATH': '/usr/share/ovirt-engine/setup/bin/..::', 'SSH_AUTH_SOCK': 
'/tmp/ssh-mioJ2JGE3R/agent.25618', 'SELINUX_ROLE_REQUESTED': '', 'MAIL': 
'/var/sp
ool/mail/root', 'PKG_CONFIG_PATH': 
'/opt/rh/rh-postgresql95/root/usr/lib64/pkgconfig', 'XDG_SESSION_ID':

[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-25 Thread Sven Achtelik
Hi Simone,

if I use the same command as you did I get the following information:

[root@ovirt-engine ~]# sudo -u postgres scl enable rh-postgresql95 -- psql 
--list
could not change directory to "/root": Permission denied
  List of databases
 Name |Owner | Encoding  |   Collate   |
Ctype|   Access privileges
--+--+---+-+-+---
engine   | engine   | UTF8  | en_US.UTF-8 | 
en_US.UTF-8 |
 ovirt_engine_history | ovirt_engine_history | UTF8  | en_US.UTF-8 | 
en_US.UTF-8 |
 postgres | postgres | SQL_ASCII | C   | C  
 |
 template0| postgres | SQL_ASCII | C   | C  
 | =c/postgres  +
  |  |   | |
 | postgres=CTc/postgres
template1| postgres | UTF8  | en_US.utf8  | 
en_US.utf8  |
(5 rows)

As I’m not a DB admin, I don’t really know how go about these encodings. I 
restored the current system from a 4.1.7 Backup to a 4.1.9 image and all went 
well.

Do you need any other values ?

Thanks,
Sven


Von: Simone Tiraboschi [mailto:stira...@redhat.com]
Gesendet: Dienstag, 24. Juli 2018 15:47
An: Sven Achtelik ; Yedidyah Bar David 
Cc: users ; Gobinda Das 
Betreff: Re: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

Hi,
it seams still pretty close to 
https://bugzilla.redhat.com/show_bug.cgi?id=1528371 although that one was on 
lc_collate and this on encoding.
Adding also Didi.

I just double check on a system of mine upgrade from 4.1 to 4.2 and template1 
is still on UTF8.

[root@enginevm tmp]# sudo -u postgres scl enable rh-postgresql95 -- psql --list
 List of databases
 Name |Owner | Encoding |   Collate   |
Ctype|   Access privileges
--+--+--+-+-+---
 engine   | engine   | UTF8 | en_US.UTF-8 | 
en_US.UTF-8 |
 ovirt_engine_history | ovirt_engine_history | UTF8 | en_US.UTF-8 | 
en_US.UTF-8 |
 postgres | postgres | UTF8 | en_US.UTF-8 | 
en_US.UTF-8 |
 template0| postgres | UTF8 | en_US.UTF-8 | 
en_US.UTF-8 | =c/postgres  +
  |  |  | | 
| postgres=CTc/postgres
 template1| postgres | UTF8 | en_US.UTF-8 | 
en_US.UTF-8 | postgres=CTc/postgres+
  |  |  | | 
| =c/postgres
(5 rows)


So the point is why the upgrade process is trying to force SQL_ASCII.
Can you please share your env variable values?

On Tue, Jul 24, 2018 at 2:57 PM Gobinda Das 
mailto:go...@redhat.com>> wrote:
Hi Sven,
 I think you need to use same encoding.The error clearly says your dump 
encoding is "UTF8" and the new database encoding is "SQL_ASCII"
As per I know PostgreSQL does not convert encoding from one type to another 
during restore.
Can you please check what's the current encoding configured?

On Tue, Jul 24, 2018 at 5:00 PM, Sven Achtelik 
mailto:sven.achte...@eps.aero>> wrote:
Hi All,

I’m still struggling to upgrade from 4.1 to 4.2 and the root cause seems to be 
the SQL upgrade. I installed my 4.1.9 with the engine appliance image and 
restored a DB to it. My Upgrade to 4.2 is failing with the errors below:

Performing Consistency Checks
-
Checking cluster versions   ok
Checking database user is the install user  ok
Checking database connection settings   ok
Checking for prepared transactions  ok
Checking for reg* system OID user data typesok
Checking for contrib/isn with bigint-passing mismatch   ok
Checking for invalid "line" user columnsok
Creating dump of global objects ok
Creating dump of database schemas
  engine
  ovirt_engine_history
  postgres
  template1
ok

encodings for database "template1" do not match:  old "UTF8", new "SQL_ASCII"
Failure, exiting

I tried everything that could do and I also tried to find a solution on google 
to make this work. Could someone with DB knowhow please advise on the next 
steps to resolve this ? I really would like to upgrade somehow.

Thank you,
Sven

___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le.

[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-25 Thread Sven Achtelik
Hi Paul, 

I'm trying with the latest packages, 4.2.5. How would I manually change those 
encodings ? 

Thanks, 
Sven 

-Ursprüngliche Nachricht-
Von: p.stanifo...@leedsbeckett.ac.uk [mailto:p.stanifo...@leedsbeckett.ac.uk] 
Gesendet: Dienstag, 24. Juli 2018 15:54
An: users@ovirt.org
Betreff: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

Hi Sven,
  I had a problem with SQL_ASCII and had to change them manually on 
our test upgrade system but one of the later 4.2 versions did it as part of the 
upgrade for Postgres, which version of 4.2 are you trying to upgrade to?

Regards,
   Paul S.
___
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/4PKKCEAV3ZRAYI5EESBD5F3HH5PKHQMZ/
___
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/SZP3II6IBWZDW27CRNHWV2YZJFPPA2XL/


[ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-25 Thread Sven Achtelik
Sorry, wrong, I have the following setup packes installed 

ovirt-engine-setup.noarch   4.2.4.5-1.el7  @ovirt-4.2   
ovirt-engine-setup-base.noarch  4.2.4.5-1.el7  @ovirt-4.2


-Ursprüngliche Nachricht-
Von: Sven Achtelik [mailto:sven.achte...@eps.aero] 
Gesendet: Mittwoch, 25. Juli 2018 13:17
An: p.stanifo...@leedsbeckett.ac.uk; users@ovirt.org
Betreff: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

Hi Paul, 

I'm trying with the latest packages, 4.2.5. How would I manually change those 
encodings ? 

Thanks,
Sven 

-Ursprüngliche Nachricht-
Von: p.stanifo...@leedsbeckett.ac.uk [mailto:p.stanifo...@leedsbeckett.ac.uk]
Gesendet: Dienstag, 24. Juli 2018 15:54
An: users@ovirt.org
Betreff: [ovirt-users] Re: Upgrade from 4.1 to 4.2 failing - SQL Issues

Hi Sven,
  I had a problem with SQL_ASCII and had to change them manually on 
our test upgrade system but one of the later 4.2 versions did it as part of the 
upgrade for Postgres, which version of 4.2 are you trying to upgrade to?

Regards,
   Paul S.
___
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/4PKKCEAV3ZRAYI5EESBD5F3HH5PKHQMZ/
___
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/SZP3II6IBWZDW27CRNHWV2YZJFPPA2XL/
___
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/H52AECFEC253NT3VKRJPDQDGIM563U6J/


[ovirt-users] Upgrade from 4.1 to 4.2 failing - SQL Issues

2018-07-24 Thread Sven Achtelik
Hi All,

I'm still struggling to upgrade from 4.1 to 4.2 and the root cause seems to be 
the SQL upgrade. I installed my 4.1.9 with the engine appliance image and 
restored a DB to it. My Upgrade to 4.2 is failing with the errors below:

Performing Consistency Checks
-
Checking cluster versions   ok
Checking database user is the install user  ok
Checking database connection settings   ok
Checking for prepared transactions  ok
Checking for reg* system OID user data typesok
Checking for contrib/isn with bigint-passing mismatch   ok
Checking for invalid "line" user columnsok
Creating dump of global objects ok
Creating dump of database schemas
  engine
  ovirt_engine_history
  postgres
  template1
ok

encodings for database "template1" do not match:  old "UTF8", new "SQL_ASCII"
Failure, exiting

I tried everything that could do and I also tried to find a solution on google 
to make this work. Could someone with DB knowhow please advise on the next 
steps to resolve this ? I really would like to upgrade somehow.

Thank you,
Sven
___
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/H7KQJ4VDGVDBQX6QL2RJ5LLS6I3KHC6I/


Re: [ovirt-users] Recovering oVirt-Engine with a backup before upgrading to 4.2

2018-04-13 Thread Sven Achtelik
Hi All, 

I got my stuff up and running again. I works like described in the manual and I 
used some extra hardware to jumpstart this. I'm now back on my hosted Engine 
4.1.9 with 3 Hosts running it. The Engine is running on the appliance that is 
pulled by the deployment tool and after having everything stable again I 
thought of upgrading to 4.2. Thing is that this is just not working with the 
appliance because of some issue when upgrading Postgres inside. Looking at the 
logs I found this: 

Creating dump of database schemas
  engine
  ovirt_engine_history
  postgres
  template1
ok

encodings for database "postgres" do not match:  old "SQL_ASCII", new "UTF8"
Failure, exiting
--

After some research I found something here 
https://bugzilla.redhat.com/show_bug.cgi?id=1525976, but I'm not sure what to 
do with that Information. I used the appliance and didn't do anything manual in 
the complete process and I'm wondering why I'm getting this issue now ? Could 
someone advice on how to proceed ? 

Thank you, 
Sven 

> -Ursprüngliche Nachricht-
> Von: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Im Auftrag
> von Sven Achtelik
> Gesendet: Mittwoch, 28. März 2018 18:28
> An: Yedidyah Bar David
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Recovering oVirt-Engine with a backup before
> upgrading to 4.2
> 
> 
> 
> > -Ursprüngliche Nachricht-
> > Von: Yedidyah Bar David [mailto:d...@redhat.com]
> > Gesendet: Mittwoch, 28. März 2018 10:06
> > An: Sven Achtelik
> > Cc: users@ovirt.org
> > Betreff: Re: [ovirt-users] Recovering oVirt-Engine with a backup
> > before upgrading to 4.2
> >
> > On Tue, Mar 27, 2018 at 9:14 PM, Sven Achtelik
> > <sven.achte...@eps.aero>
> > wrote:
> > > Hi All,
> > >
> > >
> > >
> > > I’m still facing issues with my HE engine. Here are the steps that I
> > > took to end up in this situation:
> > >
> > >
> > >
> > > - Update Engine from 4.1.7 to 4.1.9
> > >
> > > o   That worked as expected
> > >
> > > - Automatic Backup of Engine DB in the night
> > >
> > > - Upgraded Engine from 4.1.9 to 4.2.1
> > >
> > > o   That worked fine
> > >
> > > - Noticed Issues with the HA support for HE
> > >
> > > o   Cause was not having the latest ovirt-ha agent/broker version on hosts
> > >
> > > - After updating the first host with the latest packages for the
> > > Agent/Broker engine was started twice
> > >
> > > o   As a result the Engine VM Disk was corrupted and there is no Backup of
> > > the Disk
> > >
> > > o   There is also no Backup of the Engine DB with version 4.2
> > >
> > > - VM disk was repaired with fsck.ext4, but DB is corrupt
> > >
> > > o   Can’t restore the Engine DB because the Backup DB from Engine V 4.1
> > >
> > > - Rolled back all changes on Engine VM to 4.1.9 and imported 
> > > Backup
> > >
> > > o   Checked for HA VMs to set as disabled and started the Engine
> > >
> > > - Login is fine but the Engine is having trouble picking up and
> > > information from the Hosts
> > >
> > > o   No information on running VMs or hosts status
> > >
> > > - Final Situation
> > >
> > > o   2 Hosts have VMs still running and I can’t stop those
> > >
> > > o   I still have the image of my corrupted Engine VM (v4.2)
> > >
> > >
> > >
> > > Since there were no major changes after upgrading from 4.1 to 4.2,
> > > would it be possible to manually restore the 4.1 DB to the 4.2
> > > Engine VM to this up and running again or are there modifications
> > > made to the DB on upgrading that are relevant for this ?
> >
> > engine-backup requires restoring to the same version used to take the
> > backup, with a single exception - on 4.0, it can restore 3.6.
> >
> > It's very easy to patch it to allow also 4.1->4.2, search inside it
> > for "VALID_BACKUP_RESTORE_PAIRS". However, I do not think anyone ever
> > tested this, so no idea might break. In 3.6->4.0 days, we did have to
> > fix a few other things, notably apache httpd and iptables->firewalld:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1318580
> >
> > > All my work on rolling back to 4.1.9 with the

Re: [ovirt-users] Recovering oVirt-Engine with a backup before upgrading to 4.2

2018-04-20 Thread Sven Achtelik
I added the 4.2 Repos and this what the yum update installed the following 
packages

[root@ovirt-engine ~]# yum list "ovirt-*-setup*"  
Loaded plugins: fastestmirror, versionlock
Determining fastest mirrors
 * base: centos.host-engine.com
 * extras: mirror.riverfrontnetworks.com
 * ovirt-4.1-epel: mirrors.lug.mtu.edu
 * ovirt-4.2: resources.ovirt.org
 * ovirt-4.2-epel: mirrors.lug.mtu.edu
 * updates: mirrors.advancedhosters.com
Installed Packages
ovirt-engine-dwh-setup.noarch   
   4.2.2.2-1.el7.centos 
@ovirt-4.2
ovirt-engine-setup.noarch   
   4.2.2.6-1.el7.centos 
@ovirt-4.2
ovirt-engine-setup-base.noarch  
   4.2.2.6-1.el7.centos 
@ovirt-4.2
ovirt-engine-setup-plugin-ovirt-engine.noarch   
   4.2.2.6-1.el7.centos 
@ovirt-4.2
ovirt-engine-setup-plugin-ovirt-engine-common.noarch
   4.2.2.6-1.el7.centos 
@ovirt-4.2
ovirt-engine-setup-plugin-vmconsole-proxy-helper.noarch 
   4.2.2.6-1.el7.centos 
@ovirt-4.2
ovirt-engine-setup-plugin-websocket-proxy.noarch
   4.2.2.6-1.el7.centos 
@ovirt-4.2
ovirt-imageio-proxy-setup.noarch
   1.2.2-0.el7.centos   
@ovirt-4.2
Available Packages
ovirt-ansible-engine-setup.noarch   
   1.1.0-1.el7.centos   
ovirt-4.2 
ovirt-engine-extension-aaa-ldap-setup.noarch
   1.3.7-1.el7.centos   
ovirt-4.2 
ovirt-engine-setup-plugin-dockerc.noarch
   4.1.9.1-1.el7.centos 
ovirt-4.1 
ovirt-engine-setup-plugin-live.noarch   
   4.1.0-1.el7.centos   
ovirt-4.1 
ovirt-hosted-engine-setup.noarch


> -Ursprüngliche Nachricht-
> Von: Yedidyah Bar David [mailto:d...@redhat.com]
> Gesendet: Freitag, 20. April 2018 08:55
> An: Sven Achtelik; Simone Tiraboschi
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Recovering oVirt-Engine with a backup before
> upgrading to 4.2
> 
> On Fri, Apr 13, 2018 at 12:00 PM, Sven Achtelik <sven.achte...@eps.aero>
> wrote:
> > Hi All,
> >
> > I got my stuff up and running again. I works like described in the manual 
> > and I
> used some extra hardware to jumpstart this. I'm now back on my hosted Engine
> 4.1.9 with 3 Hosts running it. The Engine is running on the appliance that is
> pulled by the deployment tool and after having everything stable again I
> thought of upgrading to 4.2. Thing is that this is just not working with the
> appliance because of some issue when upgrading Postgres inside. Looking at
> the logs I found this:
> > 
> > Creating dump of database schemas
> >   engine
> >   ovirt_engine_history
> >   postgres
> >   template1
> > ok
> >
> > encodings for database "postgres" do not match:  old "SQL_ASCII", new
> "UTF8"
> > Failure, exiting
> > --
> >
> > After some research I found something here
> https://bugzilla.redhat.com/show_bug.cgi?id=1525976, but I'm not sure what
> to do with that Information. I used the appliance and didn't do anything 
> manual
> in the complete p

Re: [ovirt-users] Workflow after restoring engine from backup

2018-03-27 Thread Sven Achtelik
I did look at this, for the VMs in question there are no entries on the 
run_on_vds and migrating_to_vds fields. I'm thinking of giving this a try. 

-Ursprüngliche Nachricht-
Von: Yedidyah Bar David [mailto:d...@redhat.com] 
Gesendet: Sonntag, 25. März 2018 07:46
An: Sven Achtelik
Cc: users@ovirt.org
Betreff: Re: [ovirt-users] Workflow after restoring engine from backup

On Fri, Mar 23, 2018 at 10:35 AM, Sven Achtelik <sven.achte...@eps.aero> wrote:
> It looks like I can't get a chance to shut down the HA VMs. I check the 
> restore log and it did mention that it change the HA-VM entries. Just to make 
> sure I looked at the DB and for the vms in question it looks like this.
>
> engine=# select vm_guid,status,vm_host,exit_status,exit_reason from 
> vm_dynamic Where vm_guid IN (SELECT vm_guid FROM vm_static WHERE 
> auto_startup='t' AND lease_sd_id is NULL);
>vm_guid| status | vm_host | 
> exit_status | exit_reason
> --++-+-+-
>  8733d4a6-0844--804f-6b919e93e076 |  0 | D  |   2 
> |  -1
>  4eeaa622-17f9--b99a-cddb3ad942de |  0 | APP|   2 
> |  -1
>  fbbdc0a0-23a4-4d32--a35c59eb790d |  0 | DB0 |   2 |  
> -1
>  45a4e7ce-19a9-4db9-x-66bd1b9d83af |  0 | xWOR |   2 |
>   -1
> (4 rows)
>
> Should that be enough to have a safe start of the engine without any HA 
> action kicking in. ?

Looks ok, but check also run_on_vds and migrating_to_vds. See also bz 1446055.

Best regards,

>
>
> -Ursprüngliche Nachricht-
> Von: Yedidyah Bar David [mailto:d...@redhat.com]
> Gesendet: Montag, 19. März 2018 10:18
> An: Sven Achtelik
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Workflow after restoring engine from backup
>
> On Mon, Mar 19, 2018 at 11:03 AM, Sven Achtelik <sven.achte...@eps.aero> 
> wrote:
>> Hi Didi,
>>
>> my backups where taken with the end. Backup utility. I have 3 Data 
>> centers, two of them with just one host and the third one with 3 
>> hosts running the engine.  The backup three days old, was taken on 
>> engine version 4.1 (4.1.7) and the restored engine is running on 4.1.9.
>
> Since the bug I mentioned was fixed in 4.1.3, you should be covered.
>
>> I have three HA VMs that would
>> be affected. All others are just normal vms. Sounds like it would be 
>> the safest to shut down the HA vm S to make sure that nothing happens ?
>
> If you can have downtime, I agree it sounds safer to shutdown the VMs.
>
>> Or can I
>> disable the HA action in the DB for now ?
>
> No need to. If you restored with 4.1.9 engine-backup, it should have done 
> this for you. If you still have the restore log, you can verify this by 
> checking it. It should contain 'Resetting HA VM status', and then the result 
> of the sql that it ran.
>
> Best regards,
>
>>
>> Thank you,
>>
>> Sven
>>
>>
>>
>> Von meinem Samsung Galaxy Smartphone gesendet.
>>
>>
>>  Ursprüngliche Nachricht ----
>> Von: Yedidyah Bar David <d...@redhat.com>
>> Datum: 19.03.18 07:33 (GMT+01:00)
>> An: Sven Achtelik <sven.achte...@eps.aero>
>> Cc: users@ovirt.org
>> Betreff: Re: [ovirt-users] Workflow after restoring engine from 
>> backup
>>
>> On Sun, Mar 18, 2018 at 11:45 PM, Sven Achtelik 
>> <sven.achte...@eps.aero>
>> wrote:
>>> Hi All,
>>>
>>>
>>>
>>> I had issue with the storage that hosted my engine vm. The disk got 
>>> corrupted and I needed to restore the engine from a backup.
>>
>> How did you backup, and how did you restore?
>>
>> Which version was used for each?
>>
>>> That worked as
>>> expected, I just didn’t start the engine yet.
>>
>> OK.
>>
>>> I know that after the backup
>>> was taken some machines where migrated around before the engine 
>>> disks failed.
>>
>> Are these machines HA?
>>
>>> My question is what will happen once I start the engine service 
>>> which has the restored backup on it ? Will it query the hosts for 
>>> the running VMs
>>
>> It will, but HA machines are handled differently.
>>
>> See also:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1441322
>> https://bugzilla.redhat.com/show_bug.cgi?id=1446055
>>
>>> or will it assume that the VMs are still on the hosts as they 
>>> resided at the point of backup ?
>>
>

[ovirt-users] Recovering oVirt-Engine with a backup before upgrading to 4.2

2018-03-27 Thread Sven Achtelik
Hi All,

I'm still facing issues with my HE engine. Here are the steps that I took to 
end up in this situation:


- Update Engine from 4.1.7 to 4.1.9

o   That worked as expected

- Automatic Backup of Engine DB in the night

- Upgraded Engine from 4.1.9 to 4.2.1

o   That worked fine

- Noticed Issues with the HA support for HE

o   Cause was not having the latest ovirt-ha agent/broker version on hosts

- After updating the first host with the latest packages for the 
Agent/Broker engine was started twice

o   As a result the Engine VM Disk was corrupted and there is no Backup of the 
Disk

o   There is also no Backup of the Engine DB with version 4.2

- VM disk was repaired with fsck.ext4, but DB is corrupt

o   Can't restore the Engine DB because the Backup DB from Engine V 4.1

- Rolled back all changes on Engine VM to 4.1.9 and imported Backup

o   Checked for HA VMs to set as disabled and started the Engine

- Login is fine but the Engine is having trouble picking up and 
information from the Hosts

o   No information on running VMs or hosts status

- Final Situation

o   2 Hosts have VMs still running and I can't stop those

o   I still have the image of my corrupted Engine VM (v4.2)

Since there were no major changes after upgrading from 4.1 to 4.2, would it be 
possible to manually restore the 4.1 DB to the 4.2 Engine VM to this up and 
running again or are there modifications made to the DB on upgrading that are 
relevant for this ? All my work on rolling back to 4.1.9 with the DB restore 
failed as the Engine is not capable of picking up information from the hosts. 
Lessons learned is to always make a copy/snapshot of the engine VM disk before 
upgrading anything. What are my options on getting back to a working 
environment ? Any help or hint is greatly appreciated.

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


Re: [ovirt-users] Recovering oVirt-Engine with a backup before upgrading to 4.2

2018-03-28 Thread Sven Achtelik


> -Ursprüngliche Nachricht-
> Von: Yedidyah Bar David [mailto:d...@redhat.com]
> Gesendet: Mittwoch, 28. März 2018 10:06
> An: Sven Achtelik
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Recovering oVirt-Engine with a backup before
> upgrading to 4.2
> 
> On Tue, Mar 27, 2018 at 9:14 PM, Sven Achtelik <sven.achte...@eps.aero>
> wrote:
> > Hi All,
> >
> >
> >
> > I’m still facing issues with my HE engine. Here are the steps that I
> > took to end up in this situation:
> >
> >
> >
> > - Update Engine from 4.1.7 to 4.1.9
> >
> > o   That worked as expected
> >
> > - Automatic Backup of Engine DB in the night
> >
> > - Upgraded Engine from 4.1.9 to 4.2.1
> >
> > o   That worked fine
> >
> > - Noticed Issues with the HA support for HE
> >
> > o   Cause was not having the latest ovirt-ha agent/broker version on hosts
> >
> > - After updating the first host with the latest packages for the
> > Agent/Broker engine was started twice
> >
> > o   As a result the Engine VM Disk was corrupted and there is no Backup of
> > the Disk
> >
> > o   There is also no Backup of the Engine DB with version 4.2
> >
> > - VM disk was repaired with fsck.ext4, but DB is corrupt
> >
> > o   Can’t restore the Engine DB because the Backup DB from Engine V 4.1
> >
> > - Rolled back all changes on Engine VM to 4.1.9 and imported Backup
> >
> > o   Checked for HA VMs to set as disabled and started the Engine
> >
> > - Login is fine but the Engine is having trouble picking up and
> > information from the Hosts
> >
> > o   No information on running VMs or hosts status
> >
> > - Final Situation
> >
> > o   2 Hosts have VMs still running and I can’t stop those
> >
> > o   I still have the image of my corrupted Engine VM (v4.2)
> >
> >
> >
> > Since there were no major changes after upgrading from 4.1 to 4.2,
> > would it be possible to manually restore the 4.1 DB to the 4.2 Engine
> > VM to this up and running again or are there modifications made to the
> > DB on upgrading that are relevant for this ?
> 
> engine-backup requires restoring to the same version used to take the backup,
> with a single exception - on 4.0, it can restore 3.6.
> 
> It's very easy to patch it to allow also 4.1->4.2, search inside it for
> "VALID_BACKUP_RESTORE_PAIRS". However, I do not think anyone ever
> tested this, so no idea might break. In 3.6->4.0 days, we did have to fix a 
> few
> other things, notably apache httpd and iptables->firewalld:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1318580
> 
> > All my work on rolling back to 4.1.9 with the DB restore failed as the
> > Engine is not capable of picking up information from the hosts.
> 
> No idea why, but not sure it's related to your restore flow.
> 
> > Lessons learned is to always make a copy/snapshot of the engine VM
> > disk before upgrading anything.
> 
> If it's a hosted-engine, this isn't supported - see my reply on the list ~ 1 
> hour
> ago...
> 
> > What are my options on getting
> > back to a working environment ? Any help or hint is greatly appreciated.
> 
> Restore again with either methods - what you tried, or patching engine-
> backup and restore directly into 4.2 - and if the engine fails to talk to the 
> hosts,
> try to debug/fix this.
> 
> If you suspect corruption more severe that just the db, you can install a 
> fresh
> engine machine from scratch and restore to it. If it's a hosted-engine, you'll
> need to deploy hosted-engine from scratch, check docs about hosted-engine
> backup/restore.

I read through those documents and it seems that I would need an extra 
Host/Hardware which I don't have. 
https://ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/

So how would I be able to get a new setup working when I would like to use the 
Engine-VM-Image ? At this point it sounds like I would have to manually 
reinstall the machine that is left over and running. I'm lost at this point. 
> 
> Best regards,
> --
> Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Recovering oVirt-Engine with a backup before upgrading to 4.2

2018-03-28 Thread Sven Achtelik


> -Ursprüngliche Nachricht-
> Von: Yedidyah Bar David [mailto:d...@redhat.com]
> Gesendet: Mittwoch, 28. März 2018 10:06
> An: Sven Achtelik
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Recovering oVirt-Engine with a backup before
> upgrading to 4.2
> 
> On Tue, Mar 27, 2018 at 9:14 PM, Sven Achtelik <sven.achte...@eps.aero>
> wrote:
> > Hi All,
> >
> >
> >
> > I’m still facing issues with my HE engine. Here are the steps that I
> > took to end up in this situation:
> >
> >
> >
> > - Update Engine from 4.1.7 to 4.1.9
> >
> > o   That worked as expected
> >
> > - Automatic Backup of Engine DB in the night
> >
> > - Upgraded Engine from 4.1.9 to 4.2.1
> >
> > o   That worked fine
> >
> > - Noticed Issues with the HA support for HE
> >
> > o   Cause was not having the latest ovirt-ha agent/broker version on hosts
> >
> > - After updating the first host with the latest packages for the
> > Agent/Broker engine was started twice
> >
> > o   As a result the Engine VM Disk was corrupted and there is no Backup of
> > the Disk
> >
> > o   There is also no Backup of the Engine DB with version 4.2
> >
> > - VM disk was repaired with fsck.ext4, but DB is corrupt
> >
> > o   Can’t restore the Engine DB because the Backup DB from Engine V 4.1
> >
> > - Rolled back all changes on Engine VM to 4.1.9 and imported Backup
> >
> > o   Checked for HA VMs to set as disabled and started the Engine
> >
> > - Login is fine but the Engine is having trouble picking up and
> > information from the Hosts
> >
> > o   No information on running VMs or hosts status
> >
> > - Final Situation
> >
> > o   2 Hosts have VMs still running and I can’t stop those
> >
> > o   I still have the image of my corrupted Engine VM (v4.2)
> >
> >
> >
> > Since there were no major changes after upgrading from 4.1 to 4.2,
> > would it be possible to manually restore the 4.1 DB to the 4.2 Engine
> > VM to this up and running again or are there modifications made to the
> > DB on upgrading that are relevant for this ?
> 
> engine-backup requires restoring to the same version used to take the backup,
> with a single exception - on 4.0, it can restore 3.6.
> 
> It's very easy to patch it to allow also 4.1->4.2, search inside it for
> "VALID_BACKUP_RESTORE_PAIRS". However, I do not think anyone ever
> tested this, so no idea might break. In 3.6->4.0 days, we did have to fix a 
> few
> other things, notably apache httpd and iptables->firewalld:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1318580
> 
> > All my work on rolling back to 4.1.9 with the DB restore failed as the
> > Engine is not capable of picking up information from the hosts.
> 
> No idea why, but not sure it's related to your restore flow.
> 
> > Lessons learned is to always make a copy/snapshot of the engine VM
> > disk before upgrading anything.
> 
> If it's a hosted-engine, this isn't supported - see my reply on the list ~ 1 
> hour
> ago...
> 
> > What are my options on getting
> > back to a working environment ? Any help or hint is greatly appreciated.
> 
> Restore again with either methods - what you tried, or patching engine-
> backup and restore directly into 4.2 - and if the engine fails to talk to the 
> hosts,
> try to debug/fix this.
> 
> If you suspect corruption more severe that just the db, you can install a 
> fresh
> engine machine from scratch and restore to it. If it's a hosted-engine, you'll
> need to deploy hosted-engine from scratch, check docs about hosted-engine
> backup/restore.

Will the setup of hosted engine from scratch require a new storage domain for 
the new engine or can I use the one that is already there ? What about the VMs 
running on my hosts, will they be effected by that ? It might be best to start 
with a fresh VM.

> 
> Best regards,
> --
> Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Hosted-Engine Agent broken

2018-03-16 Thread Sven Achtelik
Hi All,

after upgrading my engine to 4.2 and upgrading my hosts to the latest  versions 
the HA for the hosted engine is not working anymore. The Agent fails with the 
following errors. Did I miss anything while upgrading ? The Engine is still 
running - what would be the correct approach to get the HA services up and 
running ?

ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Traceback (most 
recent call last):
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 
191, in _run_agent
  
return action(he)
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 
64, in action_proper
  
return he.start_monitoring()
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
 line 421, in start_monitoring
  
self._config.refresh_vm_conf()
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 
496, in refresh_vm_conf
  
content_from_ovf = self._get_vm_conf_content_from_ovf_store()
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/env/config.py", line 
438, in _get_vm_conf_content_from_ovf_store
  conf 
= ovf2VmParams.confFromOvf(heovf)
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py",
 line 283, in confFromOvf
  
vmConf = toDict(ovf)
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py",
 line 210, in toDict
  
vmParams['vmId'] = tree.find('Content/Section').attrib[OVF_NS + 'id']
File 
"lxml.etree.pyx", line 2272, in lxml.etree._Attrib.__getitem__ 
(src/lxml/lxml.etree.c:55336)
  KeyError: 
'{http://schemas.dmtf.org/ovf/envelope/1/}id'
ovirt-ha-agent ovirt_hosted_engine_ha.agent.agent.Agent ERROR Trying to restart 
agent
ovirt-ha-agent ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR 
Unable to refresh vm.conf from the shared storage. Has this HE cluster 
correctly reached 3.6 level?

If anyone could give a hint on where to look at would be very helpful.

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


[ovirt-users] Workflow after restoring engine from backup

2018-03-18 Thread Sven Achtelik
Hi All,

I had issue with the storage that hosted my engine vm. The disk got corrupted 
and I needed to restore the engine from a backup. That worked as expected, I 
just didn't start the engine yet. I know that after the backup was taken some 
machines where migrated around before the engine disks failed. My question is 
what will happen once I start the engine service which has the restored backup 
on it ? Will it query the hosts for the running VMs or will it assume that the 
VMs are still on the hosts as they resided at the point of backup ? Would I 
need to change the DB manual to let the engine know where VMs are up at this 
point ? What will happen to HA VMs ? I feel that it might try to start them a 
second time.  My biggest issue is that I can't get a service Windows to 
shutdown all VMs and then lat them restart by the engine.

Is there a known workflow for that ?

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


Re: [ovirt-users] Workflow after restoring engine from backup

2018-03-23 Thread Sven Achtelik
It looks like I can't get a chance to shut down the HA VMs. I check the restore 
log and it did mention that it change the HA-VM entries. Just to make sure I 
looked at the DB and for the vms in question it looks like this.

engine=# select vm_guid,status,vm_host,exit_status,exit_reason from vm_dynamic 
Where vm_guid IN (SELECT vm_guid FROM vm_static WHERE auto_startup='t' AND 
lease_sd_id is NULL);
   vm_guid| status | vm_host | exit_status 
| exit_reason 
--++-+-+-
 8733d4a6-0844--804f-6b919e93e076 |  0 | D  |   2 | 
 -1
 4eeaa622-17f9--b99a-cddb3ad942de |  0 | APP|   2 | 
 -1
 fbbdc0a0-23a4-4d32--a35c59eb790d |  0 | DB0 |   2 |
  -1
 45a4e7ce-19a9-4db9-x-66bd1b9d83af |  0 | xWOR |   2 |  
-1
(4 rows)

Should that be enough to have a safe start of the engine without any HA action 
kicking in. ? 


-Ursprüngliche Nachricht-
Von: Yedidyah Bar David [mailto:d...@redhat.com] 
Gesendet: Montag, 19. März 2018 10:18
An: Sven Achtelik
Cc: users@ovirt.org
Betreff: Re: [ovirt-users] Workflow after restoring engine from backup

On Mon, Mar 19, 2018 at 11:03 AM, Sven Achtelik <sven.achte...@eps.aero> wrote:
> Hi Didi,
>
> my backups where taken with the end. Backup utility. I have 3 Data 
> centers, two of them with just one host and the third one with 3 hosts 
> running the engine.  The backup three days old, was taken on engine 
> version 4.1 (4.1.7) and the restored engine is running on 4.1.9.

Since the bug I mentioned was fixed in 4.1.3, you should be covered.

> I have three HA VMs that would
> be affected. All others are just normal vms. Sounds like it would be 
> the safest to shut down the HA vm S to make sure that nothing happens ?

If you can have downtime, I agree it sounds safer to shutdown the VMs.

> Or can I
> disable the HA action in the DB for now ?

No need to. If you restored with 4.1.9 engine-backup, it should have done this 
for you. If you still have the restore log, you can verify this by checking it. 
It should contain 'Resetting HA VM status', and then the result of the sql that 
it ran.

Best regards,

>
> Thank you,
>
> Sven
>
>
>
> Von meinem Samsung Galaxy Smartphone gesendet.
>
>
>  Ursprüngliche Nachricht 
> Von: Yedidyah Bar David <d...@redhat.com>
> Datum: 19.03.18 07:33 (GMT+01:00)
> An: Sven Achtelik <sven.achte...@eps.aero>
> Cc: users@ovirt.org
> Betreff: Re: [ovirt-users] Workflow after restoring engine from backup
>
> On Sun, Mar 18, 2018 at 11:45 PM, Sven Achtelik 
> <sven.achte...@eps.aero>
> wrote:
>> Hi All,
>>
>>
>>
>> I had issue with the storage that hosted my engine vm. The disk got 
>> corrupted and I needed to restore the engine from a backup.
>
> How did you backup, and how did you restore?
>
> Which version was used for each?
>
>> That worked as
>> expected, I just didn’t start the engine yet.
>
> OK.
>
>> I know that after the backup
>> was taken some machines where migrated around before the engine disks 
>> failed.
>
> Are these machines HA?
>
>> My question is what will happen once I start the engine service which 
>> has the restored backup on it ? Will it query the hosts for the 
>> running VMs
>
> It will, but HA machines are handled differently.
>
> See also:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1441322
> https://bugzilla.redhat.com/show_bug.cgi?id=1446055
>
>> or will it assume that the VMs are still on the hosts as they resided 
>> at the point of backup ?
>
> It does, initially, but then updates status according to what it gets 
> from hosts.
>
> But polling the hosts takes time, especially if you have many, and HA 
> policy might require faster handling. So if it polls first a host that 
> had a machine on it during backup, and sees that it's gone, and didn't 
> yet poll the new host, HA handling starts immediately, which 
> eventually might lead to starting the VM on another host.
>
> To prevent that, the fixes to above bugs make the restore process mark 
> HA VMs that do not have leases on the storage as "dead".
>
>> Would I need to change the DB manual to let the engine know where VMs 
>> are up at this point ?
>
> You might need to, if you have HA VMs and a too-old version of restore.
>
>> What will happen to HA VMs
>> ? I feel that it might try to start them a second time.  My biggest 
>> issue is that I can’t get a service Windows to shutdown all VMs and 
>> then lat them restart by the

Re: [ovirt-users] Workflow after restoring engine from backup

2018-03-19 Thread Sven Achtelik
Hi Didi,

my backups where taken with the end. Backup utility. I have 3 Data centers, two 
of them with just one host and the third one with 3 hosts running the engine.  
The backup three days old, was taken on engine version 4.1 (4.1.7) and the 
restored engine is running on 4.1.9. I have three HA VMs that would be 
affected. All others are just normal vms. Sounds like it would be the safest to 
shut down the HA vm S to make sure that nothing happens ? Or can I disable the 
HA action in the DB for now ?

Thank you,

Sven



Von meinem Samsung Galaxy Smartphone gesendet.


 Ursprüngliche Nachricht 
Von: Yedidyah Bar David <d...@redhat.com>
Datum: 19.03.18 07:33 (GMT+01:00)
An: Sven Achtelik <sven.achte...@eps.aero>
Cc: users@ovirt.org
Betreff: Re: [ovirt-users] Workflow after restoring engine from backup

On Sun, Mar 18, 2018 at 11:45 PM, Sven Achtelik <sven.achte...@eps.aero> wrote:
> Hi All,
>
>
>
> I had issue with the storage that hosted my engine vm. The disk got
> corrupted and I needed to restore the engine from a backup.

How did you backup, and how did you restore?

Which version was used for each?

> That worked as
> expected, I just didn’t start the engine yet.

OK.

> I know that after the backup
> was taken some machines where migrated around before the engine disks
> failed.

Are these machines HA?

> My question is what will happen once I start the engine service
> which has the restored backup on it ? Will it query the hosts for the
> running VMs

It will, but HA machines are handled differently.

See also:

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

> or will it assume that the VMs are still on the hosts as they
> resided at the point of backup ?

It does, initially, but then updates status according to what it
gets from hosts.

But polling the hosts takes time, especially if you have many, and
HA policy might require faster handling. So if it polls first a
host that had a machine on it during backup, and sees that it's
gone, and didn't yet poll the new host, HA handling starts immediately,
which eventually might lead to starting the VM on another host.

To prevent that, the fixes to above bugs make the restore process
mark HA VMs that do not have leases on the storage as "dead".

> Would I need to change the DB manual to let
> the engine know where VMs are up at this point ?

You might need to, if you have HA VMs and a too-old version of restore.

> What will happen to HA VMs
> ? I feel that it might try to start them a second time.  My biggest issue is
> that I can’t get a service Windows to shutdown all VMs and then lat them
> restart by the engine.
>
>
>
> Is there a known workflow for that ?

I am not aware of a tested procedure for handling above if you have
a too-old version, but you can check the patches linked from above bugs
and manually run the SQL command(s) they include. They are essentially
comment 4 of the first bug.

Good luck and best regards,
--
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Re: multiple engines (active passive)

2019-01-21 Thread Sven Achtelik
Hi Alex,

could you share more details on your setup ? I also had issues with restoring 
the engine from a backup and it made me think of running engine not a self 
hosted HA. I don’t have any experience with pacemaker/corrosync and drbd, but 
I’m willing to test and find out how to use these for the engine. I think 
details on your config would provide a good starting point. Of course a working 
backup of any solution is necessary.

Thank you, Sven

Von: Alex McWhirter [mailto:a...@triadic.us]
Gesendet: Dienstag, 15. Januar 2019 02:19
An: maoz zadok 
Cc: mich...@wanderingmad.com; users 
Betreff: [ovirt-users] Re: multiple engines (active passive)


real HA is complicated, no way around that...



As stated earlier, we also run engine bare metal using pacemaker / corosync / 
drbd to keep both nodes in perfect sync, failover happens in a few seconds. We 
also do daily backups of the engine, but in the 4 years or so that we have been 
running ovirt, we have luckily never had to use them with this setup. STONITH 
is pretty important to setup if you are running less than three nodes as the 
engine, just to keep split brain from corrupting everything.



On 2019-01-14 14:16, maoz zadok wrote:
Well, I really love oVirt, but I don't know.. All the solutions mentioned here 
are complicated and or dangerous. Including hosted ha engine that fails while 
deploying(for me). I think that test the backup for recovery is very important 
and need to be done on a regular basis, What good is a backup if you cannot 
restore??  I worked for a whole night trying to recover the failed 
engine...recovery from backup was very painful. does anyone here have a 
solution for testing backups (not in crises mode)?


On Mon, Jan 14, 2019, 20:41 
mailto:mich...@wanderingmad.com> wrote:
I'm still sort of new to ovirt, but I went through a similar things.  I had my 
original engine fail and had to recover, so here is my "oVirt HA plan"

1. I do NOT use hosted ovirt, I had issues getting it deployed correctly, and 
that doesn't help if they engine VM itself has issues.  My engine is hosted on 
a completely separated 2-node hyper-converged Hyper-V Cluster.  Unless you have 
a cluster larger than 3 hosts, I really don't think hosted ovirt is a good 
idea, it would make more sense to just load ovirt on another PC by itself.
2. I plan on loading another copy of ovirt in a "cold storage" configuration.  
Where it will be loaded on centos, and configured as close as I can without 
adding in any hosts.  I'll probably keep it turned off and try to updated it 
once a month or so.
3. If I have another oVirt failure, I know to log in, put the storage domains 
into maintenance mode if possible, and copy out any needed config items i may 
have missed.  I will the shut it off and delete it.  I then will reboot all the 
hosts one at a time to clear out any sanlock issues, then add the hosts to the 
new copy of ovirt and import the storage.  I estimate that process to take 
around 2-4hrs.
___
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/AHD3OABM65FWYMRHBFI6IHRZUE27PVWA/

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



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


[ovirt-users] HowTo trace errors or issues ?

2018-09-14 Thread Sven Achtelik
Hi All,

I would like to understand how to find the point that fails when starting from 
the Event showing in the GUI. With that event I get an correlation ID and how 
would I trace all the following tasks, actions or events that are connected to 
that correlation ID ?

Is it something like CorrelationID -> TaskID -> CommandID or how do things 
connect ?  Is there some documentation I could look at ?

Thank you,
Sven
___
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/VEN6UMFTPMRV6WHGJYRQ5C3FPNTULSLR/


[ovirt-users] Python to retrive the VM-Config from the snapshot

2019-09-10 Thread Sven Achtelik
Hi All,

I'm trying to build a custom solution for Backups using the python. Everything 
works and I can get my disk copies. The last thing is getting the VM config and 
I can't find any hint on how to get this done with python. Is there a way to 
actually get this information out easily ? Somehting like

  *   Grab the wanted vm configuration from the needed snapshot - it'll be 
under initialization/configuration/data
URL = SERVER:PORT/api/vms/VM_ID/snapshots/ID Method = GET  (with 
All-Content:true header)
I also have to mention that I'm not a profession programmer and work with what 
I can find as documentation or code examples.
http://ovirt.github.io/ovirt-engine-sdk/4.1/
https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
If some experienced python programmer could give a hint where to look at that 
would be great.
Thank you,
Sven
___
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/G5ZAPBGVZ7EKYWPXDPIZIKMSBUQBOPWN/


[ovirt-users] Re: Upgrading from oVirt-Node 4.2.8 to latest

2019-10-10 Thread Sven Achtelik
I tried that and the result is that there is nothing to update. In the GUI it 
still shows up as 4.2.8 and running that command I don’t see it reading any 4.3 
repositories.

Von: Edward Berger [mailto:edwber...@gmail.com]
Gesendet: Mittwoch, 9. Oktober 2019 14:46
An: Sven Achtelik 
Cc: users 
Betreff: Re: [ovirt-users] Upgrading from oVirt-Node 4.2.8 to latest

log into the ovirt node, and "yum update ovirt-node-ng-image-update" and reboot.

On Wed, Oct 9, 2019 at 4:51 AM Sven Achtelik 
mailto:sven.achte...@eps.aero>> wrote:
Hi All,

is there a way to go from 4.2.8 on ovirt node to go directly to the latest 
version, without reinstalling the node from the iso file ? I wasn’t able to 
find anything in documentation on how to get this done.

Thanks, Sven
___
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/QEB6VPEPFKLBZZICD7FYB4EM2M4QYOQM/
___
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/QHGHLPQVUMZJWZCFYRWG2B437WSB35EE/


[ovirt-users] Re: Upgrading from oVirt-Node 4.2.8 to latest

2019-10-10 Thread Sven Achtelik
Hi Yuval,
this ist he output for imgbase:

[root@ovirt-node4 /]# imgbase layout
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File "/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 53, in 

CliApplication()
  File "/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in 
CliApplication
app.hooks.emit("post-arg-parse", args)
  File "/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
cb(self.context, *args)
  File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 182, 
in post_argparse
print(layout.dumps())
  File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 210, 
in dumps
return self.app.imgbase.layout()
  File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 155, in 
layout
return self.naming.layout()
  File "/usr/lib/python2.7/site-packages/imgbased/naming.py", line 109, in 
layout
tree = self.tree(lvs)
  File "/usr/lib/python2.7/site-packages/imgbased/naming.py", line 224, in tree
bases[img.base.nvr].layers.append(img)
KeyError: 

Log file is attached – there are issues in it and I didn’t look into the log 
after not seeing any issues on screen directly.

Von: Yuval Turgeman [mailto:yturg...@redhat.com]
Gesendet: Donnerstag, 10. Oktober 2019 10:28
An: Sandro Bonazzola 
Cc: Sven Achtelik ; Nir Levy ; users 

Betreff: [ovirt-users] Re: Upgrading from oVirt-Node 4.2.8 to latest

Sven, assuming you yum installed [1], can you share your imgbased.log file and 
the output for `imgbase layout` ?

[1] 
https://resources.ovirt.org/pub/ovirt-4.3/rpm/el7/noarch/ovirt-node-ng-image-update-4.3.6-1.el7.noarch.rpm

On Thu, Oct 10, 2019 at 11:17 AM Sandro Bonazzola 
mailto:sbona...@redhat.com>> wrote:


Il giorno gio 10 ott 2019 alle ore 09:35 Sven Achtelik 
mailto:sven.achte...@eps.aero>> ha scritto:
Running the command from the docs works without any error messages on the 
output, but in the gui it’s still 4.28 after rebooting. Is there more 
documentation on how to troubleshot the cause for this ?

it's probably a bug on the update flow missing to update a line with the 
version to be displayed but the node should be correctly updated to 4.3.6 after 
completion and reboot.
Adding +Nir Levy<mailto:nl...@redhat.com> and +Yuval 
Turgeman<mailto:yturg...@redhat.com> for investigating on this.




Von: Sandro Bonazzola [mailto:sbona...@redhat.com<mailto:sbona...@redhat.com>]
Gesendet: Donnerstag, 10. Oktober 2019 08:36
An: Sven Achtelik mailto:sven.achte...@eps.aero>>
Cc: users mailto:users@ovirt.org>>
Betreff: Re: [ovirt-users] Upgrading from oVirt-Node 4.2.8 to latest



Il giorno mer 9 ott 2019 alle ore 10:51 Sven Achtelik 
mailto:sven.achte...@eps.aero>> ha scritto:
Hi All,

is there a way to go from 4.2.8 on ovirt node to go directly to the latest 
version, without reinstalling the node from the iso file ? I wasn’t able to 
find anything in documentation on how to get this done.

Please see 
https://ovirt.org/documentation/upgrade-guide/appe-Manually_Updating_Hosts.html


Thanks, Sven
___
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/QEB6VPEPFKLBZZICD7FYB4EM2M4QYOQM/


--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA<https://www.redhat.com/>

sbona...@redhat.com<mailto:sbona...@redhat.com>
[Das Bild wurde vom Absender entfernt.]<https://www.redhat.com/>

Red Hat respects your work life balance. Therefore there is no need to answer 
this email out of your office hours.<https://mojo.redhat.com/docs/DOC-1199578>


--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA<https://www.redhat.com/>

sbona...@redhat.com<mailto:sbona...@redhat.com>
[Das Bild wurde vom Absender entfernt.]<https://www.redhat.com/>

Red Hat respects your work life balance. Therefore there is no need to answer 
this email out of your office hours.<https://mojo.redhat.com/docs/DOC-1199578>


imgbased.log
Description: imgbased.log
___
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/6KCMO6OL25K5YDSYOOYTBVHHS2FNVGA6/


[ovirt-users] Re: Upgrading from oVirt-Node 4.2.8 to latest

2019-10-10 Thread Sven Achtelik
Running the command from the docs works without any error messages on the 
output, but in the gui it’s still 4.28 after rebooting. Is there more 
documentation on how to troubleshot the cause for this ?

Von: Sandro Bonazzola [mailto:sbona...@redhat.com]
Gesendet: Donnerstag, 10. Oktober 2019 08:36
An: Sven Achtelik 
Cc: users 
Betreff: Re: [ovirt-users] Upgrading from oVirt-Node 4.2.8 to latest



Il giorno mer 9 ott 2019 alle ore 10:51 Sven Achtelik 
mailto:sven.achte...@eps.aero>> ha scritto:
Hi All,

is there a way to go from 4.2.8 on ovirt node to go directly to the latest 
version, without reinstalling the node from the iso file ? I wasn’t able to 
find anything in documentation on how to get this done.

Please see 
https://ovirt.org/documentation/upgrade-guide/appe-Manually_Updating_Hosts.html


Thanks, Sven
___
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/QEB6VPEPFKLBZZICD7FYB4EM2M4QYOQM/


--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA<https://www.redhat.com/>

sbona...@redhat.com<mailto:sbona...@redhat.com>
[Das Bild wurde vom Absender entfernt.]<https://www.redhat.com/>

Red Hat respects your work life balance. Therefore there is no need to answer 
this email out of your office hours.<https://mojo.redhat.com/docs/DOC-1199578>
___
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/56FS3LJ2NRXFH2BABOGDPVPJLD46SN3C/


[ovirt-users] Upgrading from oVirt-Node 4.2.8 to latest

2019-10-09 Thread Sven Achtelik
Hi All,

is there a way to go from 4.2.8 on ovirt node to go directly to the latest 
version, without reinstalling the node from the iso file ? I wasn't able to 
find anything in documentation on how to get this done.

Thanks, Sven
___
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/QEB6VPEPFKLBZZICD7FYB4EM2M4QYOQM/


[ovirt-users] Re: Engine/host communication maybe broken

2020-04-06 Thread Sven Achtelik
On the engine VM it looks like this: 

ovirt-engine-dwhd.service   
loaded active running   oVirt Engine Data Warehouse
  ovirt-engine.service  
  loaded active running   oVirt Engine
  ovirt-fence-kdump-listener.service
  loaded active running   oVirt Engine fence_kdump listener
  ovirt-guest-agent.service 
  loaded active running   oVirt Guest Agent
  ovirt-imageio-proxy.service   
  loaded active running   oVirt ImageIO Proxy
  ovirt-vmconsole-proxy-sshd.service
  loaded active running   oVirt VM Console SSH server daemon
  ovirt-websocket-proxy.service 
  loaded active running   oVirt Engine websockets proxy


on all three hosts: 

ovirt-ha-agent.service  
 loaded active running   oVirt Hosted Engine High Availability 
Monitoring Agent
ovirt-ha-broker.service 
 loaded active running   oVirt Hosted Engine High Availability 
Communications Broker
ovirt-imageio-daemon.service
 loaded active running   oVirt ImageIO Daemon
ovirt-vmconsole-host-sshd.service   
 loaded active running   oVirt VM Console SSH server daemon


The thing is that inside of the engine gui I can't do anything, because all 
domains show as down and mostly everything is shown down. Selecting a Master 
domain to start it and get the data center up won't do anything. It will just 
sit there and say it's working on it. Looking at the engine log with tail -f 
doesn’t show any activity going to the hosts. I do have /etc/hosts entries for 
all nodes, so no dns issue.

Also there are still gluster volumes and vms running on those nodes, so I can't 
just restart everything. 


-Ursprüngliche Nachricht-
Von: Randall Wood [mailto:rw...@forcepoint.com] 
Gesendet: Montag, 6. April 2020 16:01
An: users@ovirt.org
Betreff: [ovirt-users] Re: Engine/host communication maybe broken

You might want to look at the status of and the logs for the various oVirt 
services on the hosts. Open a host's console at http://host-ip-or-name:9090, go 
to the Services tab and filter the services for "ovirt".

Please let us know which services and running and which are stopped and if any 
service logs show errors or warnings.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: 
https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6JGCIX2AJZNLFXU24M3JUNYWIZUU66HD/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7EMP3KE7OZJD6AKPHKUTIWA2D5ZCX6LW/


[ovirt-users] Engine/host communication maybe broken

2020-04-06 Thread Sven Achtelik
Hi All,

I'm currently facing a situation which I don't know how to resolve and I don't 
know how that happened. The hosted engine HA part is working fine and the vm 
starts. It's accessible via the gui and that's it. It's showing some hosts 
online and some offline. It looks like it's not communication with the nodes 
anymore to get the latest status or to start task. Is there a cache or 
something that can be cleared on the engine vm to force a connection the the 
nodes ? Or is there a way to analyze if communication is really broken ?

Any ideas how to start from here ?

Thank you,
Sven

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