[ovirt-users] Re: lvcache on partitioned ssd or only on full device?

2018-10-24 Thread okok102928
Is this right?
1. Define the area where the Hypervisor OS will be installed on the SSD Raid1
2. Partition the disk
3. Using lvm as part of gluster brick cache

If what I understand is correct, configuration is possible but not recommended.
When the volume has a lot of I / O, it can cause problems with the hypervisor. 
(Response delay, etc.)

I have shed blood sweat & tears.

If you want to use lvcache, be sure to use a separate flash disk.
Never use NVMe. It has its own limit (bottleneck) and does not enjoy the 
benefits of nvme.
___
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/MEQCAPW26DFOPTKAQZFP2F6UC6NEWLSG/


[ovirt-users] Storage domain mount error: Lustre file system (Posix compliant FS)

2018-10-24 Thread okok102928
Hi.
I am an ovirt user in Korea. I am working on VDI. It's a pleasure to meet you, 
the ovirt specialists.
(I do not speak English well... Thank you for your understanding!)

I am testing Lustre File System in Ovirt or RH(E)V environment.
(The reason is simple: glusterfs and nfs have limit of performance, SAN Storage 
and excellent Software Defined Storage are quite expensive.)

Testing for file system performance was successful.
As expected, luster showed amazing performance.
However, there was an error adding luster storage to the storage domain as 
Posix compliant FS.


Domain Function : Data
Storage Type : POSIX compliant FS
Host to Use : [SPM_HOSTNAME]
Name : [STORAGE_DOMAIN_NAME]
Path : 10.10.10.15@tcp:/lustre/vmstore
VFS Type : lustre
Mount Options : 

The vdsm debug logs are shown below.


2018-10-25 12:46:58,963+0900 INFO  (jsonrpc/2) [storage.xlease] Formatting 
index for lockspace u'c0ef7ee6-1da9-4eef-9e03-387cd3a24445' (version=1) 
(xlease:653)
2018-10-25 12:46:58,971+0900 DEBUG (jsonrpc/2) [root] /usr/bin/dd 
iflag=fullblock 
of=/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases
 oflag=direct,seek_bytes seek=1048576 bs=256512 count=1 
conv=notrunc,nocreat,fsync (cwd None) (commands:65)
2018-10-25 12:46:58,985+0900 DEBUG (jsonrpc/2) [root] FAILED:  = 
"/usr/bin/dd: error writing 
'/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases':
 Invalid argument\n1+0 records in\n0+0 records out\n0 bytes (0 B) copied, 
0.000943896 s, 0.0 kB/s\n";  = 1 (commands:86) 
2018-10-25 12:46:58,985+0900 INFO  (jsonrpc/2) [vdsm.api] FINISH 
createStorageDomain error=Command ['/usr/bin/dd', 'iflag=fullblock', 
u'of=/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases',
 'oflag=direct,seek_bytes', 'seek=1048576', 'bs=256512', 'count=1', 
'conv=notrunc,nocreat,fsync'] failed with rc=1 out='[suppressed]' 
err="/usr/bin/dd: error writing 
'/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases':
 Invalid argument\n1+0 records in\n0+0 records out\n0 bytes (0 B) copied, 
0.000943896 s, 0.0 kB/s\n" from=:::192.168.161.104,52188, flow_id=794bd395, 
task_id=c9847bf3-2267-483b-9099-f05a46981f7f (api:50)
2018-10-25 12:46:58,985+0900 ERROR (jsonrpc/2) [storage.TaskManager.Task] 
(Task='c9847bf3-2267-483b-9099-f05a46981f7f') Unexpected error (task:875)
Traceback (most recent call last):  File 
"/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in _run
return fn(*args, **kargs)  File "", line 2, in createStorageDomain
  File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in method
ret = func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 2591, in 
createStorageDomain
storageType, domVersion)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/nfsSD.py", line 87, in 
create
remotePath, storageType, version)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/fileSD.py", line 465, in 
_prepareMetadata
cls.format_external_leases(sdUUID, xleases_path)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 1200, in 
format_external_leases
xlease.format_index(lockspace, backend)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/xlease.py", line 661, in 
format_index
index.dump(file)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/xlease.py", line 761, in 
dump
file.pwrite(INDEX_BASE, self._buf)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/xlease.py", line 994, in 
pwrite
self._run(args, data=buf[:])
  File "/usr/lib/python2.7/site-packages/vdsm/storage/xlease.py", line 1011, in 
