Re: [ovirt-users] Unable to add storage domains to Node Hosted Engine

2017-05-29 Thread Simone Tiraboschi
On Fri, May 26, 2017 at 1:44 PM, Andy Gibbs  wrote:

> Hi,
>
> I am trying to install a new server with oVirt.  I have previously had
> relatively good success with the all-in-one plugin on oVirt 3.6, but it is
> time to move to newer things and I am trying to get oVirt 4.1 installed on
> a clean platform.
>
> I am unfortunately finding this very difficult and I hope someone here can
> help guide me in the right direction  :o)
>
> My intention is to use oVirt Node as the base OS on the server, install
> Hosted Engine on it and also have the storage domains hosted on it too.
>
> What I have achieved so far is...
>
> 1. Installed oVirt Node 4.1.2, generally using the default configuration
> 2. Changed the performance profile to "virtual-host" inside the web
> interface as per documentation suggestion
> 3. Created a new volume group, pool for thin volumes, and finally an
> XFS-formatted volume that mounts on /srv which will be used for the storage
> domain(s)
> 4. From the console on the node, I have created /srv/ovirt/data and
> /srv/ovirt/iso directories with ownership vdsm:kvm and access rights 0755,
> which I have then added to /etc/exports with the following configuration:
> rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36
> 5. When I install Hosted Engine from the Node web interface, I select NFS4
> for the storage and provide the correct host:/path.  Other than that, and
> setting up static network details and email details, I follow the default
> prompts of the Hosted Engine setup.
>

AFAIK loopback mount an NFS share could lead to deadlocks:
https://lwn.net/Articles/595652/


