[ovirt-users] Re: NFS Multipathing

2018-09-14 Thread spfma . tech
Hi, It should be possible, as oVirt is able to support NFS 4.1 I have a 
Synology NAS which is also able to support this version of the protocol, but 
never found time to set this together and test it until now. Reagrds 

Le 30-Aug-2018 12:16:32 +0200, xrs...@xrs444.net a crit: 
  Hello all,   I've been looking around but I've not found anything definitive 
on whether Ovirt can do NFS Multipathing, and if so how?   Does anyone have any 
good how tos or configuration guides?   Thanks,   Thomas 
-
 FreeMail powered by mail.fr 

-
FreeMail powered by mail.fr
___
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/PMJP2W2ZBWEIBZ3SG3QYUOYKXHCLBCFD/


Re: [ovirt-users] Ovirt 4.2. Isolated (host-only) network

2018-04-11 Thread spfma . tech
Hi,
   Yes, clear informations about this are not available and I had to try a 
little bit before getting a result.   The thing is you can create an internal 
network but it has to be linked to some device, otherwise the network will be 
considered as "non functional" and your domain, server or datacenter (depending 
at which level you decide to set ip), will return errors. At the datacenter 
level, I wasn't even able to have a usable infrastructure before correcting 
this.   The solution is very close to your idea, so what about connecting these 
VMs to a "ghost" network interface, which is just existing virtually and 
behaving like a real one but without bothering you ?This thing is called 
the "dummy" module, and can be configured at OS level.   * Configure and use 
the "dummy" module and create an active interface   - /etc/modprobe.d/dummy.conf
 install dummy /sbin/modprobe --ignore-install dummy; ip link add dummy_1 type 
dummy
 - /etc/modules-load.d/dummy.conf 
 # Dummy net driver for internal network
 dummy   * Configure this device "dummy_1" as linked to a dedicated bridge 
"smb_testing". - /etc/sysconfig/network-scripts/ifcfg-dummy_1 
 # Generated by VDSM version 4.20.23-1.el7.centos
 DEVICE=dummy_1
 BRIDGE=smb_testing
 ONBOOT=yes
 MTU=1500
 DEFROUTE=no
 NM_CONTROLLED=no
 IPV6INIT=no
   * Classic bridge definition.
 - /etc/sysconfig/network-scripts/ifcfg-smb_testing 
 # Generated by VDSM version 4.20.23-1.el7.centos
 DEVICE=smb_testing
 TYPE=Bridge
 DELAY=0
 STP=off
 ONBOOT=yes
 MTU=1500
 DEFROUTE=no
 NM_CONTROLLED=no
 IPV6INIT=yes
 IPV6_AUTOCONF=yes   You can now attach this network to your machines, and they 
will be able to communicate through it. 

My main concern now is : will this configuration survive if I modify things and 
network scripts are regenerated by the engine ? 

Regards

 Le 09-Apr-2018 08:37:23 +0200, a_shi...@inbox.ru a crit:   

Hi List! 

Recently I've started using ovirt 4.2 and faced that I cannot find any guide 
how to do it in ovirt.org documentation. 

Need help with configure isolated/host-only (not connect to real NIC) network 
that allowed to communicate two or more VMs into private network. May be exist 
a solution? I did it such: linked logical networt to real NIC without connect 
anywhere (link - DOWN), but this solution is a little bit odd. How to exclude 
read NIC?

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Snapshot tree

2018-04-04 Thread spfma . tech
Hi,
 Can you confirm that there is no way to have a snapshot tree, like in 
VirtualBox, where one can revert to say "snapshot1" and then branch new 
children snapshot but without loosing any snapshots made after "snapshot1", 
which could have their own children ? According to the documentation, it is 
impoissible, but is there a workaround ? Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] STP and /var/lib/vdsm/persistence files

2018-04-04 Thread spfma . tech
Hi,
 As these files are generated by oVirt when a modification occurs, how to 
enable STP on bridges by configuration ?
 I haven't been able to find this option in GUI. Editing ifconfig and 
persistence files is OK, but maybe I can modify something that would erase this 
handmade modification and it will be lost. I have only seen unanswered posts 
about this topic. Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Persistent dummy interface

2018-04-04 Thread spfma . tech
Hi,
 Thanks for your reply, that was the idea I had but in a less clean way :-) So 
it is at os level, nothing special in oVirt. I have found the thing fully 
explained here, for reference : 
https://www.centos.org/forums/viewtopic.php?t=53233 Regards 

 Le 03-Apr-2018 13:32:06 +0200, rabidcic...@gmail.com a crit:   
 Sorry was on my phone. Modules-load.d 
  On Tue, Apr 3, 2018, 7:29 AM RabidCicada  wrote: 
 I do this on CentOS with /etc/modules-lomodules-loadad.d. You can stick a file 
in there that is basically just a bash script that loads your driver and then 
does the ip link command all the same time.  
  On Tue, Apr 3, 2018, 4:20 AM  wrote: 
 Hi,
 What is the right way to get a persistent dummy interface ? I need an internal 
network for lab purpoposes, so I created a dummy link "ip link add dummy_1 type 
dummy" and I was able to assign my logical network to it. But how to make it 
persistent ? Of course, after a reboot, the dummy device has gone and the 
server becomes non operational because of this non-compliant network. I have to 
recereate it by hand in order to get things work. Regards  

-
FreeMail powered by mail.fr ___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Persistent dummy interface

2018-04-03 Thread spfma . tech
Hi,
 What is the right way to get a persistent dummy interface ? I need an internal 
network for lab purpoposes, so I created a dummy link "ip link add dummy_1 type 
dummy" and I was able to assign my logical network to it. But how to make it 
persistent ? Of course, after a reboot, the dummy device has gone and the 
server becomes non operational because of this non-compliant network. I have to 
recereate it by hand in order to get things work. Regards  

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Host non-responsive after engine failure

2018-03-27 Thread spfma . tech
Hi,

I had an electrical failure on the server hosting the engine.
After the reboot it was able to gain access to it again, log into the GUI, but 
the currently online node is not leaving "not responsive" status.
Of course, the network storage paths are still mounted, the VMs are running, 
but I can't gain control again.