_run
raise cmdutils.Error(args, rc, "[suppressed]", err)
Error: Command ['/usr/bin/dd', 'iflag=fullblock', 
u'of=/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases',
 'oflag=direct,seek_bytes', 'seek=1048576', 'bs=256512', 'count=1', 
'conv=notrunc,nocreat,fsync'] failed with rc=1 out='[suppressed]' 
err="/usr/bin/dd: error writing 
'/rhev/data-center/mnt/10.10.10.15@tcp:_lustre_vmstore/c0ef7ee6-1da9-4eef-9e03-387cd3a24445/dom_md/xleases':
 Invalid argument\n1+0 records in\n0+0 records out\n0 bytes (0 B) copied, 
0.000943896 s, 0.0 kB/s\n"
2018-10-25 12:46:58,986+0900 DEBUG (jsonrpc/2) [storage.TaskManager.Task] 
(Task='c9847bf3-2267-483b-9099-f05a46981f7f') Task._run: 
c9847bf3-2267-483b-9099-f05a46981f7f (6, 
u'c0ef7ee6-1da9-4eef-9e03-387cd3a24445', u'vmstore', 
u'10.10.10.15@tcp:/lustre/vmstore', 1, u'4') {} failed - stopping task 
(task:894)
2018-10-25 12:46:58,986+0900 DEBUG (jsonrpc/2) [storage.TaskManager.Task] 
(Task='c9847bf3-2267-483b-9099-f05a46981f7f') stopping in state failed (force 
False) (task:1256)
2018-10-25 12:46:58,986+0900 DEBUG (jsonrpc/2) [storage.TaskManager.Task] 
(Task='c9847bf3-2267-483b-9099-f05a46981f7f') ref 1 aborting Tru

[ovirt-users] lvcache on partitioned ssd or only on full device?

2018-10-24 Thread guillaume . pavese
Hi,

If possible, I would like to configure a hyperconverged cluster with hosts' 
system partitions and the gluster's lvcache on partitions of SSDs in RAID1.
Is it possible to define the lvcache on a partitioned device like /dev/sdaX ; 
or is it only supported to pass a whole device like /dev/sdb ?

Thanks for your help
___
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/HXVMF5SLGJWVRWGFIODVMS3Q6UYP5T5D/


[ovirt-users] Newbie Ovirt 4.2 - hosts all fail installs

2018-10-24 Thread nuno
Hi - I have just setup 3 hosts and I am running a self hosted engine on the 
primary host - I am now trying to add the remaining two and my installs take 
awhile and then fail.

Logs say ssh timeout, but the engine can get to the systems via DNS or hosts 
file etc - 

Any advice ? 

Thanx guys,


So i have 3 servers and i am running Ovirt 4.2 with a self hosted engine on the 
primary host. I am trying to add the other hosts but keep getting failed 
installs due to ssh timeouts - The engine can get to the hosts via DNS and via 
hosts files but the install just bombs.


Any advice ?  - i have added some of the engine.log to this mail -- 
Unfortunately Martin who works on this side of things is overseas training, so 
I am abit stuck 


Im trying to show dstv this setup so we can move them off the fusionSphere and 
move to RHEV 


##