> 6. The Hosted Engine setup seems to run through to completion, and I get a
> successfully installed message at the end
> 7. I open up the firewall on port 2049 for tcp and udp; this is done
> **after** the engine setup is complete since the setup procedure alters the
> firewall configuration and my modifications otherwise get lost.  I have
> confirmed that it is possible to mount these nfs shares both on the node
> itself and on the engine vm (once it is running).
> 8. I can log into the Hosted Engine web interface.
>
> This is now where I run into problems.
>
> The first problem is that no storage domains are registed, nor can I add
> any.  I get warnings like "The hosted engine storage domain doesn't exist.
> It will be imported automatically upon data center activation, which
> requires adding an initial storage domain to the data center".  However
> attempting to do so gives errors like: "VDSM server.domain command
> CreateStoragePoolVDS failed: Cannot acquire host id:
> (u'fcdee6d8-c6fc-45fb-a60c-1df4b298f75a', SanlockException(22, 'Sanlock
> lockspace add failure', 'Invalid argument'))".  During Hosted Engine setup
> it seems that the /srv/ovirt/data storage domain is created, but I cannot
> import it.  I also tried to create a new storage domain at /srv/ovirt/iso
> and met with similar results: it creates it, but won't attach to it.
>

Up to now the hosted-engine storage domain could simply contain the engine
VM so you need another data storage domain to act as the master storage
domain; when another storage domain is ready, the engine will automatically
import the hosted-engine SD and the engine VM.


>
> The next problem is that I can't restart the server from the Node web
> interface.  Clicking on the "Restart" Power Options button simply causes
> the whole system to hang.  It appears to shut down the Engine VM ok, it
> also terminates all ssh connections, but after that the console screen on
> the server just goes black and sits there.  You can still ping the server
> from the network but can't do anything or see anything.  Fortunately the
> Dell server has a remote console feature that enables me to manually
> restart the server, but this is not ideal at all.  This problem only occurs
> once the Hosted Engine is installed; before this is done, the "Restart"
> button works perfectly.
>
> The final problem is that once the server has restarted, it takes about 10
> minutes before the Node starts the Hosted Engine.  Is this correct?  I
> would have thought that once the Node is up, its first responsibility would
> be to get the Hosted Engine up, but you can see from the dmesg output that
> on average 530 seconds elapses before kvm is started.  Is there anything I
> can do to speed this up?
>

ovirt-ha-agent systemd unit is not going to wait, by design, nfs-server so
it could start before the storage is available and this will cause an extra
delay due to retry on error.
A few minutes (3/4) should be considered acceptable.


>
> Any help would be gratefully received.  Or if anyone knows of a "oVirt for
> Dummies" (TM) style step-by-step installation guide that installed Node,
> Hosted Engine and the storage domains all on one machine, I would love to
> see that!!
>
> Many thanks in advance!
>
> Andy
> ___
> Users mailing list
> Users@ovirt.org

[ovirt-users] no spm node in cluster and unable to start any vm or stopped storage domain

2017-05-29 Thread Moritz Baumann

Hi,
after an upgrade I get the following errors in the web gui:

VDSM ovirt-node01 command SpmStatusVDS failed: (13, 'Sanlock resource 
read failure', 'Permission denied')

VDSM ovirt-node03 command HSMGetAllTasksStatusesVDS failed: Not SPM

These messages happen from all nodes.

I can stop vms and migrate them but I cannot start any vm again

How do I get bet to a sane state where one node is SPM.

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


Re: [ovirt-users] Unable to add storage domains to Node Hosted Engine

2017-05-29 Thread Andy Gibbs
On 29 May 2017 08:22, Sandro Bonazzola wrote:
> Hi, so if I understood correctly, you're trying to work on a single host
> deployment right?
> Or are you just trying to replace the bare metal all-in-one 3.6 in a context
> with more hosts? 
> If this is the case, can you share your use case? I'm asking because for
> single host installations there are other solutions that may fit better than
> oVirt, like virt-manager or kimchi (https://github.com/kimchi-project/kimchi)

Sandro, thank you for your reply.

I hadn't heard about kimchi before.  Virt-manager had been discounted as the 
user interface is not really friendly enough for non-technical people, which is 
important for us.  The simple web interface with oVirt, however, is excellent 
in this regard.

I would say that the primary use-case is this: We want a server which 
individual employees can log into (using their active directory logins), access 
company-wide "public" VMs or create their own private VMs for their own use (if 
permitted).  Users should be able to start and stop the "public" VMs but not be 
able to edit or delete them.  They should only have full control over the VMs 
that they create for themselves.  And very importantly, it should be possible 
to say which users have the ability to create their own VMs.  Nice to have 
would be the ability for users to be able to share their VMs with other users.  
Really nice to have would be a way of detecting whether VMs are in use by 
someone else before opening a console and stealing it away from the current 
user!  (Actually, case in point, the user web interface for oVirt 3.6 always 
starts a console for a VM when the user logs in, if it is the only one running 
on the server and which the user has access to.  I don't know i
 f this is fixed in 4.1, but our work-around is to have a dummy VM that always 
runs and displays a graphic with helpful text for any that see it!  Bit of a 
nuisance, but not too bad.  We never found a way to disable this behaviour.)

We started off some years ago with a server running oVirt 3.4, now running 3.6, 
with the all-in-one plugin and had good success with this.  The hosted engine 
for oVirt 4.1 seemed to be the recommended "upgrade path" -- although we did 
also start with entirely new server hardware.

Ultimately once this first server is set up we will want to convert the old 
server hardware to a second node so that we can balance the load (we have a 
number of very resource-hungry VMs).  This would be our secondary use-case.  
More nodes may follow in future.  However, we don't see the particular need to 
have VMs that migrate from node to node, and each node will most likely have 
its own storage domains for the VMs that run on it.  But to have one central 
web interface for managing the whole lot is a huge advantage.

Coming then to the storage issue that comes up in my original post, we are 
trying to install this first server platform, keeping the node, the hosted 
engine, and the storage all on one physical machine.  We don't (currently) want 
to set up a separate storage server, and don't really see the benefit of doing 
so.  Since my first email, I've actually succeeded in getting the engine to 
recognise the node's storage paths.  However, I'm not sure it really is the 
right way.  The solution I found was to create a third path, /srv/ovirt/engine, 
in addition to the data and iso paths.  The engine gets installed to 
/srv/ovirt/engine and then once the engine is started up, I create a new data 
domain at node:/srv/ovirt/data.  This then adds the new path as the master data 
domain, and then after thinking a bit to itself, suddenly the hosted_storage 
data domain appears, and after a bit more thinking, everything seems to get 
properly registered and works.  I can then also create the ISO storag
 e domain.

Does this seem like a viable solution, or have I achieved something "illegal"?

I am still not having much luck with my other problem(s) to do with restarting 
the server: it still hangs on shutdown and it still takes a very long time 
(about ten minutes) after the node starts for the engine to start.  Any help on 
this would be much appreciated.

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


Re: [ovirt-users] GetStorageDeviceListVDS failed

2017-05-29 Thread Joel Diaz
Good morning,

Any advice on how to remove those  stale device mapper entries?

Thank you,

On Thu, May 25, 2017 at 12:52 PM, Joel Diaz  wrote:

> Sahina,
>
> I believe you're correct regarding the stale devicemapper entries.
>
> Before this started happening, I added a new iscsi storage domain. Host 1
> couldn't communicate with it and the engine kept setting host 1 as
> non-operational. I removed the iscsi domain to get host 1 working again but
> the other two host must still think the iscsi storage is attached.
>
> Below is the ouput from both hosts.
>
> root@ ~]# lvm lvs -a --unit k --nosuffix --nameprefixes --unquoted
> --noheadings -ovg_name,lv_name,lv_uuid,lv_size,lv_attr,segtype
>
>   /dev/mapper/36589cfc00f05aea0f2b50f8d76e5: read failed after 0 of
> 4096 at 0: Input/output error
>
>   /dev/mapper/36589cfc00f05aea0f2b50f8d76e5: read failed after 0 of
> 4096 at 1099511562240: Input/output error
>
>   /dev/mapper/36589cfc00f05aea0f2b50f8d76e5: read failed after 0 of
> 4096 at 1099511619584: Input/output error
>
>   /dev/mapper/36589cfc00f05aea0f2b50f8d76e5: read failed after 0 of
> 4096 at 4096: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/metadata: read failed after 0
> of 4096 at 0: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/metadata: read failed after 0
> of 4096 at 536805376: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/metadata: read failed after 0
> of 4096 at 536862720: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/metadata: read failed after 0
> of 4096 at 4096: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/ids: read failed after 0 of
> 4096 at 0: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/ids: read failed after 0 of
> 4096 at 134152192: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/ids: read failed after 0 of
> 4096 at 134209536: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/ids: read failed after 0 of
> 4096 at 4096: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/leases: read failed after 0
> of 4096 at 0: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/leases: read failed after 0
> of 4096 at 2147418112 <%28214%29%20741-8112>: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/leases: read failed after 0
> of 4096 at 2147475456 <%28214%29%20747-5456>: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/leases: read failed after 0
> of 4096 at 4096: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/outbox: read failed after 0
> of 4096 at 0: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/outbox: read failed after 0
> of 4096 at 134152192: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/outbox: read failed after 0
> of 4096 at 134209536: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/outbox: read failed after 0
> of 4096 at 4096: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/xleases: read failed after 0
> of 4096 at 0: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/xleases: read failed after 0
> of 4096 at 1073676288: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/xleases: read failed after 0
> of 4096 at 1073733632: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/xleases: read failed after 0
> of 4096 at 4096: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/inbox: read failed after 0 of
> 4096 at 0: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/inbox: read failed after 0 of
> 4096 at 134152192: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/inbox: read failed after 0 of
> 4096 at 134209536: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/inbox: read failed after 0 of
> 4096 at 4096: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/master: read failed after 0
> of 4096 at 0: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/master: read failed after 0
> of 4096 at 1073676288: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/master: read failed after 0
> of 4096 at 1073733632: Input/output error
>
>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/master: read failed after 0
> of 4096 at 4096: Input/output error
>
>   /dev/mapper/36589cfc00b8e821765d5febefda2: read failed after 0 of
> 4096 at 0: Input/output error
>
>   /dev/mapper/36589cfc00b8e821765d5febefda2: read failed after 0 of
> 4096 at 536870846464: Input/output error
>
>   /dev/mapper/36589cfc00b8e821765d5febefda2: read failed after 0 of
> 4096 at 536870903808: Input/output error
>
>   /dev/mapper/36589cfc00b8e821765d5febefda2: read failed after 0 of
> 4096 at 4096: Input/output error
>
>   LVM2_VG_NAME=centos_ovirt-hyp-02 LVM2_LV_NAME=home
> 

Re: [ovirt-users] no spm node in cluster and unable to start any vm or stopped storage domain

2017-05-29 Thread Sandro Bonazzola
Adding Nir, can you please have a look?

On Mon, May 29, 2017 at 2:15 PM, Moritz Baumann 
wrote:

> Here is the vdsm.log from one node
>
> Cheers,
> Moritz
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


Re: [ovirt-users] error: hosted engine setup

2017-05-29 Thread ovirt

On 2017-05-29 03:19, Simone Tiraboschi wrote:

Hi,
could you please attach vdsm and hosted-engine-setup log files?

On Mon, May 29, 2017 at 9:15 AM,  wrote:


Trying to complete the hosted engine setup, I get this Error
message:
Failed to execute stage 'Closing up': The VM is not powering up:
please check VDSM logs
Hosted Engine deployment failed: this system is not reliable,
please check the issue,fix and redeploy

I will restart the setup & see if that clears things up.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users [1]




Links:
--
[1] http://lists.ovirt.org/mailman/listinfo/users


I can't re-run the setup since I now have the following errors:

The following VMs have been found: 48190b5d-835c-4417-9f2b-0af51558b594
-Failed to execute stage 'Environment setup': Cannot setup Hosted Engine 
with other VMs running

-Hosted Engine deployment failed
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] error: hosted engine setup

2017-05-29 Thread ovirt

On 2017-05-29 03:19, Simone Tiraboschi wrote:

Hi,
could you please attach vdsm and hosted-engine-setup log files?

On Mon, May 29, 2017 at 9:15 AM,  wrote:


Trying to complete the hosted engine setup, I get this Error
message:
Failed to execute stage 'Closing up': The VM is not powering up:
please check VDSM logs
Hosted Engine deployment failed: this system is not reliable,
please check the issue,fix and redeploy

I will restart the setup & see if that clears things up.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users [1]




Links:
--
[1] http://lists.ovirt.org/mailman/listinfo/users


I can't re-run the setup since I now have the following errors:

The following VMs have been found: 48190b5d-835c-4417-9f2b-0af51558b594
-Failed to execute stage 'Environment setup': Cannot setup Hosted Engine 
with other VMs running

-Hosted Engine deployment failed
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] error: hosted engine setup

2017-05-29 Thread Simone Tiraboschi
It seams that VDSM is not correctly able to crete the managem bridge since
NetworkManager reports an error about
/etc/sysconfig/network-scripts/ifcfg-eth0.bak
Did you manually copied it? could you please move it away?


May 28 23:45:13 ovirt-node1.lab vdsm[13288]: vdsm jsonrpc.JsonRpcServer
ERROR Internal server error
 Traceback (most recent call
last):
   File
"/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 565, in
_handle_request
 res = method(**params)
   File
"/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in
_dynamicMethod
 result = fn(*methodArgs)
   File
"/usr/share/vdsm/API.py", line 1575, in setupNetworks

 supervdsm.getProxy().setupNetworks(networks, bondings, options)
   File
"/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 53, in __call__
 return callMethod()
   File
"/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 51, in 
 **kwargs)
   File "", line 2, in