In vdsmd.log, I have a lot of messages like this one :
2018-03-27 12:03:11,281+0200 INFO (vmrecovery) [vds] recovery: waiting for 
storage pool to go up (clientIF:674)
2018-03-27 12:03:16,286+0200 INFO (vmrecovery) [vdsm.api] START 
getConnectedStoragePoolsList(options=None) from=internal, 
task_id=b90f550e-ee68-4a91-a7c6-3b60f11c3978 (api:46)
2018-03-27 12:03:16,286+0200 INFO (vmrecovery) [vdsm.api] FINISH 
getConnectedStoragePoolsList return={'poollist': []} from=internal, 
task_id=b90f550e-ee68-4a91-a7c6-3b60f11c3978 (api:52)
2018-03-27 12:03:16,287+0200 INFO (vmrecovery) [vds] recovery: waiting for 
storage pool to go up (clientIF:674)
2018-03-27 12:03:18,413+0200 INFO (periodic/3) [vdsm.api] START 
repoStats(domains=()) from=internal, 
task_id=067714b4-8172-4eec-92bb-6ac16586a657 (api:46)
2018-03-27 12:03:18,413+0200 INFO (periodic/3) [vdsm.api] FINISH repoStats 
return={} from=internal, task_id=067714b4-8172-4eec-92bb-6ac16586a657 (api:52)
2018-03-27 12:03:18,413+0200 INFO (periodic/3) [vdsm.api] START 
multipath_health() from=internal, task_id=e97421fb-5d5a-4291-9231-94bc1961cc49 
(api:46)
2018-03-27 12:03:18,413+0200 INFO (periodic/3) [vdsm.api] FINISH 
multipath_health return={} from=internal, 
task_id=e97421fb-5d5a-4291-9231-94bc1961cc49 (api:52)
2018-03-27 12:03:20,458+0200 INFO (jsonrpc/6) [api.host] START getAllVmStats() 
from=::1,57576 (api:46)
2018-03-27 12:03:20,462+0200 INFO (jsonrpc/6) [api.host] FINISH getAllVmStats 
return={'status': {'message': 'Done', 'code': 0}, 'statsList': (suppressed)} 
from=::1,57576 (api:52)
2018-03-27 12:03:20,464+0200 INFO (jsonrpc/6) [jsonrpc.JsonRpcServer] RPC call 
Host.getAllVmStats succeeded in 0.01 seconds (__init__:573)
2018-03-27 12:03:20,474+0200 INFO (jsonrpc/7) [api.host] START 
getAllVmIoTunePolicies() from=::1,57576 (api:46)
2018-03-27 12:03:20,475+0200 INFO (jsonrpc/7) [api.host] FINISH 
getAllVmIoTunePolicies return={'status': {'message': 'Done', 'code': 0}, 
'io_tune_policies_dict': {'c33a30ba-7fe8-4ff4-aeac-80cb396b9670': {'policy': 
[], 'current_values': [{'ioTune': {'write_bytes_sec': 0L, 'total_iops_sec': 0L, 
'read_iops_sec': 0L, 'read_bytes_sec': 0L, 'write_iops_sec': 0L, 
'total_bytes_sec': 0L}, 'path': 
'/rhev/data-center/mnt/10.100.2.132:_volume2_ovirt__vms__1/07efa4fe-06bc-498e-8f42-035461aef900/images/593f6f61-cb7f-4c53-b6e7-617964c222e9/329b2e8b-6cf9-4b39-9190-14a32697ce44',
 'name': 'sda'}]}, 'e8a90739-7737-413e-8edc-a373192f4476': {'policy': [], 
'current_values': [{'ioTune': {'write_bytes_sec': 0L, 'total_iops_sec': 0L, 
'read_iops_sec': 0L, 'read_bytes_sec': 0L, 'write_iops_sec': 0L, 
'total_bytes_sec': 0L}, 'path': 
'/rhev/data-center/mnt/10.100.2.132:_volume2_ovirt__vms__1/07efa4fe-06bc-498e-8f42-035461aef900/images/97e078f7-69c6-46c2-b620-26474cd65929/bbb4a1fb-5594-4750-be71-c6b55dca3257',
 'name': 'vda'}]}, '3aec5ce4-691f-487c-a916-aa7f7a664d8c': {'policy': [], 
'current_values': [{'ioTune': {'write_bytes_sec': 0L, 'total_iops_sec': 0L, 
'read_iops_sec': 0L, 'read_bytes_sec': 0L, 'write_iops_sec': 0L, 
'total_bytes_sec': 0L}, 'path': 
'/rhev/data-center/mnt/10.100.2.132:_volume2_ovirt__vms__1/07efa4fe-06bc-498e-8f42-035461aef900/images/46a65a1b-d00a-452d-ab9b-70862bb5c053/a4d2ad44-5577-4412-9a8c-819d1f12647a',
 'name': 'sda'}, {'ioTune': {'write_bytes_sec': 0L, 'total_iops_sec': 0L, 
'read_iops_sec': 0L, 'read_bytes_sec': 0L, 'write_iops_sec': 0L, 
'total_bytes_sec': 0L}, 'path': 
'/rhev/data-center/mnt/10.100.2.132:_volume2_ovirt__vms__1/07efa4fe-06bc-498e-8f42-035461aef900/images/0c3a13ce-8f7a-4034-a8cc-12f795b8aa17/c48e0e37-e54b-4ca3-b3ed-b66ead9fad44',
 'name': 'sdb'}]}, '5de1de8f-ac01-459f-b4b8-6d1ed05c8ca3': {'policy': [], 
'current_values': [{'ioTune': {'write_bytes_sec': 0L, 'total_iops_sec': 0L, 
'read_iops_sec': 0L, 'read_bytes_sec': 0L, 'write_iops_sec': 0L, 
'total_bytes_sec': 0L}, 'path': 
'/rhev/data-center/mnt/10.100.2.132:_volume2_ovirt__vms__1/07efa4fe-06bc-498e-8f42-035461aef900/images/320ac81c-7db7-4ec0-a271-755e91442b6a/8bfc95c5-318c-43dd-817f-6c7a8a7a5b43',
 'name': 'sda'}, {'ioTune': {'write_bytes_sec': 0L, 'total_iops_sec': 0L, 
'read_iops_sec': 0L, 'read_bytes_sec': 0L, 'write_iops_sec': 0L, 
'total_bytes_sec': 0L}, 'path': 
'/rhev/data-center/mnt/10.100.2.132:_volume2_ovirt__vms__1/07efa4fe-06bc-498e-8f42-035461aef900/images/e7ad86bb-3c63-466b-82cf-687164c46f7b/613ea0ce-ed14-4185-b3fd-36490441f889',
 'name': 'sdb'}]}, '5d548a09-a397-4aac-8b1f-39002e014f5f': {'policy': [], 
'current_values': [{'ioTune': {'write_bytes_sec': 0L, 'total_iops_sec': 0L, 
'read_iops_sec': 0L, 'read_bytes_sec': 0L, 'write_iops_sec': 0L, 
'total_bytes_sec': 0L}, 'path': 

Re: [ovirt-users] Hosted engine : rebuild without backups ?

2018-03-26 Thread spfma . tech
Hi,
   I gave up trying to restore a backup of my former hosted engine, I never 
managed to get engine and nodes communicate again and I need to go on.   So I 
installed a new engine (let's try a dedicated one this time) and imported the 
storage domains successfully. After attaching and activating them, it seems to 
be ok and the first VMs I imported are now running fine.   So I just have to 
redefine logical networks and configure them on the hosts, and it is ok ?   
Maybe final step will be turning dedicated engine to hosted, I don't know yet.  
 Regards   

 Le 18-Mar-2018 08:28:15 +0100, d...@redhat.com a crit:   
On Fri, Mar 16, 2018 at 2:48 PM,  wrote:
 > Hi,
 >
 > In case of a total failure of the hosted engine VM, it is recommended to
 > recreate a new one and restore a backup. I hope it works, I will probably
 > have to do this very soon.
 >
 > But is there some kind of "plug and play" features, able to rebuild
 > configuration by browsing storage domains, if the restore process doesn't
 > work ?

 It's called "Import Storage Domain" in oVirt.

 >
 > Something like identifying VMs and their snapshots in the subdirectories,
 > and the guess what is linked to what, ... ?
 >
 > I have a few machines but if I have to rebuild all the engine setup and
 > content, I would like to be able to identify resources easily.
 >
 > A few times ago, I was doing some experiments with XenServer and
 > destroyed/recreated some setup items : I ended with a lot of oprhan
 > resources, and it was a mess to reattach snapshots to their respective VMs.
 > So if oVirt is more helpful in that way ...

 If you try this:

 1. Try first on a test setup, as always
 2. Make sure to _not_ import the hosted-storage domain, the one used to
 host the hosted-engine VM.
 3. So: setup a new hosted-engine system, then import your _other_ storage
 domains. Ideally make sure the old hosted storage is not accessible to
 the new system, so that the new engine does not try to import it accidentally.
 4. If you do try to import, for testing, the old hosted-storage, would be
 interesting if you share the results...

 Best regards,
 -- 
 Didi 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Engine and nodes ssh setup

2018-03-23 Thread spfma . tech
Hi,
   I have weaked "/usr/lib/python2.7/site-packages/vdsm/sslutils.py" in order 
to get more informative errors. So here is what I get   2018-03-23 
12:26:17,367+0100 ERROR (Reactor thread) 
[ProtocolDetector.SSLHandshakeDispatcher] ssl handshake: SSLError, address: 
:::10.100.1.100 error : [EOF occurred in violation of protocol 
(_ssl.c:579)] dispatcher:  socket: (':::10.100.1.51', 54321, 0, 0) family: 
10 protocol: 6 (sslutils:259)

 Can someone explain what it means ?   Regards 

 Le 22-Mar-2018 10:55:03 +0100, msi...@redhat.com a crit:   
Hi,

 > There is a step I am not sure : is root user on the engine supposed to be
 > able to log into nodes without password or not ? In my case it doesn't

 No, the webadmin application uses Java implementation of the ssh
 protocol and you give it the needed password when you add a host for
 the first time. It prepares ssh keys for itself and stores them in
 database (iirc).

 The root user on the machine running the webadmin app does not have
 any access to hosts afaik.

 Best regards

 Martin Sivak

 On Thu, Mar 22, 2018 at 10:39 AM,  wrote:
 > Hi,
 >
 > I am still trying to make my restored hosted engine communicate with the
 > nodes without success.
 >
 > There is a step I am not sure : is root user on the engine supposed to be
 > able to log into nodes without password or not ? In my case it doesn't
 >
 > By the way, where are located the certificates actually used for these
 > communications ?
 >
 > Regards
 >
 > 
 > FreeMail powered by mail.fr
 > ___
 > Users mailing list
 > Users@ovirt.org
 > http://lists.ovirt.org/mailman/listinfo/users
 > 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Engine and nodes ssh setup

2018-03-22 Thread spfma . tech
Hi,
   I am still trying to make my restored hosted engine communicate with the 
nodes without success.   There is a step I am not sure : is root user on the 
engine supposed to be able to log into nodes without password or not ? In my 
case it doesn't   By the way, where are located the certificates actually used 
for these communications ?   Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted engine deployment error

2018-03-21 Thread spfma . tech
Hi,
   I made some progress : by allowing my NAS to map any user to admin (not the 
best for security, but it is a dedicated infrastructure), this weird 
permissions problem disappeared. Maybe a NFS bug somewhere ? I don't know.   I 
was able to redeploy a new hosted engine, and after a cleanup and some other 
manual cleaning tasks, restore my latest backup.   So the new engine vm is able 
to startup, but it seems there is a problem for communicating with hosts.   I 
get a lot of errors like this one :   vdsm[3008]: ERROR ssl handshake: 
SSLError, address: :::10.100.1.100 

10.100.1.100 is the IP of the engine vm. 

vdsm.log is not more helpful : 

2018-03-21 17:10:10,769+0100 ERROR (Reactor thread) 
[ProtocolDetector.SSLHandshakeDispatcher] ssl handshake: SSLError, address: 
:::10.100.1.100 (sslutils:258) 

Is there something to update or generate after a restore ? I don't know whether 
keys and certificates were kept or if new ones are now used. 

I also tried to add the SSH public key showed in the GUI to the authorized_keys 
on a node, even reboot, but no change. 

Regards 

 Le 20-Mar-2018 16:12:40 +0100, spfma.t...@e.mail.fr a crit:   
 I tried to make a cleaner install : after cleanup, I recreated 
"/rhev/data-center/mnt/" and ran the installer again.
   As you can see, it crashed again with the same access denied error on this 
file :[ INFO ] TASK [Copy configuration archive to storage]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["dd", 
"bs=20480", "count=1", "oflag=direct", 
"if=/var/tmp/localvmVBRLpL/b1884198-69e6-4096-939d-03c87112de10", 
"of=/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10"],
 "delta": "0:00:00.004468", "end": "2018-03-20 15:57:34.199405", "msg": 
"non-zero return code", "rc": 1, "start": "2018-03-20 15:57:34.194937", 
"stderr": "dd: impossible d'ouvrir 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 : Permission non accorde", "stderr_lines": ["dd: impossible d'ouvrir 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 : Permission non accorde"], "stdout": "", "stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing 
ansible-playbook
   But the file permissions look ok to me :-rw-rw. 1 vdsm kvm 1,0G 20 
mars 2018 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10

 So I decided to test something : I set a shell for "vdsm", so I could login :  
  su - vdsm -c "touch 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10"
 && echo "OK"
OK   As far as I can see,still no permission problem 

But if I try the same as "root" : 

touch 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 && echo "OK"
touch: impossible de faire un touch 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 : Permission non accorde 

Of course, "root" and "vdsm" can create, touch and delete other files 
flawlessly in this share. 

It looks like some kind of immutable file, but is is not suppose to exist on 
NFS, does it ? 

Regards 

 Le 20-Mar-2018 12:22:50 +0100, stira...@redhat.com a crit:   

 On Tue, Mar 20, 2018 at 11:44 AM,  wrote:

   Hi,
   In fact it is a workaround coming from you I found in the bugtrack that 
helped me : 

chmod 644 /var/cache/vdsm/schema/*

As the only thing looking like a weird error I have found was : 

ERROR Exception raised#012Traceback (most recent call last):#012 File 
"/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line 156, in run#012 
serve_clients(log)#012 File "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", 
line 103, in serve_clients#012 cif = clientIF.getInstance(irs, log, 
scheduler)#012 File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 
250, in getInstance#012 cls._instance = clientIF(irs, log, scheduler)#012 File 
"/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 144, in __init__#012 
self._prepareJSONRPCServer()#012 File 
"/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 307, in 
_prepareJSONRPCServer#012 bridge = Bridge.DynamicBridge()#012 File 

Re: [ovirt-users] Hosted engine deployment error

2018-03-20 Thread spfma . tech
Just to be sure I hadn't altered something, I renamed "mnt" in something else 
and it was indeed recreated.

 Le 20-Mar-2018 16:57:22 +0100, stira...@redhat.com a crit:   

 On Tue, Mar 20, 2018 at 4:12 PM,  wrote:

 I tried to make a cleaner install : after cleanup, I recreated 
"/rhev/data-center/mnt/" and ran the installer again.
It should be automatically created by vdsm, can you please avoid that?   
 As you can see, it crashed again with the same access denied error on this 
file :[ INFO ] TASK [Copy configuration archive to storage]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["dd", 
"bs=20480", "count=1", "oflag=direct", 
"if=/var/tmp/localvmVBRLpL/b1884198-69e6-4096-939d-03c87112de10", 
"of=/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10"],
 "delta": "0:00:00.004468", "end": "2018-03-20 15:57:34.199405", "msg": 
"non-zero return code", "rc": 1, "start": "2018-03-20 15:57:34.194937", 
"stderr": "dd: impossible d'ouvrir 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 : Permission non accorde", "stderr_lines": ["dd: impossible d'ouvrir 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 : Permission non accorde"], "stdout": "", "stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing 
ansible-playbook
   But the file permissions look ok to me :-rw-rw. 1 vdsm kvm 1,0G 20 
mars 2018 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10

 So I decided to test something : I set a shell for "vdsm", so I could login :  
  su - vdsm -c "touch 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10"
 && echo "OK"
OK   As far as I can see,still no permission problem 

But if I try the same as "root" : 

touch 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 && echo "OK"
touch: impossible de faire un touch 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 : Permission non accorde 

Of course, "root" and "vdsm" can create, touch and delete other files 
flawlessly in this share. 

It looks like some kind of immutable file, but is is not suppose to exist on 
NFS, does it ? 

Regards   

 Le 20-Mar-2018 12:22:50 +0100, stira...@redhat.com a crit:   

 On Tue, Mar 20, 2018 at 11:44 AM,  wrote:

   Hi,
   In fact it is a workaround coming from you I found in the bugtrack that 
helped me : 

chmod 644 /var/cache/vdsm/schema/*

As the only thing looking like a weird error I have found was : 

ERROR Exception raised#012Traceback (most recent call last):#012 File 
"/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line 156, in run#012 
serve_clients(log)#012 File "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", 
line 103, in serve_clients#012 cif = clientIF.getInstance(irs, log, 
scheduler)#012 File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 
250, in getInstance#012 cls._instance = clientIF(irs, log, scheduler)#012 File 
"/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 144, in __init__#012 
self._prepareJSONRPCServer()#012 File 
"/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 307, in 
_prepareJSONRPCServer#012 bridge = Bridge.DynamicBridge()#012 File 
"/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 67, in __init__#012 
self._schema = vdsmapi.Schema(paths, api_strict_mode)#012 File 
"/usr/lib/python2.7/site-packages/vdsm/api/vdsmapi.py", line 217, in 
__init__#012 raise SchemaNotFound("Unable to find API schema 
file")#012SchemaNotFound: Unable to find API schema fileThanks, it's 
tracked here: https://bugzilla.redhat.com/1552565   A fix will come in the next 
build.   
 So I can go one step futher, but the installation still fails in the end, 
with file permission problems in datastore files (i chose NFS 4.1). I can't 
indeed touch or get informations even logged in root. But I can create and 
delete files in the same directory.   Is there a workaround for this too ?
Everything should get wrote and read on the NFS export as vdsm:kvm (36:36); can 
you please ensure that everything is fine with that?   
   

Re: [ovirt-users] Hosted engine deployment error

2018-03-20 Thread spfma . tech
I tried to make a cleaner install : after cleanup, I recreated 
"/rhev/data-center/mnt/" and ran the installer again.
   As you can see, it crashed again with the same access denied error on this 
file :[ INFO ] TASK [Copy configuration archive to storage]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["dd", 
"bs=20480", "count=1", "oflag=direct", 
"if=/var/tmp/localvmVBRLpL/b1884198-69e6-4096-939d-03c87112de10", 
"of=/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10"],
 "delta": "0:00:00.004468", "end": "2018-03-20 15:57:34.199405", "msg": 
"non-zero return code", "rc": 1, "start": "2018-03-20 15:57:34.194937", 
"stderr": "dd: impossible d'ouvrir 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 : Permission non accorde", "stderr_lines": ["dd: impossible d'ouvrir 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 : Permission non accorde"], "stdout": "", "stdout_lines": []}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing 
ansible-playbook
   But the file permissions look ok to me :-rw-rw. 1 vdsm kvm 1,0G 20 
mars 2018 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10

 So I decided to test something : I set a shell for "vdsm", so I could login :  
  su - vdsm -c "touch 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10"
 && echo "OK"
OK   As far as I can see,still no permission problem 

But if I try the same as "root" : 

touch 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 && echo "OK"
touch: impossible de faire un touch 
/rhev/data-center/mnt/10.100.2.132:_volume3_ovirt__engine__self__hosted/015d9546-af01-4fb2-891e-e28683db3387/images/589d0768-c935-4495-aa57-45b9b2a18526/b1884198-69e6-4096-939d-03c87112de10
 : Permission non accorde 

Of course, "root" and "vdsm" can create, touch and delete other files 
flawlessly in this share. 

It looks like some kind of immutable file, but is is not suppose to exist on 
NFS, does it ? 

Regards 

 Le 20-Mar-2018 12:22:50 +0100, stira...@redhat.com a crit:   

 On Tue, Mar 20, 2018 at 11:44 AM,  wrote:

   Hi,
   In fact it is a workaround coming from you I found in the bugtrack that 
helped me : 

chmod 644 /var/cache/vdsm/schema/*

As the only thing looking like a weird error I have found was : 

ERROR Exception raised#012Traceback (most recent call last):#012 File 
"/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line 156, in run#012 
serve_clients(log)#012 File "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", 
line 103, in serve_clients#012 cif = clientIF.getInstance(irs, log, 
scheduler)#012 File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 
250, in getInstance#012 cls._instance = clientIF(irs, log, scheduler)#012 File 
"/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 144, in __init__#012 
self._prepareJSONRPCServer()#012 File 
"/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 307, in 
_prepareJSONRPCServer#012 bridge = Bridge.DynamicBridge()#012 File 
"/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 67, in __init__#012 
self._schema = vdsmapi.Schema(paths, api_strict_mode)#012 File 
"/usr/lib/python2.7/site-packages/vdsm/api/vdsmapi.py", line 217, in 
__init__#012 raise SchemaNotFound("Unable to find API schema 
file")#012SchemaNotFound: Unable to find API schema fileThanks, it's 
tracked here: https://bugzilla.redhat.com/1552565   A fix will come in the next 
build.   
 So I can go one step futher, but the installation still fails in the end, 
with file permission problems in datastore files (i chose NFS 4.1). I can't 
indeed touch or get informations even logged in root. But I can create and 
delete files in the same directory.   Is there a workaround for this too ?
Everything should get wrote and read on the NFS export as vdsm:kvm (36:36); can 
you please ensure that everything is fine with that?   
   Regards 

 Le 19-Mar-2018 17:48:41 +0100, stira...@redhat.com a crit:   

 On Mon, Mar 19, 2018 at 4:56 PM,  wrote:

 Hi,
   I wanted to rebuild a new hosted engine setup, as the old was corrupted (too 
much violent poweroff !)   So the server was not reinstalled, I just runned 

Re: [ovirt-users] Hosted engine deployment error

2018-03-20 Thread spfma . tech
Hi,
   In fact it is a workaround coming from you I found in the bugtrack that 
helped me : 

chmod 644 /var/cache/vdsm/schema/*

As the only thing looking like a weird error I have found was : 

ERROR Exception raised#012Traceback (most recent call last):#012 File 
"/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", line 156, in run#012 
serve_clients(log)#012 File "/usr/lib/python2.7/site-packages/vdsm/vdsmd.py", 
line 103, in serve_clients#012 cif = clientIF.getInstance(irs, log, 
scheduler)#012 File "/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 
250, in getInstance#012 cls._instance = clientIF(irs, log, scheduler)#012 File 
"/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 144, in __init__#012 
self._prepareJSONRPCServer()#012 File 
"/usr/lib/python2.7/site-packages/vdsm/clientIF.py", line 307, in 
_prepareJSONRPCServer#012 bridge = Bridge.DynamicBridge()#012 File 
"/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 67, in __init__#012 
self._schema = vdsmapi.Schema(paths, api_strict_mode)#012 File 
"/usr/lib/python2.7/site-packages/vdsm/api/vdsmapi.py", line 217, in 
__init__#012 raise SchemaNotFound("Unable to find API schema 
file")#012SchemaNotFound: Unable to find API schema file So I can go one 
step futher, but the installation still fails in the end, with file permission 
problems in datastore files (i chose NFS 4.1). I can't indeed touch or get 
informations even logged in root. But I can create and delete files in the same 
directory.   Is there a workaround for this too ?   Regards 

 Le 19-Mar-2018 17:48:41 +0100, stira...@redhat.com a crit:   

 On Mon, Mar 19, 2018 at 4:56 PM,  wrote:

 Hi,
   I wanted to rebuild a new hosted engine setup, as the old was corrupted (too 
much violent poweroff !)   So the server was not reinstalled, I just runned 
"ovirt-hosted-engine-cleanup". The network setup generated by vdsm seems to be 
still in place, so I haven't changed anything there.   Then I decided to update 
the packages to the latest versions avaible, rebooted the server and run 
"ovirt-hosted-engine-setup".   But the process never succeeds, as I get an 
error after a long time spent in "[ INFO ] TASK [Wait for the host to be up]"   
  [ ERROR ] fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_hosts": 
[{"address": "pfm-srv-virt-1.pfm-ad.pfm.loc", "affinity_labels": [], 
"auto_numa_status": "unknown", "certificate": {"organization": "pfm.loc", 
"subject": "O=pfm.loc,CN=pfm-srv-virt-1.pfm-ad.pfm.loc"}, "cluster": {"href": 
"/ovirt-engine/api/clusters/d6c9358e-2b8b-11e8-bc86-00163e152701", "id": 
"d6c9358e-2b8b-11e8-bc86-00163e152701"}, "comment": "", "cpu": {"speed": 0.0, 
"topology": {}}, "device_passthrough": {"enabled": false}, "devices": [], 
"external_network_provider_configurations": [], "external_status": "ok", 
"hardware_information": {"supported_rng_sources": []}, "hooks": [], "href": 
"/ovirt-engine/api/hosts/542566c4-fc85-4398-9402-10c8adaa9554", "id": 
"542566c4-fc85-4398-9402-10c8adaa9554", "katello_errata": [], "kdump_status": 
"unknown", "ksm": {"enabled": false}, "max_scheduling_memory": 0, "memory": 0, 
"name": "pfm-srv-virt-1.pfm-ad.pfm.loc", "network_attachments": [], "nics": [], 
"numa_nodes": [], "numa_supported": false, "os": {"custom_kernel_cmdline": ""}, 
"permissions": [], "port": 54321, "power_management": {"automatic_pm_enabled": 
true, "enabled": false, "kdump_detection": true, "pm_proxies": []}, "protocol": 
"stomp", "se_linux": {}, "spm": {"priority": 5, "status": "none"}, "ssh": 
{"fingerprint": "SHA256:J75BVLFnmGBGFosXzaxCRnuIYcOc75HUBQZ4pOKpDg8", "port": 
22}, "statistics": [], "status": "non_responsive", 
"storage_connection_extensions": [], "summary": {"total": 0}, "tags": [], 
"transparent_huge_pages": {"enabled": false}, "type": "rhel", 
"unmanaged_networks": [], "update_available": false}]}, "attempts": 120, 
"changed": false}
[ INFO ] TASK [Remove local vm dir]
[ INFO ] TASK [Notify the user about a failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The system 
may not be provisioned according to the playbook results: please check the logs 
for the issue, fix accordingly or re-deploy from scratch.n"} I made another 
try with Cockpit, it is the same.   Am I doing something wrong or is there a 
bug ?I suppose that your host was condifured with DHCP, if so it's this 
one: https://bugzilla.redhat.com/1549642   The fix will come with 4.2.2.   
   Regards 

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted engine deployment error

2018-03-20 Thread spfma . tech
By the way, should NetworkManager be enabled or disabled when using latest 
versions of oVirt ?
 I have found contradictory informations, but some are from two years ago.  
Regards 

 Le 19-Mar-2018 16:56:50 +0100, spfma.t...@e.mail.fr a crit:   
 Hi,
   I wanted to rebuild a new hosted engine setup, as the old was corrupted (too 
much violent poweroff !)   So the server was not reinstalled, I just runned 
"ovirt-hosted-engine-cleanup". The network setup generated by vdsm seems to be 
still in place, so I haven't changed anything there.   Then I decided to update 
the packages to the latest versions avaible, rebooted the server and run 
"ovirt-hosted-engine-setup".   But the process never succeeds, as I get an 
error after a long time spent in "[ INFO ] TASK [Wait for the host to be up]"   
  [ ERROR ] fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_hosts": 
[{"address": "pfm-srv-virt-1.pfm-ad.pfm.loc", "affinity_labels": [], 
"auto_numa_status": "unknown", "certificate": {"organization": "pfm.loc", 
"subject": "O=pfm.loc,CN=pfm-srv-virt-1.pfm-ad.pfm.loc"}, "cluster": {"href": 
"/ovirt-engine/api/clusters/d6c9358e-2b8b-11e8-bc86-00163e152701", "id": 
"d6c9358e-2b8b-11e8-bc86-00163e152701"}, "comment": "", "cpu": {"speed": 0.0, 
"topology": {}}, "device_passthrough": {"enabled": false}, "devices": [], 
"external_network_provider_configurations": [], "external_status": "ok", 
"hardware_information": {"supported_rng_sources": []}, "hooks": [], "href": 
"/ovirt-engine/api/hosts/542566c4-fc85-4398-9402-10c8adaa9554", "id": 
"542566c4-fc85-4398-9402-10c8adaa9554", "katello_errata": [], "kdump_status": 
"unknown", "ksm": {"enabled": false}, "max_scheduling_memory": 0, "memory": 0, 
"name": "pfm-srv-virt-1.pfm-ad.pfm.loc", "network_attachments": [], "nics": [], 
"numa_nodes": [], "numa_supported": false, "os": {"custom_kernel_cmdline": ""}, 
"permissions": [], "port": 54321, "power_management": {"automatic_pm_enabled": 
true, "enabled": false, "kdump_detection": true, "pm_proxies": []}, "protocol": 
"stomp", "se_linux": {}, "spm": {"priority": 5, "status": "none"}, "ssh": 
{"fingerprint": "SHA256:J75BVLFnmGBGFosXzaxCRnuIYcOc75HUBQZ4pOKpDg8", "port": 
22}, "statistics": [], "status": "non_responsive", 
"storage_connection_extensions": [], "summary": {"total": 0}, "tags": [], 
"transparent_huge_pages": {"enabled": false}, "type": "rhel", 
"unmanaged_networks": [], "update_available": false}]}, "attempts": 120, 
"changed": false}
[ INFO ] TASK [Remove local vm dir]
[ INFO ] TASK [Notify the user about a failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The system 
may not be provisioned according to the playbook results: please check the logs 
for the issue, fix accordingly or re-deploy from scratch.\n"} I made 
another try with Cockpit, it is the same.   Am I doing something wrong or is 
there a bug ?   Regards 

-
FreeMail powered by mail.fr 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted engine deployment error

2018-03-19 Thread spfma . tech
Hi,
 Thanks for your answer. No, it was configured with static ip. I checked the 
answer file from the first install, I used the same options. Regards

 Le 19-Mar-2018 17:48:41 +0100, stira...@redhat.com a crit:   

 On Mon, Mar 19, 2018 at 4:56 PM,  wrote:

 Hi,
   I wanted to rebuild a new hosted engine setup, as the old was corrupted (too 
much violent poweroff !)   So the server was not reinstalled, I just runned 
"ovirt-hosted-engine-cleanup". The network setup generated by vdsm seems to be 
still in place, so I haven't changed anything there.   Then I decided to update 
the packages to the latest versions avaible, rebooted the server and run 
"ovirt-hosted-engine-setup".   But the process never succeeds, as I get an 
error after a long time spent in "[ INFO ] TASK [Wait for the host to be up]"   
  [ ERROR ] fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_hosts": 
[{"address": "pfm-srv-virt-1.pfm-ad.pfm.loc", "affinity_labels": [], 
"auto_numa_status": "unknown", "certificate": {"organization": "pfm.loc", 
"subject": "O=pfm.loc,CN=pfm-srv-virt-1.pfm-ad.pfm.loc"}, "cluster": {"href": 
"/ovirt-engine/api/clusters/d6c9358e-2b8b-11e8-bc86-00163e152701", "id": 
"d6c9358e-2b8b-11e8-bc86-00163e152701"}, "comment": "", "cpu": {"speed": 0.0, 
"topology": {}}, "device_passthrough": {"enabled": false}, "devices": [], 
"external_network_provider_configurations": [], "external_status": "ok", 
"hardware_information": {"supported_rng_sources": []}, "hooks": [], "href": 
"/ovirt-engine/api/hosts/542566c4-fc85-4398-9402-10c8adaa9554", "id": 
"542566c4-fc85-4398-9402-10c8adaa9554", "katello_errata": [], "kdump_status": 
"unknown", "ksm": {"enabled": false}, "max_scheduling_memory": 0, "memory": 0, 
"name": "pfm-srv-virt-1.pfm-ad.pfm.loc", "network_attachments": [], "nics": [], 
"numa_nodes": [], "numa_supported": false, "os": {"custom_kernel_cmdline": ""}, 
"permissions": [], "port": 54321, "power_management": {"automatic_pm_enabled": 
true, "enabled": false, "kdump_detection": true, "pm_proxies": []}, "protocol": 
"stomp", "se_linux": {}, "spm": {"priority": 5, "status": "none"}, "ssh": 
{"fingerprint": "SHA256:J75BVLFnmGBGFosXzaxCRnuIYcOc75HUBQZ4pOKpDg8", "port": 
22}, "statistics": [], "status": "non_responsive", 
"storage_connection_extensions": [], "summary": {"total": 0}, "tags": [], 
"transparent_huge_pages": {"enabled": false}, "type": "rhel", 
"unmanaged_networks": [], "update_available": false}]}, "attempts": 120, 
"changed": false}
[ INFO ] TASK [Remove local vm dir]
[ INFO ] TASK [Notify the user about a failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The system 
may not be provisioned according to the playbook results: please check the logs 
for the issue, fix accordingly or re-deploy from scratch.\n"} I made 
another try with Cockpit, it is the same.   Am I doing something wrong or is 
there a bug ?I suppose that your host was condifured with DHCP, if so it's 
this one: https://bugzilla.redhat.com/1549642   The fix will come with 4.2.2.   
   Regards 

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Hosted engine deployment error

2018-03-19 Thread spfma . tech
Hi,
   I wanted to rebuild a new hosted engine setup, as the old was corrupted (too 
much violent poweroff !)   So the server was not reinstalled, I just runned 
"ovirt-hosted-engine-cleanup". The network setup generated by vdsm seems to be 
still in place, so I haven't changed anything there.   Then I decided to update 
the packages to the latest versions avaible, rebooted the server and run 
"ovirt-hosted-engine-setup".   But the process never succeeds, as I get an 
error after a long time spent in "[ INFO ] TASK [Wait for the host to be up]"   
  [ ERROR ] fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_hosts": 
[{"address": "pfm-srv-virt-1.pfm-ad.pfm.loc", "affinity_labels": [], 
"auto_numa_status": "unknown", "certificate": {"organization": "pfm.loc", 
"subject": "O=pfm.loc,CN=pfm-srv-virt-1.pfm-ad.pfm.loc"}, "cluster": {"href": 
"/ovirt-engine/api/clusters/d6c9358e-2b8b-11e8-bc86-00163e152701", "id": 
"d6c9358e-2b8b-11e8-bc86-00163e152701"}, "comment": "", "cpu": {"speed": 0.0, 
"topology": {}}, "device_passthrough": {"enabled": false}, "devices": [], 
"external_network_provider_configurations": [], "external_status": "ok", 
"hardware_information": {"supported_rng_sources": []}, "hooks": [], "href": 
"/ovirt-engine/api/hosts/542566c4-fc85-4398-9402-10c8adaa9554", "id": 
"542566c4-fc85-4398-9402-10c8adaa9554", "katello_errata": [], "kdump_status": 
"unknown", "ksm": {"enabled": false}, "max_scheduling_memory": 0, "memory": 0, 
"name": "pfm-srv-virt-1.pfm-ad.pfm.loc", "network_attachments": [], "nics": [], 
"numa_nodes": [], "numa_supported": false, "os": {"custom_kernel_cmdline": ""}, 
"permissions": [], "port": 54321, "power_management": {"automatic_pm_enabled": 
true, "enabled": false, "kdump_detection": true, "pm_proxies": []}, "protocol": 
"stomp", "se_linux": {}, "spm": {"priority": 5, "status": "none"}, "ssh": 
{"fingerprint": "SHA256:J75BVLFnmGBGFosXzaxCRnuIYcOc75HUBQZ4pOKpDg8", "port": 
22}, "statistics": [], "status": "non_responsive", 
"storage_connection_extensions": [], "summary": {"total": 0}, "tags": [], 
"transparent_huge_pages": {"enabled": false}, "type": "rhel", 
"unmanaged_networks": [], "update_available": false}]}, "attempts": 120, 
"changed": false}
[ INFO ] TASK [Remove local vm dir]
[ INFO ] TASK [Notify the user about a failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The system 
may not be provisioned according to the playbook results: please check the logs 
for the issue, fix accordingly or re-deploy from scratch.\n"} I made 
another try with Cockpit, it is the same.   Am I doing something wrong or is 
there a bug ?   Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Hosted engine : rebuild without backups ?

2018-03-16 Thread spfma . tech
Hi,
   In case of a total failure of the hosted engine VM, it is recommended to 
recreate a new one and restore a backup. I hope it works, I will probably have 
to do this very soon.   But is there some kind of "plug and play" features, 
able to rebuild configuration by browsing storage domains, if the restore 
process doesn't work ?   Something like identifying VMs and their snapshots in 
the subdirectories, and the guess what is linked to what, ... ?I have a few 
machines but if I have to rebuild all the engine setup and content, I would 
like to be able to identify resources easily.   A few times ago, I was doing 
some experiments with XenServer and destroyed/recreated some setup items : I 
ended with a lot of oprhan resources, and it was a mess to reattach snapshots 
to their respective VMs. So if oVirt is more helpful in that way ...   Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread spfma . tech
Thanks, I totally missed that :-/
   And this wil also work for the hosted engine dedicated domain, putting the 
storage domain the virtual machine is depending on in maintenance ? 

 Le 15-Mar-2018 10:38:48 +0100, eshen...@redhat.com a crit:   
 You can edit the storage domain setting after the storage domain deactivated 
(entered to maintenance mode).
 On Thu, Mar 15, 2018 at 11:12 AM,  wrote:

In fact I don't really know how to change storage domains setttings (like nfs 
version or export path, ...), if it is only possible. 

I thought they could be disabled after stopping all related VMS, and maybe 
settings panel would then unlock ? 

But this should be impossible with hosted engine dedicated storage domain as it 
is required for the GUI itself. 

So I am stuck.

 Le 15-Mar-2018 09:59:30 +0100, eshen...@redhat.com a crit:   
 I am not sure what you mean, Can you please try to explain what is the 
difference between "VMs domain" to "hosted storage domain" according to you?   
Thanks,  
 On Thu, Mar 15, 2018 at 10:45 AM,  wrote:

 Thanks for your answer.
   And to use V4.1 instead of V3 on a domain, do I just have to disconnect it 
and change its settings ? Seems to be easy to do with VMs domains, but how to 
do it with hosted storage domain ?   Regards 

 Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a crit:   
 Hi,   NFS 4.1 supported and working since version 3.6 (according to this bug 
fix [1])   [1] Support NFS v4.1 connections - 
https://bugzilla.redhat.com/show_bug.cgi?id=1283964   

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

   -- 
  Regards, Eyal Shenitzky 

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

   -- 
  Regards, Eyal Shenitzky 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [4.2.2-1.el7.centos] Image locked and unending task

2018-03-15 Thread spfma . tech
Thanks for that quick answer !
   Yes indeed I had some connectivity troubles on this server, a strange 
bonding problem I am investigating on since yesterday. But with just one link, 
it is working ok, I have no similar errors after the ones you saw.   What can I 
do to really remove the task from the list ? Manual database cleanup ?   

 Le 15-Mar-2018 11:15:40 +0100, eshen...@redhat.com a crit:   
 Thank you for sending the logs.   According to the logs, it seems that you had 
some connectivity issue while you tried to preview the snapshot. The preview 
operation rolled back but according to you failed to finish.   It seems like 
you still have a connectivity issue with that host 
('pfm-srv-virt-1.pfm-ad.pfm.loc), try to see what happens to it.   Here is the 
relevant part from the log:2018-03-14 17:00:48,652+01 ERROR 
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] 
Heartbeat exceeded for host 'pfm-srv-virt-1.pfm-ad.pfm.loc', last response 
arrived 2003 ms ago. 2018-03-14 17:00:53,561+01 INFO 
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] 
Connecting to pfm-srv-virt-1.pfm-ad.pfm.loc/10.100.1.50 2018-03-14 
17:02:21,832+01 INFO 
[org.ovirt.engine.core.utils.transaction.TransactionSupport] 
(EE-ManagedThreadFactory-engine-Thread-118906) [] transaction rolled back   
2018-03-14 17:02:21,836+01 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-118906) [] EVENT_ID: 
USER_TRY_BACK_TO_SNAPSHOT_FINISH_FAILURE(99), Failed to complete 
Snapshot-Preview AFTER_INSTALL for VM pfm-ltsp-1. 2018-03-14 17:02:21,836+01 
ERROR [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] 
(EE-ManagedThreadFactory-engine-Thread-118906) [] [within thread]: endAction 
for action type TryBackToAllSnapshotsOfVm threw an exception.: 
java.lang.NullPointerException at 
org.ovirt.engine.core.bll.snapshots.SnapshotsManager.deviceCanBeRemoved(SnapshotsManager.java:463)
 [bll.jar:] at 
org.ovirt.engine.core.bll.snapshots.SnapshotsManager.attempToRestoreVmConfigurationFromSnapshot(SnapshotsManager.java:415)
 [bll.jar:] at 
org.ovirt.engine.core.bll.snapshots.TryBackToAllSnapshotsOfVmCommand.restoreVmConfigFromSnapshot(TryBackToAllSnapshotsOfVmCommand.java:204)
 [bll.jar:] at 
org.ovirt.engine.core.bll.snapshots.TryBackToAllSnapshotsOfVmCommand.endSuccessfully(TryBackToAllSnapshotsOfVmCommand.java:168)
 [bll.jar:] at 
org.ovirt.engine.core.bll.CommandBase.internalEndSuccessfully(CommandBase.java:675)
 [bll.jar:] at 
org.ovirt.engine.core.bll.CommandBase.endActionInTransactionScope(CommandBase.java:630)
 [bll.jar:] at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1936) 
[bll.jar:] at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202)
 [utils.jar:] at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:137)
 [utils.jar:] at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:105)
 [utils.jar:] at 
org.ovirt.engine.core.bll.CommandBase.endAction(CommandBase.java:495) 
[bll.jar:] at 
org.ovirt.engine.core.bll.tasks.DecoratedCommand.endAction(DecoratedCommand.java:17)
 [bll.jar:] at 
org.ovirt.engine.core.bll.tasks.CoCoAsyncTaskHelper.endAction(CoCoAsyncTaskHelper.java:353)
 [bll.jar:] at 
org.ovirt.engine.core.bll.tasks.CommandCoordinatorImpl.endAction(CommandCoordinatorImpl.java:347)
 [bll.jar:] at 
org.ovirt.engine.core.bll.tasks.CommandAsyncTask.endCommandAction(CommandAsyncTask.java:160)
 [bll.jar:] at 
org.ovirt.engine.core.bll.tasks.CommandAsyncTask.lambda$endActionIfNecessary$0(CommandAsyncTask.java:112)
 [bll.jar:] at 
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:96)
 [utils.jar:] at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[rt.jar:1.8.0_161] at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[rt.jar:1.8.0_161] at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[rt.jar:1.8.0_161] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[rt.jar:1.8.0_161] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161] 
at 
org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
 [javax.enterprise.concurrent-1.0.jar:] at 
org.jboss.as.ee.concurrent.service.ElytronManagedThreadFactory$ElytronManagedThread.run(ElytronManagedThreadFactory.java:78)
   2018-03-14 17:02:21,838+01 INFO 
[org.ovirt.engine.core.bll.tasks.CommandAsyncTask] 
(EE-ManagedThreadFactory-engine-Thread-118906) [] 
CommandAsyncTask::HandleEndActionResult: endAction for action type 
'TryBackToAllSnapshotsOfVm' threw an unrecoverable RuntimeException the task 
will be cleared. 2018-03-14 17:02:21,841+01 INFO 

Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread spfma . tech
In fact I don't really know how to change storage domains setttings (like nfs 
version or export path, ...), if it is only possible. 

I thought they could be disabled after stopping all related VMS, and maybe 
settings panel would then unlock ? 

But this should be impossible with hosted engine dedicated storage domain as it 
is required for the GUI itself. 

So I am stuck.

 Le 15-Mar-2018 09:59:30 +0100, eshen...@redhat.com a crit:   
 I am not sure what you mean, Can you please try to explain what is the 
difference between "VMs domain" to "hosted storage domain" according to you?   
Thanks,  
 On Thu, Mar 15, 2018 at 10:45 AM,  wrote:

 Thanks for your answer.
   And to use V4.1 instead of V3 on a domain, do I just have to disconnect it 
and change its settings ? Seems to be easy to do with VMs domains, but how to 
do it with hosted storage domain ?   Regards 

 Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a crit:   
 Hi,   NFS 4.1 supported and working since version 3.6 (according to this bug 
fix [1])   [1] Support NFS v4.1 connections - 
https://bugzilla.redhat.com/show_bug.cgi?id=1283964   

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

   -- 
  Regards, Eyal Shenitzky 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [4.2.2-1.el7.centos] Image locked and unending task

2018-03-15 Thread spfma . tech
Hi,
   I tried to rollback to a snapshot on a VM, but the preview never ended.   
The task has been running for about 15 hours, with this state :   {
 "916b67fb-8808-43d2-850c-1c12650ccc49": {
 "verb": "createVolume", 
 "code": 0, 
 "state": "finished", 
 "tag": "spm", 
 "result": {
 "uuid": "d37ca118-820f-46a3-b99b-714018ea8b42"
 }, 
 "message": "1 jobs completed successfully", 
 "id": "916b67fb-8808-43d2-850c-1c12650ccc49"
 }
}
   I just canceled it : the task list is now empty on the CLI but no change on 
GUI.   So I restared the engine VM, but no success.   With 
"/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh" I was able to manually 
unlock the image, but the task is still "finalizing".   Is this a bug ?
Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread spfma . tech
Thanks for your answer.
   And to use V4.1 instead of V3 on a domain, do I just have to disconnect it 
and change its settings ? Seems to be easy to do with VMs domains, but how to 
do it with hosted storage domain ?   Regards 

 Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a crit:   
 Hi,   NFS 4.1 supported and working since version 3.6 (according to this bug 
fix [1])   [1] Support NFS v4.1 connections - 
https://bugzilla.redhat.com/show_bug.cgi?id=1283964   

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NFS 4.1 support and migration

2018-03-15 Thread spfma . tech
Thanks for your answer.
   And in order to use V4.1 instead of V3 on a domain, do I just have to 
disconnect it and change its settings ? Seems to be doable with VMs domains, 
but how to do it with hosted storage domain ? I haven't find a command line way 
to do this yet.
   Regards   

 Le 14-Mar-2018 11:54:52 +0100, eshen...@redhat.com a crit:   
 Hi,   NFS 4.1 supported and working since version 3.6 (according to this bug 
fix [1])   [1] Support NFS v4.1 connections - 
https://bugzilla.redhat.com/show_bug.cgi?id=1283964   

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] NFS 4.1 support and migration

2018-03-14 Thread spfma . tech
Hi,
   Is NFS 4.1 supported and working flawlessly in oVirt ? I would like to 
give it a try (performances with // transferts), but as it requires changes in 
my network design if I want to add new links, I want to be sure it worth the 
effort.   Is there an easy way to "migrate"a NFS3 datastore to a NFS4.1 one 
? Options are greyed when the domain is up, so maybe it requires more care than 
just a simple click.
   Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM with "a lot" of disks : OK ?

2018-02-21 Thread spfma . tech
Hi,
 Is there any kind of penalty or risk using something like a dozen of separate 
disks for a VM stored on a NFS datastore ? Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multiple 'scsi' controllers with index '0'.

2018-02-21 Thread spfma . tech
Hi,
   I just got the same problem again, with version 4.2.2-1.   This time I 
wanted to add one more disk to a newly created machine, then it was not able to 
start again. Neither disabling or removing the disk helps.   Is there a way to 
tweak the configuration to remove this offending device, so that I can start 
the machine again ? Regards 

 Le 12-Feb-2018 09:43:53 +0100, spfma.t...@e.mail.fr a crit:   
 Hi, I have tried this but it didn't solved the problem. I removed the disk and 
tried to boot with an ISO but no more success. As I need to work on what was 
installed on this disk, I tried the most violent but efficient solution : 
destroying the VM and recreating it, keeping its mac address.   

 Le 09-Feb-2018 14:29:41 +0100, gianluca.cec...@gmail.com a crit: 

 Il 09 Feb 2018 13:50,  ha scritto:

 I have just done it.
   Is it possible to tweak this XML file (where ?) in order to get a working VM 
?   Regards  

 Le 09-Feb-2018 12:44:08 +0100, from...@redhat.com a crit: 

Hi, 

could you please file a bug? Please attach the failing XML, you should find it 
pretty easily in the Vdsm logs. 

Thanks, 
 On 02/09/2018 12:08 PM, spfma.t...@e.mail.fr wrote: 
   Hi,   I just wanted to increase the number of CPUs for a VM and after 
validating, I got the following error when I try to start it:   VM vm-test is 
down with error. Exit message: XML error: Multiple 'scsi' controllers with 
index '0'.   I am sure it is a bug, but for now, what can I do in order to 
remove or edit conflicting devices definitions ? I need to be able to start 
this machine.   4.2.0.2-1.el7.centos (as I still don't manage to update the 
hosted engine to something newer)   Regards   

-
FreeMail powered by mail.fr 

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

-- Francesco Romani Senior SW Eng., Virtualization R Red Hat IRC: fromani 
github: @fromanirh  

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

   I seem to remember a similar problem and that deactivating disks of the VM 
and the then activating them again corrected the problem. Or in case that 
doesn't work, try to remove disks and Then readd from the floating disk pane... 
Hih,  gianluca   

-
FreeMail powered by mail.fr 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disk image upload pausing

2018-02-21 Thread spfma . tech
Hi,
   I get this :ImageProxyAddress:hosted-ovirt-engine.domain.loc:54323 
version: general
   Regards 

 Le 21-Feb-2018 10:16:23 +0100, gianluca.cec...@gmail.com a crit:   
   On Tue, Feb 20, 2018 at 2:33 PM,  wrote:

 Hi,
   Here are lines I have found for my last faulty try : Just to be sure 
it is not a problem I got before and inherited by an update from a previous 
version (btw: version and history of this install?): if you execute this on 
engine what do you get   engine-config -g ImageProxyAddress   Gianluca 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disk image upload pausing

2018-02-20 Thread spfma . tech
Hi,
   Here are lines I have found for my last faulty try :ENGINE 2018-02-19 
17:52:27,283+01 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-3) [1320afb0] Running command: 
TransferImageStatusCommand internal: true. Entities affected : ID: 
aaa0----123456789aaa Type: SystemAction group CREATE_DISK with 
role type USER
2018-02-19 17:52:27,290+01 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand] 
(EE-ManagedThreadFactory-engineScheduled-Thread-3) [1320afb0] Lock freed to 
object 'EngineLock:{exclusiveLocks='', sharedLocks='[]'}'
2018-02-19 17:52:28,658+01 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.TransferImageStatusCommand] 
(default task-14) [32ba50ad-f7cd-4b7e-87b9-f7ad8a73a946] Running command: 
TransferImageStatusCommand internal: false. Entities affected : ID: 
aaa0----123456789aaa Type: SystemAction group CREATE_DISK with 
role type USER
2018-02-19 17:52:28,659+01 INFO 
[org.ovirt.engine.core.bll.storage.disk.image.ImageTransferUpdater] (default 
task-14) [32ba50ad-f7cd-4b7e-87b9-f7ad8a73a946] Updating image transfer 
1c55d561-45bf-4e57-b3b6-8fcbf3734a28 (image 
af5997c5-ae69-4677-9d86-30a978cf83a5) phase to Paused by System (message: 'Sent 
405200MB')
2018-02-19 17:52:28,665+01 WARN 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-14) [32ba50ad-f7cd-4b7e-87b9-f7ad8a73a946] EVENT_ID: 
UPLOAD_IMAGE_NETWORK_ERROR(1,038), Unable to upload image to disk 
af5997c5-ae69-4677-9d86-30a978cf83a5 due to a network error. Make sure 
ovirt-imageio-proxy service is installed and configured, and ovirt-engine's 
certificate is registered as a valid CA in the browser. The certificate can be 
fetched from 
https:///ovirt-engine/services/pki-resource?resource=ca-certificate font-size: 
10pt; color: #00;">PROXY (Thread-4087) ERROR 2018-02-19 17:52:28,644 
images:143:root:(make_imaged_request) Failed communicating with host: A 
Connection error occurred.
Traceback (most recent call last):
 File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py", line 
134, in make_imaged_request
 timeout=timeout, stream=stream)
 File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
 r = adapter.send(request, **kwargs)
 File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
 raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(32, 'Broken pipe'))
(Thread-4087) ERROR 2018-02-19 17:52:28,645 web:112:web:(log_error) ERROR 
[10.100.0.184] PUT /images/f64acb43-d153-485d-b441-9f5d42773a03: [503] Failed 
communicating with host: A Connection error occurred. (0.01s)
Traceback (most recent call last):
 File "/usr/lib/python2.7/site-packages/ovirt_imageio_common/web.py", line 64, 
in __call__
 resp = self.dispatch(request)
 File "/usr/lib/python2.7/site-packages/ovirt_imageio_common/web.py", line 91, 
in dispatch
 return method(*match.groups())
 File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py", 
line 104, in wrapper
 return func(self, *args)
 File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/http_helper.py", 
line 60, in wrapper
 ret = func(self, *args)
 File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py", line 
97, in put
 self.request.method, imaged_url, headers, body, stream)
 File "/usr/lib/python2.7/site-packages/ovirt_imageio_proxy/images.py", line 
144, in make_imaged_request
 raise exc.HTTPServiceUnavailable(s)
   I saw new updates so I applied them to the whole cluster and the engine VM, 
and finally rebooted everything.   My new try this morning was OK.   Maybe one 
service just needed a restart ?   Regards 

 Le 20-Feb-2018 06:54:49 +0100, ish...@redhat.com a crit:   
  Hi,

 Can you please attach the engine, vdsm, daemon and proxy logs?

Regards, Idan   
 On Mon, Feb 19, 2018 at 11:17 AM,  wrote:

   Hi, I am trying to build a new vm based on a vhd image coming from a windows 
machine. I converted the image to raw, and I am now trying to import it in the 
engine. After setting up the CA in my browser, the import process starts but 
stops after a while with "paused by system" status. I can resume it, but it 
pauses without transferring more. The engine logs don't explain much, I see a 
line for the start and the next one for the pause. My network seems to work 
correctly, and I have plenty of space in the storage domain. What can cause the 
process to pause ? Regards 

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-
FreeMail powered by mail.fr

[ovirt-users] Disk image upload pausing

2018-02-19 Thread spfma . tech
Hi, I am trying to build a new vm based on a vhd image coming from a windows 
machine. I converted the image to raw, and I am now trying to import it in the 
engine. After setting up the CA in my browser, the import process starts but 
stops after a while with "paused by system" status. I can resume it, but it 
pauses without transferring more. The engine logs don't explain much, I see a 
line for the start and the next one for the pause. My network seems to work 
correctly, and I have plenty of space in the storage domain. What can cause the 
process to pause ? Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network configuration validation error

2018-02-13 Thread spfma . tech
I did not see I had to enable another repo to get this update, so I was sure I 
had the latest version available !
 After adding it, things went a lot better and I was able to update the engine 
and all the nodes flawlessly to version 4.2.1.6-1.el7.centos Thanks a lot for 
your help !   The "no default route error" has disappeared indeed.   But I 
still couldn't validate network setup modifications on one node as I still had 
the following error in the GUI :  

* must match 
"^b((25[0-5]|2[0-4]d|[01]dd|d?d)_){3}(25[0-5]|2[0-4]d|[01]dd|d?d)"
* Attribute: ipConfiguration.iPv4Addresses[0].gateway

 So I tried a dummy thing : I put a value in the gateway field for the NIC 
which doesn't need one (NFS), was able to validate. Then I edited it again, 
removed the value and was able to validate again !Regards 

 Le 12-Feb-2018 10:42:30 +0100, mbur...@redhat.com a crit: 
  "no default route" bug was fixed only on 4.2.1 Your current version doesn't 
have the fix 
 On Mon, Feb 12, 2018 at 11:09 AM,  wrote:

 Le 12-Feb-2018 08:06:43 +0100, jbe...@redhat.com a crit: 
> This option relevant only for the upgrade from 3.6 to 4.0(engine had
 > different OS major versions), it all other cases the upgrade flow very
 > similar to upgrade flow of standard engine environment.
 > 
 > 
 > 1. Put hosted-engine environment to GlobalMaintenance(you can do it via
 > UI)
 > 2. Update engine packages(# yum update -y)
 > 3. Run engine-setup
 > 4. Disable GlobalMaintenance
 >   So I followed these steps connected in the engine VM and didn't get any 
 > error message. But the version showed in the GUI is  still 
 > 4.2.0.2-1.el7.centos. Yum had no newer packages to install. And I still have 
 > the "no default route" and network validation problems. Regards   
 > Could someone explain me at least what "Cluster PROD is at version 4.2 which
 > is not supported by this upgrade flow. Please fix it before upgrading."
 > means ? As far as I know 4.2 is the most recent branch available, isn't it ?

 I have no idea where did you get

 "Cluster PROD is at version 4.2 which is not supported by this upgrade flow. 
Please fix it before upgrading."

 Please do not cut output and provide exact one.

 IIUC you should do 'yum update ovirt*setup*' and then 'engine-setup'
 and only after it would finish successfully you would do 'yum -y update'.
 Maybe that's your problem?

 Jiri 

-
FreeMail powered by mail.fr  
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-- 

Michael Burman 

Senior Quality engineer - rhv network - redhat israel 

Red Hat 

 mbur...@redhat.com  M: 0545355725 IM: mburman 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network configuration validation error

2018-02-12 Thread spfma . tech
Le 12-Feb-2018 08:06:43 +0100, jbe...@redhat.com a crit: 
> This option relevant only for the upgrade from 3.6 to 4.0(engine had
 > different OS major versions), it all other cases the upgrade flow very
 > similar to upgrade flow of standard engine environment.
 > 
 > 
 > 1. Put hosted-engine environment to GlobalMaintenance(you can do it via
 > UI)
 > 2. Update engine packages(# yum update -y)
 > 3. Run engine-setup
 > 4. Disable GlobalMaintenance
 >   So I followed these steps connected in the engine VM and didn't get any 
 > error message. But the version showed in the GUI is  still 
 > 4.2.0.2-1.el7.centos. Yum had no newer packages to install. And I still have 
 > the "no default route" and network validation problems. Regards   
 > Could someone explain me at least what "Cluster PROD is at version 4.2 which
 > is not supported by this upgrade flow. Please fix it before upgrading."
 > means ? As far as I know 4.2 is the most recent branch available, isn't it ?

 I have no idea where did you get

 "Cluster PROD is at version 4.2 which is not supported by this upgrade flow. 
Please fix it before upgrading."

 Please do not cut output and provide exact one.

 IIUC you should do 'yum update ovirt\*setup\*' and then 'engine-setup'
 and only after it would finish successfully you would do 'yum -y update'.
 Maybe that's your problem?

 Jiri 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Multiple 'scsi' controllers with index '0'.

2018-02-12 Thread spfma . tech
Hi, I have tried this but it didn't solved the problem. I removed the disk and 
tried to boot with an ISO but no more success. As I need to work on what was 
installed on this disk, I tried the most violent but efficient solution : 
destroying the VM and recreating it, keeping its mac address.  

 Le 09-Feb-2018 14:29:41 +0100, gianluca.cec...@gmail.com a crit: 

 Il 09 Feb 2018 13:50,  ha scritto:

 I have just done it.
   Is it possible to tweak this XML file (where ?) in order to get a working VM 
?   Regards  

 Le 09-Feb-2018 12:44:08 +0100, from...@redhat.com a crit: 

Hi, 

could you please file a bug? Please attach the failing XML, you should find it 
pretty easily in the Vdsm logs. 

Thanks, 
 On 02/09/2018 12:08 PM, spfma.t...@e.mail.fr wrote: 
   Hi,   I just wanted to increase the number of CPUs for a VM and after 
validating, I got the following error when I try to start it:   VM vm-test is 
down with error. Exit message: XML error: Multiple 'scsi' controllers with 
index '0'.   I am sure it is a bug, but for now, what can I do in order to 
remove or edit conflicting devices definitions ? I need to be able to start 
this machine.   4.2.0.2-1.el7.centos (as I still don't manage to update the 
hosted engine to something newer)   Regards   

-
FreeMail powered by mail.fr 

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

-- Francesco Romani Senior SW Eng., Virtualization R Red Hat IRC: fromani 
github: @fromanirh  

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

   I seem to remember a similar problem and that deactivating disks of the VM 
and the then activating them again corrected the problem. Or in case that 
doesn't work, try to remove disks and Then readd from the floating disk pane... 
Hih,  gianluca   

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network configuration validation error

2018-02-12 Thread spfma . tech
Hi, This is the whole message. Here you get the whole output of the process. I 
runned these commands on the node hosting the engine vm. But if there is a more 
efficient workflow, I am interrested in it !   # yum -y update Modules 
complmentaires chargs : fastestmirror
base | 3.6 kB 00:00:00 
centos-sclo-rh-release | 2.9 kB 00:00:00 
extras | 3.4 kB 00:00:00 
ovirt-4.2 | 3.0 kB 00:00:00 
ovirt-4.2-centos-gluster312 | 2.9 kB 00:00:00 
ovirt-4.2-centos-opstools | 2.9 kB 00:00:00 
ovirt-4.2-centos-ovirt42 | 2.9 kB 00:00:00 
ovirt-4.2-centos-qemu-ev | 2.9 kB 00:00:00 
ovirt-4.2-epel/x86_64/metalink | 26 kB 00:00:00 
ovirt-4.2-virtio-win-latest | 3.0 kB 00:00:00 
updates | 3.4 kB 00:00:00 
Loading mirror speeds from cached hostfile
 * base: fr.mirror.babylon.network
 * extras: ftp.ciril.fr
 * ovirt-4.2: mirror.slu.cz
 * ovirt-4.2-epel: mirror.uv.es
 * updates: mirror.plusserver.com
No packages marked for update
# hosted-engine --upgrade-appliance 
[ INFO ] Stage: Initializing
[ INFO ] Stage: Environment setup
 During customization use CTRL-D to abort.

 
==
 Welcome to the oVirt Self Hosted Engine setup/Upgrade tool.

 Please refer to the oVirt install guide:
 https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install
 Please refer to the oVirt upgrade guide:
 https://www.ovirt.org/documentation/how-to/hosted-engine/#upgrade-hosted-engine
 
==
 Continuing will upgrade the engine VM running on this hosts deploying and 
configuring a new appliance.
 If your engine VM is already based on el7 you can also simply upgrade the 
engine there.
 This procedure will create a new disk on the hosted-engine storage domain and 
it will backup there the content of your current engine VM disk.
 The new el7 based appliance will be deployed over the existing disk destroying 
its content; at any time you will be able to rollback using the content of the 
backup disk.
 You will be asked to take a backup of the running engine and copy it to this 
host.
 The engine backup will be automatically injected and recovered on the new 
appliance.
 Are you sure you want to continue? (Yes, No)[Yes]: Yes
 Configuration files: []
 Log file: 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180212090846-pse285.log
 Version: otopi-1.7.5 (otopi-1.7.5-1.el7.centos)
[ INFO ] Detecting available oVirt engine appliances
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Checking maintenance mode
[ INFO ] The engine VM is running on this host
[ INFO ] Stage: Environment customization

 --== STORAGE CONFIGURATION ==--

[ INFO ] Answer file successfully loaded
[ INFO ] Acquiring internal CA cert from the engine
[ INFO ] The following CA certificate is going to be used, please immediately 
interrupt if not correct:
[ INFO ] Issuer: C=US, O=pfm-ad.pfm.loc, 
CN=pfm-ovirt-engine.pfm-ad.pfm.loc.60769, Subject: C=US, O=pfm-ad.pfm.loc, 
CN=pfm-ovirt-engine.pfm-ad.pfm.loc.60769, Fingerprint (SHA-1): 
2815C0CB4D6E05B7503917173F0D65B452C9D3DC

 --== HOST NETWORK CONFIGURATION ==--

[ INFO ] Checking SPM status on this host
[ INFO ] Connecting to Engine
 Enter engine admin username [admin@internal]: 
 Enter engine admin password: 
[ INFO ] Connecting to Engine
[ INFO ] This upgrade tool is running on the SPM host
[ INFO ] Bridge ovirtmgmt already created
[WARNING] Unable to uniquely detect the interface where Bridge ovirtmgmt has 
been created on, [u'bond0', u'vnet0', u'vnet1', u'vnet2'] appear to be valid 
alternatives

 --== VM CONFIGURATION ==--

 The following appliance have been found on your system:
 [1] - The oVirt Engine Appliance image (OVA) - 4.2-20171219.1.el7.centos
 [2] - Directly select an OVA file
 Please select an appliance (1, 2) [1]: 1
[ INFO ] Verifying its sha1sum
[ INFO ] Checking OVF archive content (could take a few minutes depending on 
archive size)
[ INFO ] Checking OVF XML content (could take a few minutes depending on 
archive size)
 Please specify the size of the VM disk in GB: [50]: 
[ INFO ] Connecting to Engine
[ INFO ] The hosted-engine storage domain has enough free space to contain a 
new backup disk.
[ INFO ] Checking version requirements
[ INFO ] Checking metadata area
[ INFO ] Hosted-engine configuration is at a compatible level
[ INFO ] Connecting to Engine
[ ERROR ] Cluster PROD is at version 4.2 which is not supported by this upgrade 
flow. Please fix it before upgrading.
[ ERROR ] Failed to execute stage 'Environment customization': Unsupported 
cluster level
[ INFO ] Stage: Clean up
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Hosted Engine upgrade failed

 Le 12-Feb-2018 08:06:43 +0100, jbe...@redhat.com a crit: 
> This option relevant only for the upgrade from 3.6 to 4.0(engine had
 > different OS major versions), it all other cases the 

Re: [ovirt-users] Multiple 'scsi' controllers with index '0'.

2018-02-09 Thread spfma . tech
I have just done it.
   Is it possible to tweak this XML file (where ?) in order to get a working VM 
?   Regards 

 Le 09-Feb-2018 12:44:08 +0100, from...@redhat.com a crit: 

Hi, 

could you please file a bug? Please attach the failing XML, you should find it 
pretty easily in the Vdsm logs. 

Thanks, 
 On 02/09/2018 12:08 PM, spfma.t...@e.mail.fr wrote: 
   Hi,   I just wanted to increase the number of CPUs for a VM and after 
validating, I got the following error when I try to start it:   VM vm-test is 
down with error. Exit message: XML error: Multiple 'scsi' controllers with 
index '0'.   I am sure it is a bug, but for now, what can I do in order to 
remove or edit conflicting devices definitions ? I need to be able to start 
this machine.   4.2.0.2-1.el7.centos (as I still don't manage to update the 
hosted engine to something newer)   Regards   

-
FreeMail powered by mail.fr 

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

-- Francesco Romani Senior SW Eng., Virtualization R Red Hat IRC: fromani 
github: @fromanirh  

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network configuration validation error

2018-02-09 Thread spfma . tech
Hi, Could someone explain me at least what "Cluster PROD is at version 4.2 
which is not supported by this upgrade flow. Please fix it before upgrading." 
means ? As far as I know 4.2 is the most recent branch available, isn't it ? 
Regards 

 Le 08-Feb-2018 09:59:32 +0100, mbur...@redhat.com a crit: 
   Not sure i understand from which version you trying to upgrade and what is 
the exact upgrade flow, if i got it correctly, it is seems that you upgraded 
the hosts to 4.2, but engine still 4.1?  What exactly the upgrade steps, please 
explain the flow., what have you done after upgrading the hosts? to what 
version?

 Cheers) 
 On Wed, Feb 7, 2018 at 3:00 PM,  wrote:

 Hi, Thanks a lot for your answer.I applied some updates at node level, but 
I forgot to upgrade the engine !   When I try to do so I get a strange error : 
"Cluster PROD is at version 4.2 which is not supported by this upgrade flow. 
Please fix it before upgrading."   Here are the installed packets on my nodes : 
python-ovirt-engine-sdk4-4.2.2-2.el7.centos.x86_64
ovirt-imageio-common-1.2.0-1.el7.centos.noarch
ovirt-hosted-engine-setup-2.2.3-1.el7.centos.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7.noarch
ovirt-setup-lib-1.1.4-1.el7.centos.noarch
ovirt-release42-4.2.0-1.el7.centos.noarch
ovirt-imageio-daemon-1.2.0-1.el7.centos.noarch
ovirt-host-dependencies-4.2.0-1.el7.centos.x86_64
ovirt-host-4.2.0-1.el7.centos.x86_64
ovirt-host-deploy-1.7.0-1.el7.centos.noarch
ovirt-hosted-engine-ha-2.2.2-1.el7.centos.noarch
ovirt-provider-ovn-driver-1.2.2-1.el7.centos.noarch
ovirt-engine-appliance-4.2-20171219.1.el7.centos.noarch
ovirt-vmconsole-host-1.0.4-1.el7.noarch
cockpit-ovirt-dashboard-0.11.3-0.1.el7.centos.noarch
ovirt-vmconsole-1.0.4-1.el7.noarch   What I am supposed to do ? I see no newer 
packages available.   Regards   

 Le 07-Feb-2018 13:23:43 +0100, mbur...@redhat.com a crit: 
Hi

 This is a bug and it was already fixed in 4.2.1.1-0.1.el7 - 
https://bugzilla.redhat.com/show_bug.cgi?id=1528906

 The no default route bug was fixed in - 
https://bugzilla.redhat.com/show_bug.cgi?id=1477589

 Thanks, 
 On Wed, Feb 7, 2018 at 1:15 PM,  wrote:

   Hi, I am experiencing a new problem : when I try to modify something in the 
network setup on the second node (added to the cluster after installing the 
engine on the other one) using the Engine GUI, I get the following error when 
validating :must match 
"^\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\_){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)"
 Attribut : ipConfiguration.iPv4Addresses[0].gateway   Moreover, on the general 
status of ther server, I have a "Host has no default route" alert.   The 
ovirtmgmt network has a defined gateway of course, and the storage network has 
none because it is not required. Both server have the same setup, with 
different addresses of course :-)   I have not been able to find anything 
useful in the logs.   Is this a bug or am I doing something wrong ?   Regards 

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-- 

Michael Burman 

Senior Quality engineer - rhv network - redhat israel 

Red Hat 

 mbur...@redhat.com  M: 0545355725 IM: mburman 

-
FreeMail powered by mail.fr  
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-- 

Michael Burman 

Senior Quality engineer - rhv network - redhat israel 

Red Hat 

 mbur...@redhat.com  M: 0545355725 IM: mburman 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Multiple 'scsi' controllers with index '0'.

2018-02-09 Thread spfma . tech
Hi,   I just wanted to increase the number of CPUs for a VM and after 
validating, I got the following error when I try to start it:   VM vm-test is 
down with error. Exit message: XML error: Multiple 'scsi' controllers with 
index '0'.   I am sure it is a bug, but for now, what can I do in order to 
remove or edit conflicting devices definitions ? I need to be able to start 
this machine.   4.2.0.2-1.el7.centos (as I still don't manage to update the 
hosted engine to something newer)   Regards   

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network configuration validation error

2018-02-08 Thread spfma . tech
In fact I don't know what flow should be followed. I have found several 
documentations, but most deal with older version so I am not sure I am doing 
right.
 Is there a working documented procedure somewhere ? 

 Le 08-Feb-2018 11:17:06 +0100, mbur...@redhat.com a crit: 
  Thanks, I'm not so familiar with the hosted-engine --upgrade-appliance flow, 
can someone from the list that is familiar with such flow assist?  
 On Thu, Feb 8, 2018 at 12:10 PM,  wrote:

 Hi,   I installed my nodes with the latest packages available in repositories. 
Then I installed the self-hosted engine on one of them, created the cluster and 
added the second node.   When I encountered these network config problems and 
saw your answer, I thougt it was time to update some packages to get 
corrections.   So I just runned a "yum update" on the nodes and rebooted them.  
 Then I put the engine in global maintenance mode and tried "hosted-engine 
--upgrade-appliance" on the node hosting it.   But it failed returning me this 
cluster version error.   The engine's about windows says "Software 
Version:4.2.0.2-1.el7.centos"   And for the hosts :OS Version:RHEL - 7 
- 4.1708.el7.centos OS Description:CentOS Linux 7 (Core) Kernel 
Version:3.10.0 - 693.17.1.el7.x86_64 KVM Version:2.9.0 - 16.el7_4.13.1  
   LIBVIRT Version:libvirt-3.2.0-14.el7_4.7 VDSM 
Version:vdsm-4.20.9.3-1.el7.centos SPICE Version:0.12.8 - 2.el7.1   
  GlusterFS Version:[N/A] CEPH Version:librbd1-0.94.5-2.el7  
Regards 

 Le 08-Feb-2018 09:59:32 +0100, mbur...@redhat.com a crit: 
   Not sure i understand from which version you trying to upgrade and what is 
the exact upgrade flow, if i got it correctly, it is seems that you upgraded 
the hosts to 4.2, but engine still 4.1? What exactly the upgrade steps, please 
explain the flow., what have you done after upgrading the hosts? to what 
version?

 Cheers) 
 On Wed, Feb 7, 2018 at 3:00 PM,  wrote:

 Hi, Thanks a lot for your answer.I applied some updates at node level, but 
I forgot to upgrade the engine !   When I try to do so I get a strange error : 
"Cluster PROD is at version 4.2 which is not supported by this upgrade flow. 
Please fix it before upgrading."   Here are the installed packets on my nodes : 
python-ovirt-engine-sdk4-4.2.2-2.el7.centos.x86_64
ovirt-imageio-common-1.2.0-1.el7.centos.noarch
ovirt-hosted-engine-setup-2.2.3-1.el7.centos.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7.noarch
ovirt-setup-lib-1.1.4-1.el7.centos.noarch
ovirt-release42-4.2.0-1.el7.centos.noarch
ovirt-imageio-daemon-1.2.0-1.el7.centos.noarch
ovirt-host-dependencies-4.2.0-1.el7.centos.x86_64
ovirt-host-4.2.0-1.el7.centos.x86_64
ovirt-host-deploy-1.7.0-1.el7.centos.noarch
ovirt-hosted-engine-ha-2.2.2-1.el7.centos.noarch
ovirt-provider-ovn-driver-1.2.2-1.el7.centos.noarch
ovirt-engine-appliance-4.2-20171219.1.el7.centos.noarch
ovirt-vmconsole-host-1.0.4-1.el7.noarch
cockpit-ovirt-dashboard-0.11.3-0.1.el7.centos.noarch
ovirt-vmconsole-1.0.4-1.el7.noarch   What I am supposed to do ? I see no newer 
packages available.   Regards   

 Le 07-Feb-2018 13:23:43 +0100, mbur...@redhat.com a crit: 
Hi

 This is a bug and it was already fixed in 4.2.1.1-0.1.el7 - 
https://bugzilla.redhat.com/show_bug.cgi?id=1528906

 The no default route bug was fixed in - 
https://bugzilla.redhat.com/show_bug.cgi?id=1477589

 Thanks, 
 On Wed, Feb 7, 2018 at 1:15 PM,  wrote:

   Hi, I am experiencing a new problem : when I try to modify something in the 
network setup on the second node (added to the cluster after installing the 
engine on the other one) using the Engine GUI, I get the following error when 
validating :must match 
"^\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\_){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)"
 Attribut : ipConfiguration.iPv4Addresses[0].gateway   Moreover, on the general 
status of ther server, I have a "Host has no default route" alert.   The 
ovirtmgmt network has a defined gateway of course, and the storage network has 
none because it is not required. Both server have the same setup, with 
different addresses of course :-)   I have not been able to find anything 
useful in the logs.   Is this a bug or am I doing something wrong ?   Regards 

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-- 

Michael Burman 

Senior Quality engineer - rhv network - redhat israel 

Red Hat 

 mbur...@redhat.com  M: 0545355725 IM: mburman 

-
FreeMail powered by mail.fr  
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-- 

Michael Burman 

Senior Quality engineer - rhv network - redhat israel 


Re: [ovirt-users] Network configuration validation error

2018-02-08 Thread spfma . tech
Hi,   I installed my nodes with the latest packages available in repositories. 
Then I installed the self-hosted engine on one of them, created the cluster and 
added the second node.   When I encountered these network config problems and 
saw your answer, I thougt it was time to update some packages to get 
corrections.   So I just runned a "yum update" on the nodes and rebooted them.  
 Then I put the engine in global maintenance mode and tried "hosted-engine 
--upgrade-appliance" on the node hosting it.   But it failed returning me this 
cluster version error.   The engine's about windows says "Software 
Version:4.2.0.2-1.el7.centos"   And for the hosts :OS Version:RHEL - 7 
- 4.1708.el7.centos OS Description:CentOS Linux 7 (Core) Kernel 
Version:3.10.0 - 693.17.1.el7.x86_64 KVM Version:2.9.0 - 16.el7_4.13.1  
   LIBVIRT Version:libvirt-3.2.0-14.el7_4.7 VDSM 
Version:vdsm-4.20.9.3-1.el7.centos SPICE Version:0.12.8 - 2.el7.1   
  GlusterFS Version:[N/A] CEPH Version:librbd1-0.94.5-2.el7  
Regards   

 Le 08-Feb-2018 09:59:32 +0100, mbur...@redhat.com a crit: 
   Not sure i understand from which version you trying to upgrade and what is 
the exact upgrade flow, if i got it correctly, it is seems that you upgraded 
the hosts to 4.2, but engine still 4.1?  What exactly the upgrade steps, please 
explain the flow., what have you done after upgrading the hosts? to what 
version?

 Cheers) 
 On Wed, Feb 7, 2018 at 3:00 PM,  wrote:

 Hi, Thanks a lot for your answer.I applied some updates at node level, but 
I forgot to upgrade the engine !   When I try to do so I get a strange error : 
"Cluster PROD is at version 4.2 which is not supported by this upgrade flow. 
Please fix it before upgrading."   Here are the installed packets on my nodes : 
python-ovirt-engine-sdk4-4.2.2-2.el7.centos.x86_64
ovirt-imageio-common-1.2.0-1.el7.centos.noarch
ovirt-hosted-engine-setup-2.2.3-1.el7.centos.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7.noarch
ovirt-setup-lib-1.1.4-1.el7.centos.noarch
ovirt-release42-4.2.0-1.el7.centos.noarch
ovirt-imageio-daemon-1.2.0-1.el7.centos.noarch
ovirt-host-dependencies-4.2.0-1.el7.centos.x86_64
ovirt-host-4.2.0-1.el7.centos.x86_64
ovirt-host-deploy-1.7.0-1.el7.centos.noarch
ovirt-hosted-engine-ha-2.2.2-1.el7.centos.noarch
ovirt-provider-ovn-driver-1.2.2-1.el7.centos.noarch
ovirt-engine-appliance-4.2-20171219.1.el7.centos.noarch
ovirt-vmconsole-host-1.0.4-1.el7.noarch
cockpit-ovirt-dashboard-0.11.3-0.1.el7.centos.noarch
ovirt-vmconsole-1.0.4-1.el7.noarch   What I am supposed to do ? I see no newer 
packages available.   Regards   

 Le 07-Feb-2018 13:23:43 +0100, mbur...@redhat.com a crit: 
Hi

 This is a bug and it was already fixed in 4.2.1.1-0.1.el7 - 
https://bugzilla.redhat.com/show_bug.cgi?id=1528906

 The no default route bug was fixed in - 
https://bugzilla.redhat.com/show_bug.cgi?id=1477589

 Thanks, 
 On Wed, Feb 7, 2018 at 1:15 PM,  wrote:

   Hi, I am experiencing a new problem : when I try to modify something in the 
network setup on the second node (added to the cluster after installing the 
engine on the other one) using the Engine GUI, I get the following error when 
validating :must match 
"^\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\_){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)"
 Attribut : ipConfiguration.iPv4Addresses[0].gateway   Moreover, on the general 
status of ther server, I have a "Host has no default route" alert.   The 
ovirtmgmt network has a defined gateway of course, and the storage network has 
none because it is not required. Both server have the same setup, with 
different addresses of course :-)   I have not been able to find anything 
useful in the logs.   Is this a bug or am I doing something wrong ?   Regards 

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-- 

Michael Burman 

Senior Quality engineer - rhv network - redhat israel 

Red Hat 

 mbur...@redhat.com  M: 0545355725 IM: mburman 

-
FreeMail powered by mail.fr  
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-- 

Michael Burman 

Senior Quality engineer - rhv network - redhat israel 

Red Hat 

 mbur...@redhat.com  M: 0545355725 IM: mburman 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Network configuration validation error

2018-02-07 Thread spfma . tech
Hi, Thanks a lot for your answer.I applied some updates at node level, but 
I forgot to upgrade the engine !   When I try to do so I get a strange error : 
"Cluster PROD is at version 4.2 which is not supported by this upgrade flow. 
Please fix it before upgrading."   Here are the installed packets on my nodes : 
python-ovirt-engine-sdk4-4.2.2-2.el7.centos.x86_64
ovirt-imageio-common-1.2.0-1.el7.centos.noarch
ovirt-hosted-engine-setup-2.2.3-1.el7.centos.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7.noarch
ovirt-setup-lib-1.1.4-1.el7.centos.noarch
ovirt-release42-4.2.0-1.el7.centos.noarch
ovirt-imageio-daemon-1.2.0-1.el7.centos.noarch
ovirt-host-dependencies-4.2.0-1.el7.centos.x86_64
ovirt-host-4.2.0-1.el7.centos.x86_64
ovirt-host-deploy-1.7.0-1.el7.centos.noarch
ovirt-hosted-engine-ha-2.2.2-1.el7.centos.noarch
ovirt-provider-ovn-driver-1.2.2-1.el7.centos.noarch
ovirt-engine-appliance-4.2-20171219.1.el7.centos.noarch
ovirt-vmconsole-host-1.0.4-1.el7.noarch
cockpit-ovirt-dashboard-0.11.3-0.1.el7.centos.noarch
ovirt-vmconsole-1.0.4-1.el7.noarch   What I am supposed to do ? I see no newer 
packages available.   Regards 

 Le 07-Feb-2018 13:23:43 +0100, mbur...@redhat.com a crit: 
Hi

 This is a bug and it was already fixed in 4.2.1.1-0.1.el7 - 
https://bugzilla.redhat.com/show_bug.cgi?id=1528906

 The no default route bug was fixed in - 
https://bugzilla.redhat.com/show_bug.cgi?id=1477589

 Thanks,  
 On Wed, Feb 7, 2018 at 1:15 PM,  wrote:

   Hi, I am experiencing a new problem : when I try to modify something in the 
network setup on the second node (added to the cluster after installing the 
engine on the other one) using the Engine GUI, I get the following error when 
validating :must match 
"^\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\_){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)"
 Attribut : ipConfiguration.iPv4Addresses[0].gateway   Moreover, on the general 
status of ther server, I have a "Host has no default route" alert.   The 
ovirtmgmt network has a defined gateway of course, and the storage network has 
none because it is not required. Both server have the same setup, with 
different addresses of course :-)   I have not been able to find anything 
useful in the logs.   Is this a bug or am I doing something wrong ?   Regards 

-
FreeMail powered by mail.fr 
___
 Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

-- 

Michael Burman 

Senior Quality engineer - rhv network - redhat israel 

Red Hat 

 mbur...@redhat.com  M: 0545355725 IM: mburman 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Network configuration validation error

2018-02-07 Thread spfma . tech
Hi, I am experiencing a new problem : when I try to modify something in the 
network setup on the second node (added to the cluster after installing the 
engine on the other one) using the Engine GUI, I get the following error when 
validating :must match 
"^\b((25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)\_){3}(25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)"
 Attribut : ipConfiguration.iPv4Addresses[0].gateway   Moreover, on the general 
status of ther server, I have a "Host has no default route" alert.   The 
ovirtmgmt network has a defined gateway of course, and the storage network has 
none because it is not required. Both server have the same setup, with 
different addresses of course :-)   I have not been able to find anything 
useful in the logs.   Is this a bug or am I doing something wrong ?   Regards 

-
FreeMail powered by mail.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] No available Host to migrate to

2018-02-01 Thread spfma . tech
Hi, Thanks for your answer. I totally missed that part when I added the second 
host to the cluster. I put it in maintenance, removed it from the cluster and 
then added it again with this setting. Works a lot better ! 

Regards 

 Le 01-Feb-2018 10:18:23 +0100, stira...@redhat.com a crit: 

 On Thu, Feb 1, 2018 at 9:06 AM,  wrote:

   Hi, What are the reasons that can cause this message to appear, in a cluster 
where most machines are able to migrate without problem ? I have this problem 
for the Engine VM and managed to solved it for another one which configuration 
prevented any kind of migration. RegardsThe engine VM could be migrated 
just to hosted-engine configured hosts. Do you have another hosted-engine host 
up and with the required resources to accommodate the engine VM?   

___
 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] Engine VM cannot be migrated

2018-01-31 Thread spfma . tech
Hi, What can prevent the hosted engine VM from being migrated ? I can migrate 
any other VM in the cluster (same servers), and it is supposed to be configured 
to be migrated manually or automatically as far as I can see.
 Regards
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Node network setup

2018-01-30 Thread spfma . tech
Hi,  I am trying to setup a cluster of two nodes, with self hoste Engine. 
Things went fine for the first machine, but it as rather messy about the second 
one. I would like to have load balancing and failover for both management 
network and storage (NFS repository).   So what should I exactly do to get a 
working network stack which can be recognized when I try to add this host to 
the cluster ?   Have tried configuring bonds and briges using Cockpit, using 
manual "ifcfg" files, but all the time I see the bridges and the bonds not 
linked in the Engine interface, so the new host cannot be enrolled. If I try to 
link "ovirtmgmt" to the the associated bond, I have a connectivity loss because 
it is the management device, and I have te restart the network services. As 
management configuration is not OK, I can't setup the storage connection.   And 
if I just try to activate the host, I will install and configure things and 
then complain about missing "ovirtmgmt" and "nfs" networks, which both exist 
and work and Centos level.   The interface, bonds and bridge names are 
copy/paste from the first server.   # brctl show ovirtmgmt
bridge name bridge id STP enabled interfaces
ovirtmgmt 8000.44a842394200 no bond0 # ip addr show bond0
33: bond0:  mtu 1500 qdisc noqueue master ovirtmgmt state UP qlen 1000
 link/ether 44:a8:42:39:42:00 brd ff:ff:ff:ff:ff:ff
 inet6 fe80::46a8:42ff:fe39:4200/64 scope link 
 valid_lft forever preferred_lft forever
# ip addr show em1
2: em1:  mtu 1500 qdisc mq master bond0 state UP qlen 1000
 link/ether 44:a8:42:39:42:00 brd ff:ff:ff:ff:ff:ff
# ip addr show em3
4: em3:  mtu 1500 qdisc mq master bond0 state UP qlen 1000
 link/ether 44:a8:42:39:42:00 brd ff:ff:ff:ff:ff:ff   By the way, is it 
mandatory to stop and disable NetworkManager or not ?   Thanks for any kind of 
help :-)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users