2018-10-24 20:19:40,061+02 INFO  [org.ovirt.engine.core.uutils.ssh.SSHDialog] 
(EE-ManagedThreadFactory-engine-Thread-950) [337a439f] SSH execute 
'r...@ird-vhost02-sam.za.ds.naspers.com' 'umask 0077; 
MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; trap "chmod 
-R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 
0; tar --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy 
DIALOG/dialect=str:machine DIALOG/customization=bool:True'
2018-10-24 20:19:41,991+02 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(VdsDeploy) [337a439f] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host 
ird-vhost02-sam.za.ds.nas.com. Stage: Initializing.
2018-10-24 20:19:42,083+02 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(VdsDeploy) [337a439f] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host 
ird-vhost02-sam.za.ds.nas.com. Stage: Environment setup.
2018-10-24 20:19:42,138+02 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(VdsDeploy) [337a439f] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host 
ird-vhost02-sam.za.ds.nas.com. Stage: Environment packages setup.
2018-10-24 20:19:52,969+02 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) 
[2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] Error during deploy dialog
2018-10-24 20:19:52,973+02 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] 
(EE-ManagedThreadFactory-engine-Thread-789) 
[2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] SSH error running command 
r...@ird-vhost03-sam.za.ds.nas.com:'umask 0077; 
MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; trap "chmod 
-R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 
0; tar --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy 
DIALOG/dialect=str:machine DIALOG/customization=bool:True': 
TimeLimitExceededException: SSH session timeout host 
'r...@ird-vhost03-sam.za.ds.nas.com'
2018-10-24 20:19:52,977+02 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] 
(EE-ManagedThreadFactory-engine-Thread-789) 
[2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] Timeout during host 
ird-vhost03-sam.za.ds.naspers.com install: SSH session timeout host 
'r...@ird-vhost03-sam.za.ds.nas.com'
2018-10-24 20:19:52,981+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-789) 
[2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] EVENT_ID: 
VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation 
of Host ird-vhost03-sam.za.ds.nas.com: Processing stopped due to timeout.
2018-10-24 20:19:52,981+02 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-789) 
[2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] Host installation failed for host 
'126448ff-2561-416b-b265-ad027683080e', 'ird-vhost03-sam.za.ds.nas.com': SSH 
session timeout host 'r...@ird-vhost03-sam.za.ds.nas.com'
2018-10-24 20:19:52,984+02 INFO  
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-789) 
[2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] START, SetVdsStatusVDSCommand(HostName = 
ird-vhost03-sam.za.ds.nas.com, 
SetVdsStatusVDSCommandParameters:{hostId='126448ff-2561-416b-b265-ad027683080e',
 status='InstallFailed', nonOperationalReason='NONE', 
stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 1648388
2018-10-24 20:19:52,987+02 INFO  
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-789) 
[2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] FINISH, SetVdsStatusVDSCommand, log id: 
1648388
2018-10-24 20:19:52,989+02 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-789) 
[2c4d56fb-f5f3-4eba-b3dd-1f2646b38eec] EVENT_ID: VDS_INSTALL_FAILED(505), Host 
ird-vhost03-sam.za.ds.nas.com installation failed. SSH session timeout host 
'r...@ird-vhost03-sam.za.ds.nas.com'.
2018-10-24 20:19:52,993+02 INFO  
[org.ovirt.engine.core.bll.hostdeploy.Instal

[ovirt-users] Tutorial for beginners:: oVirt - how to add 2nd (DMZ) net interface for VMs

2018-10-24 Thread Andrei Verovski

Hi,


I made another short video tutorial (slide show with screenshots and 
instruction) for beginners.


Explains how to add additional network interfaces (e.g. DMZ) to virtual 
machines running under oVirt/KVM.


https://youtu.be/ij4uMv9N1wo

Best when viewed in full-screen mode at 1080p resolution for clear text 
on screenshots.


with best regards
Andrei
___
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/BEWCQSDPTDS7BKZQTXQMT66IUMHB3QN2/


[ovirt-users] Re: cli

2018-10-24 Thread Fred Rolland
Hi,

You can use the python SDK:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py

Regards,
Fred

On Wed, Oct 24, 2018 at 6:04 PM  wrote:

> Hi,
>
> How can I list all VMs on the CLI?
>
> Thanks
>
> --
> --
> Jose Ferradeira
> http://www.logicworks.pt
> ___
> 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/S3YSX65EAQAX3MNTEEF6GKPMJRFDJJYV/
>
___
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/PKMNFS2JZ5K4UUU5SJ7V46MCSJVH7RBO/


[ovirt-users] Re: Diary of hosted engine install woes

2018-10-24 Thread Brendan Holmes
Hi Simone,

 

[root@host ~]# virsh -r net-dhcp-leases default

Expiry Time  MAC addressProtocol  IP address
HostnameClient ID or DUID

---

 

[root@host ~]#

 

No, node is running on bare-metal.  Node was installed by plugging in a 
bootable USB.

 

Many thanks,

Brendan

 

From: Simone Tiraboschi  
Sent: 24 October 2018 16:11
To: B Holmes 
Cc: users 
Subject: Re: [ovirt-users] Re: Diary of hosted engine install woes

 

 

On Wed, Oct 24, 2018 at 4:56 PM Brendan Holmes mailto:m...@brendanh.com> > wrote:

Hi Simone,

 

My attempt to install the RPM output hundreds of lines similar to:

/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/__init__.pyc from 
install of ovirt-hosted-engine-setup-2.2.29-1.el7.noarch conflicts with file 
from package ovirt-hosted-engine-setup-2.2.26-1.el7.noarch

 

Do I need to install the matching version of ovirt node?

 

“using it interactively without manually filing an answerfile” – if you mean 
using command: hosted-engine –deploy 

and then manually typing each value, I tried this (choosing the static IP 
option) and the usual error occurs.  I attach the log from this attempt.

 

The issue here is that it seams that your VM never got an address from libvirt 
default network DHCP:

2018-10-24 15:36:14,370+0100 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 
local_vm_ip: {'stderr_lines': [], u'changed': True, u'end': u'2018-10-24 
15:36:13.196641', u'stdout': u'', u'cmd': u"virsh -r net-dhcp-leases default | 
grep -i 00:16:3e:3d:13:d8 | awk '{ print $5 }' | cut -f1 -d'/'", 'failed': 
False, u'delta': u'0:00:00.054641', u'stderr': u'', u'rc': 0, 'stdout_lines': 
[], u'start': u'2018-10-24 15:36:13.142000'}

 

Can you please share the output of 

  virsh -r net-dhcp-leases default 

 

Are you running nested on a different hypervisor?

 

 

Many thanks,

Brendan

 

From: Simone Tiraboschi mailto:stira...@redhat.com> > 
Sent: 24 October 2018 08:44
To: B Holmes mailto:m...@brendanh.com> >
Cc: users mailto:users@ovirt.org> >
Subject: Re: [ovirt-users] Re: Diary of hosted engine install woes

 

Can you please retry installing 
https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/157/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.29-1.el7.noarch.rpm
 and using it interactively without manually filing an answerfile?

On Tue, Oct 23, 2018 at 11:19 PM Brendan Holmes mailto:m...@brendanh.com> > wrote:

Hi Simone,

 

I attempted to use a fixed IP address instead of DHCP.  I attach an attempt 
using answer-file parameter:

OVEHOSTED_VM/cloudinitVMStaticCIDR=str:10.0.0.109/24   

which is in accordance with this example on your website:

https://ovirt.org/develop/release-management/features/integration/heapplianceflow/

 

However, instead of this, you will notice that the log has:

OVEHOSTED_VM/cloudinitVMStaticCIDR=bool:'False'

 

The same error as usual occurred.  Is this:

1.  The wrong syntax\format for specifying a “cloudinitVMStaticCIDR” IP?
2.  ovirt setup is ignoring it: either failing to assign the IP to the 
engine VM or to variable “local_vm_ip.stdout_lines”?
3.  Something else?

 

“You can also connect to that VM with VNC to check what's going on.” – Doesn’t 
work.  Port querying 10.0.0.109 on 5800\5900 fails, so I don’t think the VM is 
networked.  Which port does engine VNC use?

 

Many thanks,

Brendan

 

From: Simone Tiraboschi mailto:stira...@redhat.com> > 
Sent: 23 October 2018 09:09
To: B Holmes mailto:m...@brendanh.com> >
Cc: users mailto:users@ovirt.org> >
Subject: Re: [ovirt-users] Re: Diary of hosted engine install woes

 

OK,

according to this log file, the target engine VM didn't got an IPv4 address:

 

 

 

Are you sure that your DHCP server is properly working?

You can also connect to that VM with VNC to check what's going on.

 

On Mon, Oct 22, 2018 at 10:37 PM Brendan Holmes mailto:m...@brendanh.com> > wrote:

Hi Simone,

 

Pls see attached the log without any of my variable-enumeration changes.

 

Many thanks,

Brendan

 

From: Simone Tiraboschi mailto:stira...@redhat.com> > 
Sent: 22 October 2018 13:33
To: B Holmes mailto:m...@brendanh.com> >
Cc: users mailto:users@ovirt.org> >
Subject: Re: [ovirt-users] Re: Diary of hosted engine install woes

 

 

On Sun, Oct 21, 2018 at 11:50 PM Brendan Holmes mailto:m...@brendanh.com> > wrote:

Hi Simone,

 

Sorry for late response, I’ve been unwell.  Attached is the whole log you 
requested.  I hope it reveals why variable “local_vm_ip.stdout_lines” is not 
being populated.

 

Hi,

according to your log file the deployment was successful: 

 

at this point I can only suggest again to simply run the vanilla code without 
any custom patch.

 

From: Simone Tiraboschi mailto:stira...@redhat.com> > 
Sent: 15 October 201

[ovirt-users] Re: Using the web-ui VM portal through a proxy failing

2018-10-24 Thread Callum Smith
Dear Greg,

Here's my config, this is based on the original guide and some other stuff that 
i found to help make it work.
Squid Cache: Version 3.5.20

https_port 443 accel key=/etc/squid/rescomp-vmgw.well.ox.ac.uk.proxy.key 
cert=/etc/squid/rescomp-vmgw.well.ox.ac.uk.proxy.crt defaultsite=
cache_peer  parent 443 0 no-query originserver ssl 
sslcafile=/etc/squid/ca.pem sslflags=DONT_VERIFY_PEER name=engine
cache_peer_access engine allow all
ssl_bump allow all
http_port 3128
acl ovirt_nodes dst 
acl ovirt_engine dstdomain .
acl all_ips src 1.1.1.1/1
http_access allow ovirt_nodes ovirt_engine
http_access allow all_ips
http_access allow all


# Following are from:
# https://access.redhat.com/solutions/425693

# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid

# RHEV and Spice may leave connections idle for long periods
pconn_timeout   12 hours
request_timeout 12 hours
read_timeout12 hours

# We need approx 20 open filehandles per spice client
max_filedesc 16384

Regards,
Callum

--

Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. cal...@well.ox.ac.uk

On 3 Oct 2018, at 00:39, Greg Sheremeta 
mailto:gsher...@redhat.com>> wrote:

Hi Callum,

I took a look at this, but got in the weeds pretty quickly with squid 
configuration. I can help more offline, but it might be a while.

It'll probably be easier if you can provide me exact steps for how I could 
reproduce. Looks like I need to generate some keys. Can you create and share a 
simple reproducer?

Greg


On Thu, Sep 20, 2018 at 11:37 AM Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:
Dear Greg,

Did you manage to get any further with this, reverse proxy is rather critical 
to this project.

Regards,
Callum

--

Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. cal...@well.ox.ac.uk

On 6 Aug 2018, at 12:13, Greg Sheremeta 
mailto:gsher...@redhat.com>> wrote:

I'll look into it and get back to you.

On Mon, Aug 6, 2018 at 7:02 AM Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:
Dear Greg,

So what's the go-to here, it seems so close but something in the API ajax is 
failing.

Regards,
Callum

--

Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. cal...@well.ox.ac.uk

On 27 Jul 2018, at 12:21, Greg Sheremeta 
mailto:gsher...@redhat.com>> wrote:

On Fri, Jul 27, 2018 at 4:39 AM Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:
Dear Greg,

Indeed, always the latest and greatest for us while trying to get this running.

https://www.ovirt.org/documentation/security/squid-reverse-proxy/

Arrggghh, that is referring to the old GWT UserPortal and not the new 
react-based VM Portal. (I'll delete it / mark it obsolete. I apologize for the 
out-of-date state of our documentation. I am working on improving it.)

Unfortunately we have never tested VM Portal with squid.

@Lukas Svaty any chance you or someone on the team 
can assist?


And the squid.conf file looks like this:

https_port 443 accel key=/etc/squid/rescomp-vmgw.well.ox.ac.uk.proxy.key 
cert=/etc/squid/rescomp-vmgw.well.ox.ac.uk.proxy.crt 
defaultsite=ovirtengine.cluster
cache_peer ovirtengine.cluster parent 443 0 no-query originserver ssl 
sslcafile=/etc/squid/ca.pem sslflags=DONT_VERIFY_PEER name=engine
cache_peer_access engine allow all
ssl_bump allow all
http_port 3128
acl ovirt_nodes dst 192.168.64.0/24
acl ovirt_engine dstdomain .ovirtengine.cluster
acl all_ips src 1.1.1.1/1
http_access allow ovirt_nodes ovirt_engine
http_access allow all_ips
http_access allow all


# Following are from:
# https://access.redhat.com/solutions/425693

# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid

# RHEV and Spice may leave connections idle for long periods
pconn_timeout   12 hours
request_timeout 12 hours
read_timeout12 hours

# We need approx 20 open filehandles per spice client
max_filedesc 16384

Regards,
Callum

--

Callum Smith
Research Computing Core
Wellcome Trust Centre for Human Genetics
University of Oxford
e. cal...@well.ox.ac.uk

On 27 Jul 2018, at 01:15, Greg Sheremeta 
mailto:gsher...@redhat.com>> wrote:

>From your other thread, I'm guessing 4.2.4.

Can you send the link to the squid guide you used?

On Wed, Jul 25, 2018 at 7:55 PM Greg Sheremeta 
mailto:gsher...@redhat.com>> wrote:
Hi Callum,

What version of ovirt-web-ui is this?

Greg

On Wed, Jul 18, 2018 at 7:12 AM Callum Smith 
mailto:cal...@well.ox.ac.uk>> wrote:
Dear All,

Those error logs are relevant only to another issue, please ignore.

There appears to be a problem to do with authentication through the squid proxy 
though, which presents differently in Safari and Firefox:

[X][X]

Sorry for the screenshots but its the only way i can extract this data du

[ovirt-users] Re: Diary of hosted engine install woes

2018-10-24 Thread Simone Tiraboschi
On Wed, Oct 24, 2018 at 4:56 PM Brendan Holmes  wrote:

> Hi Simone,
>
>
>
> My attempt to install the RPM output hundreds of lines similar to:
>
> /usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/__init__.pyc
> from install of ovirt-hosted-engine-setup-2.2.29-1.el7.noarch conflicts
> with file from package ovirt-hosted-engine-setup-2.2.26-1.el7.noarch
>
>
>
> Do I need to install the matching version of ovirt node?
>
>
>
> “using it interactively without manually filing an answerfile” – if you
> mean using command: hosted-engine –deploy
>
> and then manually typing each value, I tried this (choosing the static IP
> option) and the usual error occurs.  I attach the log from this attempt.
>

The issue here is that it seams that your VM never got an address from
libvirt default network DHCP:
2018-10-24 15:36:14,370+0100 DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 local_vm_ip: {'stderr_lines': [],
u'changed': True, u'end': u'2018-10-24 15:36:13.196641', u'stdout': u'',
u'cmd': u"virsh -r net-dhcp-leases default | grep -i 00:16:3e:3d:13:d8 |
awk '{ print $5 }' | cut -f1 -d'/'", 'failed': False, u'delta':
u'0:00:00.054641', u'stderr': u'', u'rc': 0, 'stdout_lines': [], u'start':
u'2018-10-24 15:36:13.142000'}

Can you please share the output of
  virsh -r net-dhcp-leases default

Are you running nested on a different hypervisor?


>
>
> Many thanks,
>
> Brendan
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 24 October 2018 08:44
> *To:* B Holmes 
> *Cc:* users 
> *Subject:* Re: [ovirt-users] Re: Diary of hosted engine install woes
>
>
>
> Can you please retry installing
> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/157/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.29-1.el7.noarch.rpm
> and using it interactively without manually filing an answerfile?
>
> On Tue, Oct 23, 2018 at 11:19 PM Brendan Holmes  wrote:
>
> Hi Simone,
>
>
>
> I attempted to use a fixed IP address instead of DHCP.  I attach an
> attempt using answer-file parameter:
>
> OVEHOSTED_VM/cloudinitVMStaticCIDR=str:10.0.0.109/24
>
> which is in accordance with this example on your website:
>
>
> https://ovirt.org/develop/release-management/features/integration/heapplianceflow/
>
>
>
> However, instead of this, you will notice that the log has:
>
> OVEHOSTED_VM/cloudinitVMStaticCIDR=bool:'False'
>
>
>
> The same error as usual occurred.  Is this:
>
>1. The wrong syntax\format for specifying a “cloudinitVMStaticCIDR” IP?
>2. ovirt setup is ignoring it: either failing to assign the IP to the
>engine VM or to variable “local_vm_ip.stdout_lines”?
>3. Something else?
>
>
>
> “You can also connect to that VM with VNC to check what's going on.” –
> Doesn’t work.  Port querying 10.0.0.109 on 5800\5900 fails, so I don’t
> think the VM is networked.  Which port does engine VNC use?
>
>
>
> Many thanks,
>
> Brendan
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 23 October 2018 09:09
> *To:* B Holmes 
> *Cc:* users 
> *Subject:* Re: [ovirt-users] Re: Diary of hosted engine install woes
>
>
>
> OK,
>
> according to this log file, the target engine VM didn't got an IPv4
> address:
>
>
>
>
>
>
>
> Are you sure that your DHCP server is properly working?
>
> You can also connect to that VM with VNC to check what's going on.
>
>
>
> On Mon, Oct 22, 2018 at 10:37 PM Brendan Holmes  wrote:
>
> Hi Simone,
>
>
>
> Pls see attached the log without any of my variable-enumeration changes.
>
>
>
> Many thanks,
>
> Brendan
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 22 October 2018 13:33
> *To:* B Holmes 
> *Cc:* users 
> *Subject:* Re: [ovirt-users] Re: Diary of hosted engine install woes
>
>
>
>
>
> On Sun, Oct 21, 2018 at 11:50 PM Brendan Holmes  wrote:
>
> Hi Simone,
>
>
>
> Sorry for late response, I’ve been unwell.  Attached is the whole log you
> requested.  I hope it reveals why variable “local_vm_ip.stdout_lines” is
> not being populated.
>
>
>
> Hi,
>
> according to your log file the deployment was successful:
>
>
>
> at this point I can only suggest again to simply run the vanilla code
> without any custom patch.
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 15 October 2018 04:49
>
> On Sun, Oct 14, 2018 at 6:08 AM Brendan Holmes  wrote:
>
> Hi Simone,
>
> [ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an
> option with an undefined variable. The error was: list object has no
> element 0\n\nThe error appears to have been in
> '/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line
> 396, column 5, but may\nbe elsewhere in the file depending on the exact
> syntax problem.\n\nThe offending line appears to be:\n\nchanged_when:
> True\n  - name: Clean /etc/hosts on the host\n^ here\n"}
>
>
>
> I think that this is just an error in the clean up on failures phase due
> to something bad before.
>
> Can you please attach the whole deployment log from
> /var/log/ovirt-hosted-engine/hosted-engine.log ?
>
>
>
>
__

[ovirt-users] cli

2018-10-24 Thread suporte
Hi, 

How can I list all VMs on the CLI? 

Thanks 

-- 

Jose Ferradeira 
http://www.logicworks.pt 
___
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/S3YSX65EAQAX3MNTEEF6GKPMJRFDJJYV/


[ovirt-users] clear tasks from WebUI

2018-10-24 Thread David David
Hi
oVirt 4.2.5.2-1.el7
 I tried to delete an Illegal vm disk and that failed. Then I completely remove
the VM who had that broken disk. But task is stuck in the WebUI from my
previous disk deletion attempt
vdsm-client Host getAllTasksInfo on the SPM host, shows no tasks.
How do I clear the tasks from the WebUI?
___
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/AR3EEH65BRBGSLFAY24GGQBZL3ALJ2GK/


[ovirt-users] Re: Adding local block storage

2018-10-24 Thread Tryfon Farmakakis
Yes, I have seen this guide. So my understanding is that you can add local 
storage either through iSCSI, or through a local filesystem (this is the 
storage directory you are referring to). There is no way to add a directly 
attached block device (eg /dev/sdb). Is this correct?
___
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/6EP4NKG22FSJLM65WGN5D6TOJBF4JDU5/


[ovirt-users] [ANN] oVirt 4.2.7 Fourth Release Candidate is now available

2018-10-24 Thread Sandro Bonazzola
The oVirt Project is pleased to announce the availability of the oVirt
4.2.7 Fourth Release Candidate, as of October 24th, 2018.

This update is a release candidate of the seventh in a series of
stabilization updates to the 4.2 series.
This is pre-release software. This pre-release should not to be used in
production.

This release is available now for:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.5 or later
* CentOS Linux (or similar) 7.5 or later

See the release notes [1] for installation / upgrade instructions and
a list of new features and bugs fixed.

Notes:
- oVirt Appliance is available
- oVirt Node is available [2]
- oVirt Tools Setup ISO is available[2]

Additional Resources:
* Read more about the oVirt 4.2.7 release highlights:
http://www.ovirt.org/release/4.2.7/
* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
http://www.ovirt.org/blog/

[1] http://www.ovirt.org/release/4.2.7/
[2] http://resources.ovirt.org/pub/ovirt-4.2-pre/iso/

-- 

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA 

sbona...@redhat.com


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


[ovirt-users] Re: Adding local block storage

2018-10-24 Thread Lucie Leistnerova

Hi, guide for adding local storage is here:

https://www.ovirt.org/documentation/admin-guide/chap-Storage/#preparing-local-storage

I guess that main problem is the directory you want to add as storage:

*Important:* On oVirt Node, the path used for local storage must be 
within the /var directory; create the storage directory in the following 
procedure within |/var|.


Lucie

On 10/24/18 11:50 AM, Tryfon Farmakakis wrote:

Hi, I have a 4.2 ovirt installation with the ovirt engine on one physical host and two other physical hosts already 
successfully added in my "Hosts". I want to use a local block device on one of the hosts for storage and I 
can't find any guide on how to do that. I tried putting the host in maintenance mode and then select "Configure 
local storage" and put "/dev/sdb" where it says "Set the path to your local storage:". Then I 
get the error:
  2018-10-24 05:38:11,166-04 ERROR 
[org.ovirt.engine.core.bll.storage.connection.FileStorageHelper] (default 
task-37) [_WEBADMIN_15309851_Configure_Local_Storage] The connection with 
details '/dev/sdb' failed because of error code '469' and error message is: 
permission settings on the specified path do not allow access to the storage.

What am I doing wrong?
  
___

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/QIE25GTCP64D43H2JTUEC7HB6Y32W2TA/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

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


[ovirt-users] REST API on Engine

2018-10-24 Thread Vrgotic, Marko
Dear oVirt team,

My project with the company for Operations is a success and department is 
successfully using oVirt 4.2.6 (started with 4.2.0 this January) platform with 
SHE and 12 Hypervisors, hooked to GlusterFS distributed-replicated, managed 
outside of oVirt. It is used for Support of Customers, Projects and Trainings.
Thank you oVirt community for such a great platform.
In fact, if it going so well that now I have the task to build new platform for 
Development/Engineering.

Since the users foot print is going to grow from 10 to 80 or 120, plus all the 
automated testing, I am wondering is there a way to make REST API of the Engine 
in HA/LB mode.
For the other services, that is purpose of SHE and DB can always be in 
clustered mode, but I currently need information if there is something I can do 
in this direction for REST API.

Kindly awaiting your reply.


— — —
Met vriendelijke groet / Kind regards,

Marko Vrgotic
Sr.  System Engineer
m.vrgo...@activevideo.com
tel. +31 (0)35 677 4131
ActiveVideo BV
Mediacentrum 3741
Joop van den Endeplein 1
1217 WJ Hilversum


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


[ovirt-users] Adding local block storage

2018-10-24 Thread Tryfon Farmakakis
Hi, I have a 4.2 ovirt installation with the ovirt engine on one physical host 
and two other physical hosts already successfully added in my "Hosts". I want 
to use a local block device on one of the hosts for storage and I can't find 
any guide on how to do that. I tried putting the host in maintenance mode and 
then select "Configure local storage" and put "/dev/sdb" where it says "Set the 
path to your local storage:". Then I get the error:
 2018-10-24 05:38:11,166-04 ERROR 
[org.ovirt.engine.core.bll.storage.connection.FileStorageHelper] (default 
task-37) [_WEBADMIN_15309851_Configure_Local_Storage] The connection with 
details '/dev/sdb' failed because of error code '469' and error message is: 
permission settings on the specified path do not allow access to the storage.

What am I doing wrong?
 
___
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/QIE25GTCP64D43H2JTUEC7HB6Y32W2TA/


[ovirt-users] Re: Diary of hosted engine install woes

2018-10-24 Thread Simone Tiraboschi
Can you please retry installing
https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/157/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.29-1.el7.noarch.rpm
and using it interactively without manually filing an answerfile?

On Tue, Oct 23, 2018 at 11:19 PM Brendan Holmes  wrote:

> Hi Simone,
>
>
>
> I attempted to use a fixed IP address instead of DHCP.  I attach an
> attempt using answer-file parameter:
>
> OVEHOSTED_VM/cloudinitVMStaticCIDR=str:10.0.0.109/24
>
> which is in accordance with this example on your website:
>
>
> https://ovirt.org/develop/release-management/features/integration/heapplianceflow/
>
>
>
> However, instead of this, you will notice that the log has:
>
> OVEHOSTED_VM/cloudinitVMStaticCIDR=bool:'False'
>
>
>
> The same error as usual occurred.  Is this:
>
>1. The wrong syntax\format for specifying a “cloudinitVMStaticCIDR” IP?
>2. ovirt setup is ignoring it: either failing to assign the IP to the
>engine VM or to variable “local_vm_ip.stdout_lines”?
>3. Something else?
>
>
>
> “You can also connect to that VM with VNC to check what's going on.” –
> Doesn’t work.  Port querying 10.0.0.109 on 5800\5900 fails, so I don’t
> think the VM is networked.  Which port does engine VNC use?
>
>
>
> Many thanks,
>
> Brendan
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 23 October 2018 09:09
> *To:* B Holmes 
> *Cc:* users 
> *Subject:* Re: [ovirt-users] Re: Diary of hosted engine install woes
>
>
>
> OK,
>
> according to this log file, the target engine VM didn't got an IPv4
> address:
>
>
>
>
>
>
>
> Are you sure that your DHCP server is properly working?
>
> You can also connect to that VM with VNC to check what's going on.
>
>
>
> On Mon, Oct 22, 2018 at 10:37 PM Brendan Holmes  wrote:
>
> Hi Simone,
>
>
>
> Pls see attached the log without any of my variable-enumeration changes.
>
>
>
> Many thanks,
>
> Brendan
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 22 October 2018 13:33
> *To:* B Holmes 
> *Cc:* users 
> *Subject:* Re: [ovirt-users] Re: Diary of hosted engine install woes
>
>
>
>
>
> On Sun, Oct 21, 2018 at 11:50 PM Brendan Holmes  wrote:
>
> Hi Simone,
>
>
>
> Sorry for late response, I’ve been unwell.  Attached is the whole log you
> requested.  I hope it reveals why variable “local_vm_ip.stdout_lines” is
> not being populated.
>
>
>
> Hi,
>
> according to your log file the deployment was successful:
>
>
>
> at this point I can only suggest again to simply run the vanilla code
> without any custom patch.
>
>
>
> *From:* Simone Tiraboschi 
> *Sent:* 15 October 2018 04:49
>
> On Sun, Oct 14, 2018 at 6:08 AM Brendan Holmes  wrote:
>
> Hi Simone,
>
> [ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an
> option with an undefined variable. The error was: list object has no
> element 0\n\nThe error appears to have been in
> '/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line
> 396, column 5, but may\nbe elsewhere in the file depending on the exact
> syntax problem.\n\nThe offending line appears to be:\n\nchanged_when:
> True\n  - name: Clean /etc/hosts on the host\n^ here\n"}
>
>
>
> I think that this is just an error in the clean up on failures phase due
> to something bad before.
>
> Can you please attach the whole deployment log from
> /var/log/ovirt-hosted-engine/hosted-engine.log ?
>
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CCCKEJBTBLZRUKG44D66RBLL3VS3CIRU/


[ovirt-users] Re: high load on hosts

2018-10-24 Thread Fabrice Bacchella


> Le 23 oct. 2018 à 16:30, Oliver Riesener  a 
> écrit :
> 
> Yes, you are right, load 30 with a 2 CPU VM is nearly impossible.
> 
Load on linux is a poor indicator, Brendan explan why: 
http://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html

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