setupNetworks
   File
"/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod
 raise
convert_to_error(kind, result)
 DBusException:
org.freedesktop.NetworkManager.Settings.InvalidConnection: ifcfg path
'/etc/sysconfig/network-scripts/ifcfg-eth0.bak' is not an ifcfg base file




On Mon, May 29, 2017 at 9:23 AM,  wrote:

> On 2017-05-29 03:19, Simone Tiraboschi wrote:
>
>> Hi,
>> could you please attach vdsm and hosted-engine-setup log files?
>>
>> On Mon, May 29, 2017 at 9:15 AM,  wrote:
>>
>> Trying to complete the hosted engine setup, I get this Error
>>> message:
>>> Failed to execute stage 'Closing up': The VM is not powering up:
>>> please check VDSM logs
>>> Hosted Engine deployment failed: this system is not reliable,
>>> please check the issue,fix and redeploy
>>>
>>> I will restart the setup & see if that clears things up.
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users [1]
>>>
>>
>>
>>
>> Links:
>> --
>> [1] http://lists.ovirt.org/mailman/listinfo/users
>>
>
> I can't re-run the setup since I now have the following errors:
>
> The following VMs have been found: 48190b5d-835c-4417-9f2b-0af51558b594
> -Failed to execute stage 'Environment setup': Cannot setup Hosted Engine
> with other VMs running
> -Hosted Engine deployment failed
>

You could run:
/usr/sbin/ovirt-hosted-engine-cleanup
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] error: hosted engine setup

2017-05-29 Thread ovirt
Per this blog post 
http://www.ovirt.org/blog/2017/04/up-and-running-with-ovirt-4-1-and-gluster-storage/ 
I already deleted "ifcfg-eth0.bak"
The first time I ran the setup, I had an error, so I deleted that file 
on all 3 nodes.


On 2017-05-29 03:39, Simone Tiraboschi wrote:

It seams that VDSM is not correctly able to crete the managem bridge
since NetworkManager reports an error about
/etc/sysconfig/network-scripts/ifcfg-eth0.bak
Did you manually copied it? could you please move it away?

May 28 23:45:13 ovirt-node1.lab vdsm[13288]: vdsm
jsonrpc.JsonRpcServer ERROR Internal server error
 Traceback (most recent
call last):
   File
"/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 565, in
_handle_request
 res =
method(**params)
   File
"/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in
_dynamicMethod
 result =
fn(*methodArgs)
   File
"/usr/share/vdsm/API.py", line 1575, in setupNetworks

supervdsm.getProxy().setupNetworks(networks, bondings, options)
   File
"/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 53, in
__call__
 return callMethod()
   File
"/usr/lib/python2.7/site-packages/vdsm/supervdsm.py", line 51, in

 **kwargs)
   File "", line
2, in setupNetworks
   File
"/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in
_callmethod
 raise
convert_to_error(kind, result)
 DBusException:
org.freedesktop.NetworkManager.Settings.InvalidConnection: ifcfg path
'/etc/sysconfig/network-scripts/ifcfg-eth0.bak' is not an ifcfg base
file

On Mon, May 29, 2017 at 9:23 AM,  wrote:


On 2017-05-29 03:19, Simone Tiraboschi wrote:

Hi,
could you please attach vdsm and hosted-engine-setup log files?

On Mon, May 29, 2017 at 9:15 AM,  wrote:

Trying to complete the hosted engine setup, I get this Error
message:
Failed to execute stage 'Closing up': The VM is not powering up:
please check VDSM logs
Hosted Engine deployment failed: this system is not reliable,
please check the issue,fix and redeploy

I will restart the setup & see if that clears things up.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users [1] [1]

Links:
--
[1] http://lists.ovirt.org/mailman/listinfo/users [1]


I can't re-run the setup since I now have the following errors:

The following VMs have been found:
48190b5d-835c-4417-9f2b-0af51558b594
-Failed to execute stage 'Environment setup': Cannot setup Hosted
Engine with other VMs running
-Hosted Engine deployment failed

You could run:
/usr/sbin/ovirt-hosted-engine-cleanup


Links:
--
[1] 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
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 
Cc: Oved Ourfali ; 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  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 
> Cc: Oved Ourfali ; 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  
> 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 ; Oved Ourfali 
>> 
>> 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 
>> Cc: Sven Achtelik ; 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  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 
>>> 
>>> 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] Nested KVM for oVirt 4.1.2

2017-05-29 Thread Sandro Bonazzola
On Mon, May 29, 2017 at 12:12 AM,  wrote:

> http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-
> with-nested-kvm/
>
> I have one CentOS7 host (physical) & 3x oVirt nodes 4.1.2 (these are vm's).
>

Hi, can you please share the use case for this setup?




> I have installed vdsm-hook-nestedvm on the host.
>
> Should I install vdsm-hook-macspoof on the 3x node vm's?
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

TRIED. TESTED. TRUSTED. 
___
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 ; Oved Ourfali 

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 
Cc: Sven Achtelik ; 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  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 
> 
> 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 
Cc: Oved Ourfali ; 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  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 ; Oved Ourfali 
> 
> 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 
> Cc: Sven Achtelik ; 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  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 
>> 
>> 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 Piotr Kliczewski
Sven,

Which version of ovirt-engine do you use?

Thanks,
Piotr

On Mon, May 29, 2017 at 10:26 AM, Sven Achtelik  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 ; Oved Ourfali 
> 
> 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 
> Cc: Sven Achtelik ; 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  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
>> 
>> 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 Piotr Kliczewski
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  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 
> Cc: Oved Ourfali ; 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  
> 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 ; Oved Ourfali
>> 
>> 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 
>> Cc: Sven Achtelik ; 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  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
>>> 
>>> 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] Nested KVM for oVirt 4.1.2

2017-05-29 Thread ovirt

For now, it is just for me to learn.
If I like the solution, I will then build a POC with "real" hardware 
(which I already have).

Then I can deploy at my colo for clients.


On 2017-05-29 04:13, Sandro Bonazzola wrote:

On Mon, May 29, 2017 at 12:12 AM,  wrote:




http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[1]

I have one CentOS7 host (physical) & 3x oVirt nodes 4.1.2 (these are
vm's).


Hi, can you please share the use case for this setup?


I have installed vdsm-hook-nestedvm on the host.

Should I install vdsm-hook-macspoof on the 3x node vm's?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users [2]


--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA [3]

 [4]

TRIED. TESTED. TRUSTED. [5]



Links:
--
[1] 
http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[2] http://lists.ovirt.org/mailman/listinfo/users
[3] https://www.redhat.com/
[4] https://red.ht/sig
[5] https://redhat.com/trusted

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


Re: [ovirt-users] Nested KVM for oVirt 4.1.2

2017-05-29 Thread ovirt

I assume people are using oVirt in production?

On 2017-05-29 04:13, Sandro Bonazzola wrote:

On Mon, May 29, 2017 at 12:12 AM,  wrote:




http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[1]

I have one CentOS7 host (physical) & 3x oVirt nodes 4.1.2 (these are
vm's).


Hi, can you please share the use case for this setup?


I have installed vdsm-hook-nestedvm on the host.

Should I install vdsm-hook-macspoof on the 3x node vm's?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users [2]


--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA [3]

 [4]

TRIED. TESTED. TRUSTED. [5]



Links:
--
[1] 
http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[2] http://lists.ovirt.org/mailman/listinfo/users
[3] https://www.redhat.com/
[4] https://red.ht/sig
[5] https://redhat.com/trusted

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


Re: [ovirt-users] Unable to add storage domains to Node Hosted Engine

2017-05-29 Thread Sandro Bonazzola
On Fri, May 26, 2017 at 1:44 PM, Andy Gibbs  wrote:

> Hi,
>
> I am trying to install a new server with oVirt.  I have previously had
> relatively good success with the all-in-one plugin on oVirt 3.6, but it is
> time to move to newer things and I am trying to get oVirt 4.1 installed on
> a clean platform.
>
> I am unfortunately finding this very difficult and I hope someone here can
> help guide me in the right direction  :o)
>
> My intention is to use oVirt Node as the base OS on the server, install
> Hosted Engine on it and also have the storage domains hosted on it too.
>
> What I have achieved so far is...
>
> 1. Installed oVirt Node 4.1.2, generally using the default configuration
> 2. Changed the performance profile to "virtual-host" inside the web
> interface as per documentation suggestion
> 3. Created a new volume group, pool for thin volumes, and finally an
> XFS-formatted volume that mounts on /srv which will be used for the storage
> domain(s)
> 4. From the console on the node, I have created /srv/ovirt/data and
> /srv/ovirt/iso directories with ownership vdsm:kvm and access rights 0755,
> which I have then added to /etc/exports with the following configuration:
> rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36
> 5. When I install Hosted Engine from the Node web interface, I select NFS4
> for the storage and provide the correct host:/path.  Other than that, and
> setting up static network details and email details, I follow the default
> prompts of the Hosted Engine setup.
> 6. The Hosted Engine setup seems to run through to completion, and I get a
> successfully installed message at the end
> 7. I open up the firewall on port 2049 for tcp and udp; this is done
> **after** the engine setup is complete since the setup procedure alters the
> firewall configuration and my modifications otherwise get lost.  I have
> confirmed that it is possible to mount these nfs shares both on the node
> itself and on the engine vm (once it is running).
> 8. I can log into the Hosted Engine web interface.
>
> This is now where I run into problems.
>
> The first problem is that no storage domains are registed, nor can I add
> any.  I get warnings like "The hosted engine storage domain doesn't exist.
> It will be imported automatically upon data center activation, which
> requires adding an initial storage domain to the data center".  However
> attempting to do so gives errors like: "VDSM server.domain command
> CreateStoragePoolVDS failed: Cannot acquire host id:
> (u'fcdee6d8-c6fc-45fb-a60c-1df4b298f75a', SanlockException(22, 'Sanlock
> lockspace add failure', 'Invalid argument'))".  During Hosted Engine setup
> it seems that the /srv/ovirt/data storage domain is created, but I cannot
> import it.  I also tried to create a new storage domain at /srv/ovirt/iso
> and met with similar results: it creates it, but won't attach to it.
>
> The next problem is that I can't restart the server from the Node web
> interface.  Clicking on the "Restart" Power Options button simply causes
> the whole system to hang.  It appears to shut down the Engine VM ok, it
> also terminates all ssh connections, but after that the console screen on
> the server just goes black and sits there.  You can still ping the server
> from the network but can't do anything or see anything.  Fortunately the
> Dell server has a remote console feature that enables me to manually
> restart the server, but this is not ideal at all.  This problem only occurs
> once the Hosted Engine is installed; before this is done, the "Restart"
> button works perfectly.
>
> The final problem is that once the server has restarted, it takes about 10
> minutes before the Node starts the Hosted Engine.  Is this correct?  I
> would have thought that once the Node is up, its first responsibility would
> be to get the Hosted Engine up, but you can see from the dmesg output that
> on average 530 seconds elapses before kvm is started.  Is there anything I
> can do to speed this up?
>
> Any help would be gratefully received.  Or if anyone knows of a "oVirt for
> Dummies" (TM) style step-by-step installation guide that installed Node,
> Hosted Engine and the storage domains all on one machine, I would love to
> see that!!
>

Hi, so if I understood correctly, you're trying to work on a single host
deployment right?
Or are you just trying to replace the bare metal all-in-one 3.6 in a
context with more hosts?
If this is the case, can you share your use case? I'm asking because for
single host installations there are other solutions that may fit better
than oVirt, like virt-manager or kimchi (
https://github.com/kimchi-project/kimchi )






>
> Many thanks in advance!
>
> Andy
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

Re: [ovirt-users] Nested KVM for oVirt 4.1.2

2017-05-29 Thread Sandro Bonazzola
On Mon, May 29, 2017 at 10:21 AM,  wrote:

> I assume people are using oVirt in production?


Sure, I was just wondering why you were running in nested virtualization :-)
Being your use case a "playground" environment, I can suggest you to have a
look at Lago http://lago.readthedocs.io/en/stable/
and at Lago demo at https://github.com/lago-project/lago-demo
to help you preparing an isolated test environment for your learning.




>
>
> On 2017-05-29 04:13, Sandro Bonazzola wrote:
>
>> On Mon, May 29, 2017 at 12:12 AM,  wrote:
>>
>>
>>> http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-
>> with-nested-kvm/
>>
>>> [1]
>>>
>>> I have one CentOS7 host (physical) & 3x oVirt nodes 4.1.2 (these are
>>> vm's).
>>>
>>
>> Hi, can you please share the use case for this setup?
>>
>> I have installed vdsm-hook-nestedvm on the host.
>>>
>>> Should I install vdsm-hook-macspoof on the 3x node vm's?
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users [2]
>>>
>>
>> --
>>
>> SANDRO BONAZZOLA
>>
>> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R
>>
>> Red Hat EMEA [3]
>>
>>  [4]
>>
>> TRIED. TESTED. TRUSTED. [5]
>>
>>
>>
>> Links:
>> --
>> [1] http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-
>> with-nested-kvm/
>> [2] http://lists.ovirt.org/mailman/listinfo/users
>> [3] https://www.redhat.com/
>> [4] https://red.ht/sig
>> [5] https://redhat.com/trusted
>>
>


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


Re: [ovirt-users] Nested KVM for oVirt 4.1.2

2017-05-29 Thread ovirt

Thank you for the link.
I will definitely check it out.

On 2017-05-29 04:33, Sandro Bonazzola wrote:

On Mon, May 29, 2017 at 10:21 AM,  wrote:


I assume people are using oVirt in production?


Sure, I was just wondering why you were running in nested
virtualization :-)
Being your use case a "playground" environment, I can suggest you to
have a look at Lago http://lago.readthedocs.io/en/stable/
and at Lago demo at https://github.com/lago-project/lago-demo
to help you preparing an isolated test environment for your learning.


On 2017-05-29 04:13, Sandro Bonazzola wrote:
On Mon, May 29, 2017 at 12:12 AM,  wrote:






http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[1]
[1]

I have one CentOS7 host (physical) & 3x oVirt nodes 4.1.2 (these are
vm's).

Hi, can you please share the use case for this setup?

I have installed vdsm-hook-nestedvm on the host.

Should I install vdsm-hook-macspoof on the 3x node vm's?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users [2] [2]

--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA [3]

[4]

TRIED. TESTED. TRUSTED. [5]

Links:
--
[1]


http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[1]
[2] http://lists.ovirt.org/mailman/listinfo/users [2]
[3] https://www.redhat.com/
[4] https://red.ht/sig
[5] https://redhat.com/trusted


--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA [3]

 [4]

TRIED. TESTED. TRUSTED. [5]



Links:
--
[1] 
http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[2] http://lists.ovirt.org/mailman/listinfo/users
[3] https://www.redhat.com/
[4] https://red.ht/sig
[5] https://redhat.com/trusted

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


Re: [ovirt-users] vm has been paused due to unknown storage

2017-05-29 Thread Krutika Dhananjay
Hi,

Could you share your volume-info output and also the brick logs?

-Krutika

On Fri, May 26, 2017 at 4:57 PM,  wrote:

> Hi,
>
> I updated glusterfs:
> glusterfs-client-xlators-3.8.12-1.el7.x86_64
> glusterfs-cli-3.8.12-1.el7.x86_64
> glusterfs-api-3.8.12-1.el7.x86_64
> glusterfs-fuse-3.8.12-1.el7.x86_64
> glusterfs-server-3.8.12-1.el7.x86_64
> glusterfs-libs-3.8.12-1.el7.x86_64
> glusterfs-3.8.12-1.el7.x86_64
>
> Now I cannot add a volume disk preallocated, after a while it breaks.
>
> message log:
> May 26 11:18:16 node journal: vdsm root ERROR VM metrics collection
> failed#012Traceback (most recent call last):#012  File
> "/usr/lib/python2.7/site-packages/vdsm/virt/vmstats.py", line 221, in
> send_metrics#012diskinfo['readOps']#012KeyError: 'readOps'
>
> vdsm.log
> 2017-05-26 11:18:16,715+0100 ERROR (periodic/3) [root] VM metrics
> collection failed (vmstats:264)
> 2017-05-26 11:19:39,369+0100 ERROR (tasks/5) [storage.Volume] Unexpected
> error (fileVolume:456)
> 2017-05-26 11:19:39,373+0100 ERROR (tasks/5) [storage.Volume] Unexpected
> error (volume:1107)
> 2017-05-26 11:19:39,374+0100 ERROR (tasks/5) [storage.TaskManager.Task]
> (Task='5b2adb9a-e24e-48fa-9f01-f21c23588aef') Unexpected error (task:870)
>
> glusterfs
> [2017-05-26 10:53:08.247219] W [MSGID: 114031] 
> [client-rpc-fops.c:2933:client3_3_lookup_cbk]
> 0-gv2-client-0: remote operation failed. Path: 
> /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.164
> (----) [No data available]
> [2017-05-26 10:53:14.899499] W [MSGID: 114031] 
> [client-rpc-fops.c:2933:client3_3_lookup_cbk]
> 0-gv2-client-0: remote operation failed. Path: 
> /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.167
> (----) [No data available]
> [2017-05-26 10:53:14.899526] E [MSGID: 133010] 
> [shard.c:1725:shard_common_lookup_shards_cbk]
> 0-gv2-shard: Lookup on shard 167 failed. Base file gfid =
> 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data available]
> [2017-05-26 10:53:19.712567] W [MSGID: 114031] 
> [client-rpc-fops.c:2933:client3_3_lookup_cbk]
> 0-gv2-client-0: remote operation failed. Path: 
> /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.169
> (----) [No data available]
> [2017-05-26 10:53:19.712614] E [MSGID: 133010] 
> [shard.c:1725:shard_common_lookup_shards_cbk]
> 0-gv2-shard: Lookup on shard 169 failed. Base file gfid =
> 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data available]
> [2017-05-26 10:53:29.419317] W [MSGID: 114031] 
> [client-rpc-fops.c:2933:client3_3_lookup_cbk]
> 0-gv2-client-0: remote operation failed. Path: 
> /.shard/55b94942-dee5-4f69-8b0f-52e251ac6f5e.173
> (----) [No data available]
> [2017-05-26 10:53:29.419369] E [MSGID: 133010] 
> [shard.c:1725:shard_common_lookup_shards_cbk]
> 0-gv2-shard: Lookup on shard 173 failed. Base file gfid =
> 55b94942-dee5-4f69-8b0f-52e251ac6f5e [No data available]
>
>
> thanks
>
> --
> *De: *"Sahina Bose" 
> *Para: *supo...@logicworks.pt, "Krutika Dhananjay" 
> *Cc: *"ovirt users" 
> *Enviadas: *Quinta-feira, 25 De Maio de 2017 7:12:40
> *Assunto: *Re: [ovirt-users] vm has been paused due to unknown storage
>
> The glusterfs logs contain below errors:
> [2017-05-22 18:12:50.941883] E [MSGID: 133010] 
> [shard.c:1725:shard_common_lookup_shards_cbk]
> 0-gv2-shard: Lookup on shard 50 failed. Base file gfid =
> 33f1fe3e-c626-49f2-861e-2259c972931d [No data available]
> [2017-05-22 18:12:50.945085] W [fuse-bridge.c:1291:fuse_err_cbk]
> 0-glusterfs-fuse: 61306713: FSYNC() ERR => -1 (No data available)
>
> Krutika, could you take a look?
>
> On Thu, May 25, 2017 at 1:02 AM,  wrote:
>
>> Hi,
>>
>> I setup an ovirt hosted enine, in only one server with local gluster
>> bricks.
>>
>> When running a MS SQL 2012 process to rebuild a data base, which take
>> around 4 hours, after a while the VM is paused with the error:
>>
>> vm has been paused due to unknown storage
>>
>> The VM disk is in Thin provision
>>
>> Ovirt and gluter versions:
>>
>> Version 4.1.1.8-1.el7.centos
>>
>> glusterfs-cli-3.8.11-1.el7.x86_64
>> glusterfs-libs-3.8.11-1.el7.x86_64
>> glusterfs-3.8.11-1.el7.x86_64
>> glusterfs-client-xlators-3.8.11-1.el7.x86_64
>> glusterfs-fuse-3.8.11-1.el7.x86_64
>> glusterfs-api-3.8.11-1.el7.x86_64
>> glusterfs-server-3.8.11-1.el7.x86_64
>>
>>
>> I can find the reason why
>> The logs are attached.
>>
>> Any idea?
>>
>> Thanks
>>
>> --
>> --
>> Jose Ferradeira
>> http://www.logicworks.pt
>>
>> ___
>> 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] Building oVirt engine on Debian

2017-05-29 Thread Yedidyah Bar David
On Mon, May 29, 2017 at 6:52 AM, Leni Kadali Mutungi
 wrote:
> I have read what is in the README.adoc and done all of it.
> Unfortunately, even with BUILD_ALL_USER_AGENTS=0, my computer would
> still freeze. I had to opt to not build the gwt ui instead. I hope
> it's not too important :P.

It is, eventually, but if you do manage to build without it, then it's
a good step forward, and it most likely means you do need more memory.
I suggest opening a new thread about this specifically, perhaps even
one here (ask what developers are using) and one on infra (ask what CI
uses when building release builds).

If it turns out that at least some people use similar hardware without
problems, it might indeed be an issue specific to your environment -
kernel, swap etc configuration, jdk/jvm, etc.

If possible it might make sense to try an identical build on a centos7
VM just to see it's not a hardware problem (although I can't think of
anything that will trigger such a problem).

>
> Build went on fine. Ran into this issue:
>
> install: cannot create regular file
> '/usr/local/etc/logrotate.d/ovirt-engine-setup': Permission denied
> install: cannot create regular file
> '/usr/local/etc/logrotate.d/ovirt-engine-notifier': Permission denied
> install: cannot create regular file
> '/usr/local/etc/logrotate.d/ovirt-engine': Permission denied
> Makefile:301: recipe for target 'copy-recursive' failed
> make[2]: *** [copy-recursive] Error 1
> make[2]: Leaving directory '/home/user/ovirt-engine'
> Makefile:420: recipe for target 'install-packaging-files' failed
> make[1]: *** [install-packaging-files] Error 2
> make[1]: Leaving directory '/home/user/ovirt-engine'
> Makefile:521: recipe for target 'install-dev' failed
> make: *** [install-dev] Error 2
>
> So usually I'd solve this by running as root, but since you've advised
> against it, what should I do to give the normal user permission to run
> this operation since the folder is owned by root and the group is
> staff? My looking through other responses to similar situations
> indicates to me that giving the non-root user access to this folder
> isn't recommended. What would be the best solution in my case?

I guess most if not all developers simply use PREFIX that points at a
writable place - ~/my-ovirt-engine or something like that. That's
mentioned in the readme, and also in:

http://www.ovirt.org/develop/developer-guide/engine/engine-development-environment/

Best,

>
> --
> - Warm regards
> Leni Kadali Mutungi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Building oVirt engine on Debian

2017-05-29 Thread Yedidyah Bar David
On Mon, May 29, 2017 at 9:32 AM, Yedidyah Bar David  wrote:
> On Mon, May 29, 2017 at 6:52 AM, Leni Kadali Mutungi
>  wrote:
>> I have read what is in the README.adoc and done all of it.
>> Unfortunately, even with BUILD_ALL_USER_AGENTS=0, my computer would
>> still freeze. I had to opt to not build the gwt ui instead. I hope
>> it's not too important :P.
>
> It is, eventually, but if you do manage to build without it, then it's
> a good step forward, and it most likely means you do need more memory.
> I suggest opening a new thread about this specifically, perhaps even
> one here

Or perhaps on de...@ovirt.org.

> (ask what developers are using) and one on infra (ask what CI
> uses when building release builds).
>
> If it turns out that at least some people use similar hardware without
> problems, it might indeed be an issue specific to your environment -
> kernel, swap etc configuration, jdk/jvm, etc.
>
> If possible it might make sense to try an identical build on a centos7
> VM just to see it's not a hardware problem (although I can't think of
> anything that will trigger such a problem).
>
>>
>> Build went on fine. Ran into this issue:
>>
>> install: cannot create regular file
>> '/usr/local/etc/logrotate.d/ovirt-engine-setup': Permission denied
>> install: cannot create regular file
>> '/usr/local/etc/logrotate.d/ovirt-engine-notifier': Permission denied
>> install: cannot create regular file
>> '/usr/local/etc/logrotate.d/ovirt-engine': Permission denied
>> Makefile:301: recipe for target 'copy-recursive' failed
>> make[2]: *** [copy-recursive] Error 1
>> make[2]: Leaving directory '/home/user/ovirt-engine'
>> Makefile:420: recipe for target 'install-packaging-files' failed
>> make[1]: *** [install-packaging-files] Error 2
>> make[1]: Leaving directory '/home/user/ovirt-engine'
>> Makefile:521: recipe for target 'install-dev' failed
>> make: *** [install-dev] Error 2
>>
>> So usually I'd solve this by running as root, but since you've advised
>> against it, what should I do to give the normal user permission to run
>> this operation since the folder is owned by root and the group is
>> staff? My looking through other responses to similar situations
>> indicates to me that giving the non-root user access to this folder
>> isn't recommended. What would be the best solution in my case?
>
> I guess most if not all developers simply use PREFIX that points at a
> writable place - ~/my-ovirt-engine or something like that. That's
> mentioned in the readme, and also in:
>
> http://www.ovirt.org/develop/developer-guide/engine/engine-development-environment/
>
> Best,
>
>>
>> --
>> - Warm regards
>> Leni Kadali Mutungi
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> --
> Didi



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


Re: [ovirt-users] error: hosted engine setup

2017-05-29 Thread Simone Tiraboschi
Hi,
could you please attach vdsm and hosted-engine-setup log files?

On Mon, May 29, 2017 at 9:15 AM,  wrote:

> Trying to complete the hosted engine setup, I get this Error message:
>  Failed to execute stage 'Closing up': The VM is not powering up: please
> check VDSM logs
>  Hosted Engine deployment failed: this system is not reliable, please
> check the issue,fix and redeploy
>
> I will restart the setup & see if that clears things up.
> ___
> 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] error: hosted engine setup

2017-05-29 Thread ovirt

Trying to complete the hosted engine setup, I get this Error message:
 Failed to execute stage 'Closing up': The VM is not powering up: please 
check VDSM logs
 Hosted Engine deployment failed: this system is not reliable, please 
check the issue,fix and redeploy


I will restart the setup & see if that clears things up.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt Hosted-Engine VM iptables

2017-05-29 Thread Andrew Dent

Hi

I would like to add rules into the iptables of the Hosted Engine VM in 
Ovirt.
I am wanting to monitor the Ovirt Engine using Nagios -> NRPE and I 
would like to open port 5666


the version is oVirt Engine Version: 4.1.1.8-1.el7.centos
I have tried using the normal process for iptables (iptables-save etc), 
but it seems that the file

/etc/sysconfig/iptables
is ignored when the Ovirt Engine VM starts.

How can I add permanent iptables rules into the Engine VM?

Kind regards



Andrew

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


Re: [ovirt-users] KVM Import with Thin Provisioning

2017-05-29 Thread Tomas Jelinek
On Fri, May 26, 2017 at 9:09 PM, Alan Griffiths 
wrote:

> Hi,
>
> I don't seem to be able create thin provision disks when importing from
> KVM. Once import is complete the disk allocation policy is reported as
> thin, but the actual size is in fact slightly larger than the virtual size.
>
> For example, original qcow2 file size - 6G. Virtual size - 1024G. Imported
> actual size (according to Engine GUI) 1126G.
>
> Is this a known issue?
>

yes, this is a known issue. The fix depends on
https://bugzilla.redhat.com/show_bug.cgi?id=1332019 which will be available
only for oVirt 4.2 when we will able to consume it.

But in order to not to forget about it, could you please open a bug about
your issue?


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


Re: [ovirt-users] Ovirt Hosted-Engine VM iptables

2017-05-29 Thread Yedidyah Bar David
On Mon, May 29, 2017 at 1:14 PM, Andrew Dent  wrote:
> Hi
>
> I would like to add rules into the iptables of the Hosted Engine VM in
> Ovirt.
> I am wanting to monitor the Ovirt Engine using Nagios -> NRPE and I would
> like to open port 5666
>
> the version is oVirt Engine Version: 4.1.1.8-1.el7.centos
> I have tried using the normal process for iptables (iptables-save etc), but
> it seems that the file
> /etc/sysconfig/iptables
> is ignored when the Ovirt Engine VM starts.

What do you mean in "ignored"?

What's the output of 'iptables-save'?

Did you ask to configure the firewall during engine-setup?

>
> How can I add permanent iptables rules into the Engine VM?

On the engine vm (unlike hosts), the only thing that touches iptables
is engine-setup. Before doing that it asks you if you want to configure
the firewall. There aren't currently means to add your custom rules -
either you manage it all by yourself or you let engine-setup do that.

Alternatively, it's recommended to use firewalld. engine-setup can
add to firewalld the stuff it wants, and you still can add your own
stuff.

If I got you wrong and you refer to the hosts (not engine), see also:

https://www.ovirt.org/blog/2016/12/extension-iptables-rules-oVirt-hosts/

Best,

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



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


Re: [ovirt-users] Ovirt Hosted-Engine VM iptables

2017-05-29 Thread Andrew Dent

I can add a rule into ipdates such as this
iptables -I INPUT -s 192.168.0.10 -p tcp -m tcp --dport 5666 -j ACCEPT
I can see the addition has succeeded with this
iptables-save > /etc/sysconfig/iptables

But a reboot of the Engine VM (not the Host) doesn't keep the new rule, 
and I was expecting that during bootup CentOS would read from 
/etc/sysconfig/iptables.

Alas it isn't.

Found a solution.
After reading this
https://stackoverflow.com/questions/24756240/how-can-i-use-iptables-on-centos-7
I installed iptables-services
But once installed I found that iptables -L showed no rules.
thankfully I still had the default hosted-engine rules in 
/etc/sysconfig/iptables

iptables-restore < /etc/sysconfig/iptables
Then.
service iptables save
restored the default hosted-engine rules including my rule for 5666.

Rebooting the hosted-engine VM and my rule 5666 for NRPE is still there.
Success!!

To answer your other questions

> Did you ask to configure the firewall during engine-setup?
Yes.
Looks like it setup firewalld for me.

> Alternatively, it's recommended to use firewalld.
For the moment I have disabled firewalld and are using iptablesIs 
there a reason why firewalld is preferred over iptables?


Kind regards

Andrew

-- Original Message --
From: "Yedidyah Bar David" 
To: "Andrew Dent" 
Cc: "users" 
Sent: 29/05/2017 9:26:23 PM
Subject: Re: [ovirt-users] Ovirt Hosted-Engine VM iptables

On Mon, May 29, 2017 at 1:14 PM, Andrew Dent  
wrote:

 Hi

 I would like to add rules into the iptables of the Hosted Engine VM 
in

 Ovirt.
 I am wanting to monitor the Ovirt Engine using Nagios -> NRPE and I 
would

 like to open port 5666

 the version is oVirt Engine Version: 4.1.1.8-1.el7.centos
 I have tried using the normal process for iptables (iptables-save 
etc), but

 it seems that the file
 /etc/sysconfig/iptables
 is ignored when the Ovirt Engine VM starts.


What do you mean in "ignored"?

What's the output of 'iptables-save'?

Did you ask to configure the firewall during engine-setup?



 How can I add permanent iptables rules into the Engine VM?


On the engine vm (unlike hosts), the only thing that touches iptables
is engine-setup. Before doing that it asks you if you want to configure
the firewall. There aren't currently means to add your custom rules -
either you manage it all by yourself or you let engine-setup do that.

Alternatively, it's recommended to use firewalld. engine-setup can
add to firewalld the stuff it wants, and you still can add your own
stuff.

If I got you wrong and you refer to the hosts (not engine), see also:

https://www.ovirt.org/blog/2016/12/extension-iptables-rules-oVirt-hosts/

Best,



 Kind regards


 Andrew



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





--
Didi


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


Re: [ovirt-users] Nested KVM for oVirt 4.1.2

2017-05-29 Thread ovirt

Sandro,
If & when one decides to "graduate" & use real hardware, what is the 
install process?

Is the gluster part still automated or that has to be done manually?

Another question, what type of use cases & jobs is oVirt being deployed 
in & how are people getting tech support?


On 2017-05-29 04:33, Sandro Bonazzola wrote:

On Mon, May 29, 2017 at 10:21 AM,  wrote:


I assume people are using oVirt in production?


Sure, I was just wondering why you were running in nested
virtualization :-)
Being your use case a "playground" environment, I can suggest you to
have a look at Lago http://lago.readthedocs.io/en/stable/
and at Lago demo at https://github.com/lago-project/lago-demo
to help you preparing an isolated test environment for your learning.


On 2017-05-29 04:13, Sandro Bonazzola wrote:
On Mon, May 29, 2017 at 12:12 AM,  wrote:



http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[1]
[1]

I have one CentOS7 host (physical) & 3x oVirt nodes 4.1.2 (these are
vm's).

Hi, can you please share the use case for this setup?

I have installed vdsm-hook-nestedvm on the host.

Should I install vdsm-hook-macspoof on the 3x node vm's?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users [2] [2]

--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA [3]

[4]

TRIED. TESTED. TRUSTED. [5]

Links:
--
[1]


http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[1]
[2] http://lists.ovirt.org/mailman/listinfo/users [2]
[3] https://www.redhat.com/
[4] https://red.ht/sig
[5] https://redhat.com/trusted


--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA [3]

 [4]

TRIED. TESTED. TRUSTED. [5]



Links:
--
[1] 
http://community.redhat.com/blog/2013/08/testing-ovirt-3-3-with-nested-kvm/

[2] http://lists.ovirt.org/mailman/listinfo/users
[3] https://www.redhat.com/
[4] https://red.ht/sig
[5] https://redhat.com/trusted

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


Re: [ovirt-users] GetStorageDeviceListVDS failed

2017-05-29 Thread Sahina Bose
I'm not an lvm expert, a quick search indicates either reboot or using
dmsetup to clear the entries

Alternately, you can check on https://www.redhat.com/archives/linux-lvm/ or
ask on the list.

On Mon, May 29, 2017 at 10:03 PM, Joel Diaz  wrote:

> Good morning,
>
> Any advice on how to remove those  stale device mapper entries?
>
> Thank you,
>
> On Thu, May 25, 2017 at 12:52 PM, Joel Diaz  wrote:
>
>> Sahina,
>>
>> I believe you're correct regarding the stale devicemapper entries.
>>
>> Before this started happening, I added a new iscsi storage domain. Host 1
>> couldn't communicate with it and the engine kept setting host 1 as
>> non-operational. I removed the iscsi domain to get host 1 working again but
>> the other two host must still think the iscsi storage is attached.
>>
>> Below is the ouput from both hosts.
>>
>> root@ ~]# lvm lvs -a --unit k --nosuffix --nameprefixes
>> --unquoted --noheadings -ovg_name,lv_name,lv_uuid,lv_size,lv_attr,segtype
>>
>>   /dev/mapper/36589cfc00f05aea0f2b50f8d76e5: read failed after 0 of
>> 4096 at 0: Input/output error
>>
>>   /dev/mapper/36589cfc00f05aea0f2b50f8d76e5: read failed after 0 of
>> 4096 at 1099511562240: Input/output error
>>
>>   /dev/mapper/36589cfc00f05aea0f2b50f8d76e5: read failed after 0 of
>> 4096 at 1099511619584: Input/output error
>>
>>   /dev/mapper/36589cfc00f05aea0f2b50f8d76e5: read failed after 0 of
>> 4096 at 4096: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/metadata: read failed after
>> 0 of 4096 at 0: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/metadata: read failed after
>> 0 of 4096 at 536805376: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/metadata: read failed after
>> 0 of 4096 at 536862720: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/metadata: read failed after
>> 0 of 4096 at 4096: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/ids: read failed after 0 of
>> 4096 at 0: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/ids: read failed after 0 of
>> 4096 at 134152192: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/ids: read failed after 0 of
>> 4096 at 134209536: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/ids: read failed after 0 of
>> 4096 at 4096: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/leases: read failed after 0
>> of 4096 at 0: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/leases: read failed after 0
>> of 4096 at 2147418112 <%28214%29%20741-8112>: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/leases: read failed after 0
>> of 4096 at 2147475456 <%28214%29%20747-5456>: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/leases: read failed after 0
>> of 4096 at 4096: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/outbox: read failed after 0
>> of 4096 at 0: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/outbox: read failed after 0
>> of 4096 at 134152192: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/outbox: read failed after 0
>> of 4096 at 134209536: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/outbox: read failed after 0
>> of 4096 at 4096: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/xleases: read failed after 0
>> of 4096 at 0: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/xleases: read failed after 0
>> of 4096 at 1073676288: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/xleases: read failed after 0
>> of 4096 at 1073733632: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/xleases: read failed after 0
>> of 4096 at 4096: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/inbox: read failed after 0
>> of 4096 at 0: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/inbox: read failed after 0
>> of 4096 at 134152192: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/inbox: read failed after 0
>> of 4096 at 134209536: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/inbox: read failed after 0
>> of 4096 at 4096: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/master: read failed after 0
>> of 4096 at 0: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/master: read failed after 0
>> of 4096 at 1073676288: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/master: read failed after 0
>> of 4096 at 1073733632: Input/output error
>>
>>   /dev/81f7db35-cff2-4592-bad7-55f437bb09ee/master: read failed after 0
>> of 4096 at 4096: Input/output error
>>
>>   /dev/mapper/36589cfc00b8e821765d5febefda2: read failed after 0 of
>> 4096 at 0: Input/output error
>>
>>   

[ovirt-users] Migrating VMs because previous host became non-operational

2017-05-29 Thread Brett Holcomb
I'm seeing this error "Migrating VM blah-blah because previous host 
became non-operational.  This appears in the WebUI under the task lists 
and is getting annoying since it disrupts things like creating snapshots.


This migration is quite a feat on a single hosted engine installation 
with only one host so what exactly is going  on?  I'd be glad to include 
some logs and have looked at the vdsm logs but have no idea what I'm 
looking form.



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