Re: [ovirt-users] Cutting edge ovirt node images.

2015-01-15 Thread Fabian Deutsch
Hey Tolik,

as far as I recall they do not contain vdsm, correct?

- fabian

- Original Message -
 Hi
 
 A centos7 based ovirt-node project joined our jenkins
 http://jenkins.ovirt.org/job/ovirt-node_master_create-iso-el7_merged/
 
 Best Regards
 Tolik
 
 On Sun, 2015-01-11 at 17:29 +0200, Anatoly Litvosky wrote:
  Hi
  
  For all of you that want the latest images for ovirt node.
  For some time there is a new job in the ovirt jenkins that builds an
  image for every commit made.
  http://jenkins.ovirt.org/job/ovirt-node_master_create-iso-fc20_merged/
  Currently for fedora 20 but hopefully more to come.
  
  Many thanks to David (dcaro) for all the effort.
  
  Best regards.
  Tolik.
  
  
  
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Performance issue for GlusterFS as the block storage for VMs

2015-01-15 Thread Yue, Cong
I am using iometer (http://www.iometer.org/) to test the IOPS from one of the 
vm.
As for IOPS is more trying to test the performance of block, rather than real 
file transfer.

In my environment, I am using 10Gbe to make two gluster nodes be replicated. 
And I mount it to vm as a volume. I tested the performance both for SAS and SSD.
This is my current result with iometer.

Test ID

Application

Block Size (Bytes)

Read/Write %

Random/Sequential %

I/O Performance Metrics

iscsi-hdd

iscsi-ssd

Guster,HDD

Gluster,SSD

1

Web File Server

4K

95%/5%

75%/25%

IOPS

195.28

2400.63

208.50

646.75

2

Web File Server

8K

95%/5%

75%/25%

IOPS

193.97

2225.73

179.89

649.93

3

Web File Server

64K

95%/5%

75%/25%

IOPS

180.50

1055.05

158.28

402.15

4

Database Online Transaction Processing

8K

70%/30%

100%/0%

IOPS

163.60

2415.90

132.13

308.46

5

Exchange Email

4K

67%/33%

100%/0%

IOPS

167.03

2685.33

145.92

294.56

6

OS Drive

8K

70%/30%

100%/0%

IOPS

163.60

2407.02

146.11

310.82

7

Decision Support System

1M

100%/0%

100%/0%

IOPS

74.24

207.42

81.14

112.20

8

File Server

8K

90%/10%

75%/25%

IOPS

191.20

2102.32

359.54

526.86

9

Video on Demand

512K

100%/0%

100%/0%

IOPS

100.32

327.19

136.66

162.48

10

Traffic Simulation

8K

50%/50%

75%/25%

IOPS

238.28

1923.91

301.05

297.70

11

Web Server Logging

8K

0%/100%

0%/100%

IOPS

3488.47

3644.33

290.33

282.04

12

SQL Server Logging

64K

0%/100%

0%/100%

IOPS

1423.29

1375.33

182.67

168.64

13

OS Paging

64K

90%/10%

0%/100%

IOPS

1215.74

1211.01

381.17

355.99

14

Media Streaming

64K

98%/2%

0%/100%

IOPS

1350.96

1365.22

457.28

455.49


The issue for GlusterFS I found is

-  It can not retain the nature of SSD and SAS, such as SAS is strong  
for sequential access. SSD is strong for random access.

-  In some case, especially for SSD, the performance is pretty bad.

Thanks,
Cong


From: Donny Davis [mailto:do...@cloudspin.me]
Sent: Thursday, January 15, 2015 10:27 AM
To: Yue, Cong; users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block storage 
for VMs

Do you have any metrics to give an idea of the difference. I am using NFS right 
now, and I am migrating to Gluster. I have the gluster system up, and I see 
that it seems to provision disks faster than my NFS. I haven't used any real 
measurement tools to get actual metrics, this is all perceived.

Do you have an operational gluster?
Do what are you using right now?

Donny D
cloudspin.me

From: users-boun...@ovirt.orgmailto:users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.org] On Behalf Of Yue, Cong
Sent: Thursday, January 15, 2015 10:57 AM
To: users@ovirt.orgmailto:users@ovirt.org
Subject: [ovirt-users] Performance issue for GlusterFS as the block storage for 
VMs

Hi

I have one question about whether GlusterFS is the suitable solution to be used 
as the block storage for VMs.
The failure tolerant and scalability is good for GlusterFS, but in my test, it 
seems the iops is pretty bad. In some blog, it said, it is even with worse 
performance than normal NFS.
Should I use iscsi+drbd for the block storage for VMs.
Can somebody give some advice for this?

Thanks,
Cong


This e-mail message is for the sole use of the intended recipient(s) and may 
contain confidential and privileged information. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message. If you are the intended recipient, please be advised that 
the content of this message is subject to access, review and disclosure by the 
sender's e-mail System Administrator.


This e-mail message is for the sole use of the intended recipient(s) and may 
contain confidential and privileged information. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message. If you are the intended recipient, please be advised that 
the content of this message is subject to access, review and disclosure by the 
sender's e-mail System Administrator.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Performance issue for GlusterFS as the block storage for VMs

2015-01-15 Thread Donny Davis
Do you have any metrics to give an idea of the difference. I am using NFS
right now, and I am migrating to Gluster. I have the gluster system up, and
I see that it seems to provision disks faster than my NFS. I haven't used
any real measurement tools to get actual metrics, this is all perceived. 

 

Do you have an operational gluster?

Do what are you using right now?

 

Donny D

cloudspin.me

 

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
Yue, Cong
Sent: Thursday, January 15, 2015 10:57 AM
To: users@ovirt.org
Subject: [ovirt-users] Performance issue for GlusterFS as the block storage
for VMs

 

Hi 

 

I have one question about whether GlusterFS is the suitable solution to be
used as the block storage for VMs.

The failure tolerant and scalability is good for GlusterFS, but in my test,
it seems the iops is pretty bad. In some blog, it said, it is even with
worse performance than normal NFS.

Should I use iscsi+drbd for the block storage for VMs.

Can somebody give some advice for this? 

 

Thanks,
Cong

 

  _  

This e-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies
of the original message. If you are the intended recipient, please be
advised that the content of this message is subject to access, review and
disclosure by the sender's e-mail System Administrator.

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


Re: [ovirt-users] problem adding storage connection

2015-01-15 Thread Donny Davis
Also check to see if there are any directories that have been created in
your nfs exports 

Donny

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
Martin Pavlík
Sent: Thursday, January 15, 2015 8:01 AM
To: Lars Nielsen
Cc: users@ovirt.org
Subject: Re: [ovirt-users] problem adding storage connection

Hi Lars,

are you sure you want to use net mask 225.225.225.0? IMO you want to use
255.255.255.0

If it does not help please supply logs
/var/log/ovirt-engine/engine.log - from engine node (RHEV-M) and
/var/log/vdsm/vdsm.log

so we can see detailed error message

HTH

Martin Pavlik
RHEV QE

 On 15 Jan 2015, at 14:22, Lars Nielsen l...@steinwurf.com wrote:
 
 Hello again.
 And thanks for the help, now I can create hosts, which run :)
 
 However I have run into a bit more trouble, again which seems a bit
strange to me.
 
 When trying to added a new Storage connection, I get this:
 Error while executing action: Cannot add Storage Connection. Storage
connection already exists.
 
 https://dl.dropboxusercontent.com/u/55488/ovirt_storage_problem.png
 
 My exports file, look like this:
 /home/iso 
 192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonui
 d=36,anongid=36) /home/data 
 192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonui
 d=36,anongid=36) /home/import_data 
 192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonui
 d=36,anongid=36)
 
 Copied from the oVirt basic setup guide.
 And I have restarted my NFS server service, and create the directories.
 
 Can some one help with this? and explain the problem to me? If you need
more info, please tell me.
 
 Thanks and Best Regards
 - Lars
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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

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


Re: [ovirt-users] USB Modem in a VM

2015-01-15 Thread VONDRA Alain
Hi,
Thank you for your answer, I've tried to insert my USB modem, but it doesn't up 
in the Windows VM.
I've tried to insert via virt-manager without success, I can't apply the 
modification, however I see the modem using lsusb :

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 
001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 
8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 
8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID 
0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249 Avocent 
Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID 0572:1321 Conexant Systems 
(Rockwell), Inc.

I've unload the cdc_acm kernel module via rmmod without success.
I've also tried to edit the xml appending the ID and VENDDOR tags :

 hostdev mode='subsystem' type='usb'
  source
vendor id='0x0572'/
product id='0x1321'/
  /source
/hostdev

Ut at the first load the config disappears...
Do I need to restart the host or restart libvirtd services ?

Thanks for your help
Alain



Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Alon Bar-Lev [mailto:alo...@redhat.com]
Envoyé : mardi 13 janvier 2015 17:47
À : VONDRA Alain
Cc : users@ovirt.org
Objet : Re: [ovirt-users] USB Modem in a VM



- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: users@ovirt.org
 Sent: Tuesday, January 13, 2015 5:55:01 PM
 Subject: [ovirt-users]  USB Modem in a VM



 Hi,

 Can you tell me if I can use an USB modem through one of the
 hypervisor hosts to a Windows VM ?

 I’d like to install a Windows Fax Server.

 Thank you for your answers.


should be possible using qemu args: -usbdevice host:vendor_id:product_id

in libvirt replace @VENDOR@ and @DEVICE@ to device specific properties:

domain type='kvm'
  name.../name
  …
  devices
…
hostdev mode='subsystem' type='usb'
  source
vendor id='0x@VENDOR@'/
product id='0x@DEVICE@'/
  /source
/hostdev
  /devices
/domain

if this option is not exposed in ui you can use vdsm-hooks[1] to modify the 
libvirt configuration and inject such device.

Regards,
Alon

[1] http://www.ovirt.org/VDSM-Hooks
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] FOSDEM 15.... here we come!

2015-01-15 Thread Doron Fediuck
Hi all,
Happy to see oVirt's tradition continuing!

I summarized all relevant information here:
http://etherpad.ovirt.org/p/ovirt-fosdem-15

Also, we need a few volunteers to help man the booth, so please go ahead
and list yourself in the right place.

Once we have more updates we'll send them to the list.

See you @FOSDEM,
Doron
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] problem adding storage connection

2015-01-15 Thread Martin Pavlík
Hi Lars,

are you sure you want to use net mask 225.225.225.0? IMO you want to use 
255.255.255.0

If it does not help please supply logs 
/var/log/ovirt-engine/engine.log - from engine node (RHEV-M)
and
/var/log/vdsm/vdsm.log

so we can see detailed error message

HTH

Martin Pavlik
RHEV QE

 On 15 Jan 2015, at 14:22, Lars Nielsen l...@steinwurf.com wrote:
 
 Hello again.
 And thanks for the help, now I can create hosts, which run :)
 
 However I have run into a bit more trouble, again which seems a bit strange 
 to me.
 
 When trying to added a new Storage connection, I get this:
 Error while executing action: Cannot add Storage Connection. Storage 
 connection already exists.
 
 https://dl.dropboxusercontent.com/u/55488/ovirt_storage_problem.png
 
 My exports file, look like this:
 /home/iso 
 192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)
  
 /home/data 
 192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)
  
 /home/import_data 
 192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)
  
 
 Copied from the oVirt basic setup guide.
 And I have restarted my NFS server service, and create the directories.
 
 Can some one help with this? and explain the problem to me? If you need more 
 info, please tell me.
 
 Thanks and Best Regards
 - Lars
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] USB Modem in a VM

2015-01-15 Thread VONDRA Alain
Hi,
I've tried also to inject the device with virsh attach-device, all seems to 
work but nothing happen in the VM :

[root@unc-srv-hyp2  ~]$ virsh attach-device unc-srv-prnt3 usb-modem.xml
Please enter your authentication name: root
Please enter your password:
Device attached successfully

What did I do wrong, any ideas ?
Regards






Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr





De : Alon Bar-Lev [alo...@redhat.com]
Envoyé : jeudi 15 janvier 2015 21:23
À : VONDRA Alain; Michal Skrivanek
Cc : users@ovirt.org
Objet : Re: [ovirt-users]  USB Modem in a VM

Michal, any clue?

- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, January 15, 2015 5:56:47 PM
 Subject: RE: [ovirt-users]  USB Modem in a VM

 Hi,
 Thank you for your answer, I've tried to insert my USB modem, but it doesn't
 up in the Windows VM.
 I've tried to insert via virt-manager without success, I can't apply the
 modification, however I see the modem using lsusb :

 lsusb
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device
 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID
 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID
 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID
 0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249 Avocent
 Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID 0572:1321 Conexant
 Systems (Rockwell), Inc.

 I've unload the cdc_acm kernel module via rmmod without success.
 I've also tried to edit the xml appending the ID and VENDDOR tags :

  hostdev mode='subsystem' type='usb'
   source
 vendor id='0x0572'/
 product id='0x1321'/
   /source
 /hostdev

 Ut at the first load the config disappears...
 Do I need to restart the host or restart libvirtd services ?

 Thanks for your help
 Alain



 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information
 Direction Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr




 -Message d'origine-
 De : Alon Bar-Lev [mailto:alo...@redhat.com]
 Envoyé : mardi 13 janvier 2015 17:47
 À : VONDRA Alain
 Cc : users@ovirt.org
 Objet : Re: [ovirt-users] USB Modem in a VM



 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: users@ovirt.org
  Sent: Tuesday, January 13, 2015 5:55:01 PM
  Subject: [ovirt-users]  USB Modem in a VM
 
 
 
  Hi,
 
  Can you tell me if I can use an USB modem through one of the
  hypervisor hosts to a Windows VM ?
 
  I’d like to install a Windows Fax Server.
 
  Thank you for your answers.


 should be possible using qemu args: -usbdevice host:vendor_id:product_id

 in libvirt replace @VENDOR@ and @DEVICE@ to device specific properties:

 domain type='kvm'
   name.../name
   …
   devices
 …
 hostdev mode='subsystem' type='usb'
   source
 vendor id='0x@VENDOR@'/
 product id='0x@DEVICE@'/
   /source
 /hostdev
   /devices
 /domain

 if this option is not exposed in ui you can use vdsm-hooks[1] to modify the
 libvirt configuration and inject such device.

 Regards,
 Alon

 [1] http://www.ovirt.org/VDSM-Hooks

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


Re: [ovirt-users] Performance issue for GlusterFS as the block storage for VMs

2015-01-15 Thread Yue, Cong
It is just the default configuration. What is your advice for the tuning of I/O 
performance?

For Gluster FS, actually I used Xenserver currently. I justed mounted the 
gluster as a NFS to XenHost to be used as a SR. Is there any way to use 
GlusterFS as a iscsi target ?

Thanks,
Cong


From: Donny Davis [mailto:do...@cloudspin.me]
Sent: Thursday, January 15, 2015 11:24 AM
To: Yue, Cong; users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block storage 
for VMs

I see.

So have you done any tuning for IO performance or are the configs straight out 
of the box. You also said you mounted the volume to a vm. Did you mount it as 
gluster or use the built in NFS??

Donny

From: Yue, Cong [mailto:cong_...@alliedtelesis.com]
Sent: Thursday, January 15, 2015 11:40 AM
To: Donny Davis; users@ovirt.orgmailto:users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block storage 
for VMs

I am using iometer (http://www.iometer.org/) to test the IOPS from one of the 
vm.
As for IOPS is more trying to test the performance of block, rather than real 
file transfer.

In my environment, I am using 10Gbe to make two gluster nodes be replicated. 
And I mount it to vm as a volume. I tested the performance both for SAS and SSD.
This is my current result with iometer.

Test ID

Application

Block Size (Bytes)

Read/Write %

Random/Sequential %

I/O Performance Metrics

iscsi-hdd

iscsi-ssd

Guster,HDD

Gluster,SSD

1

Web File Server

4K

95%/5%

75%/25%

IOPS

195.28

2400.63

208.50

646.75

2

Web File Server

8K

95%/5%

75%/25%

IOPS

193.97

2225.73

179.89

649.93

3

Web File Server

64K

95%/5%

75%/25%

IOPS

180.50

1055.05

158.28

402.15

4

Database Online Transaction Processing

8K

70%/30%

100%/0%

IOPS

163.60

2415.90

132.13

308.46

5

Exchange Email

4K

67%/33%

100%/0%

IOPS

167.03

2685.33

145.92

294.56

6

OS Drive

8K

70%/30%

100%/0%

IOPS

163.60

2407.02

146.11

310.82

7

Decision Support System

1M

100%/0%

100%/0%

IOPS

74.24

207.42

81.14

112.20

8

File Server

8K

90%/10%

75%/25%

IOPS

191.20

2102.32

359.54

526.86

9

Video on Demand

512K

100%/0%

100%/0%

IOPS

100.32

327.19

136.66

162.48

10

Traffic Simulation

8K

50%/50%

75%/25%

IOPS

238.28

1923.91

301.05

297.70

11

Web Server Logging

8K

0%/100%

0%/100%

IOPS

3488.47

3644.33

290.33

282.04

12

SQL Server Logging

64K

0%/100%

0%/100%

IOPS

1423.29

1375.33

182.67

168.64

13

OS Paging

64K

90%/10%

0%/100%

IOPS

1215.74

1211.01

381.17

355.99

14

Media Streaming

64K

98%/2%

0%/100%

IOPS

1350.96

1365.22

457.28

455.49


The issue for GlusterFS I found is

-  It can not retain the nature of SSD and SAS, such as SAS is strong  
for sequential access. SSD is strong for random access.

-  In some case, especially for SSD, the performance is pretty bad.

Thanks,
Cong


From: Donny Davis [mailto:do...@cloudspin.me]
Sent: Thursday, January 15, 2015 10:27 AM
To: Yue, Cong; users@ovirt.orgmailto:users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block storage 
for VMs

Do you have any metrics to give an idea of the difference. I am using NFS right 
now, and I am migrating to Gluster. I have the gluster system up, and I see 
that it seems to provision disks faster than my NFS. I haven't used any real 
measurement tools to get actual metrics, this is all perceived.

Do you have an operational gluster?
Do what are you using right now?

Donny D
cloudspin.me

From: users-boun...@ovirt.orgmailto:users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.org] On Behalf Of Yue, Cong
Sent: Thursday, January 15, 2015 10:57 AM
To: users@ovirt.orgmailto:users@ovirt.org
Subject: [ovirt-users] Performance issue for GlusterFS as the block storage for 
VMs

Hi

I have one question about whether GlusterFS is the suitable solution to be used 
as the block storage for VMs.
The failure tolerant and scalability is good for GlusterFS, but in my test, it 
seems the iops is pretty bad. In some blog, it said, it is even with worse 
performance than normal NFS.
Should I use iscsi+drbd for the block storage for VMs.
Can somebody give some advice for this?

Thanks,
Cong


This e-mail message is for the sole use of the intended recipient(s) and may 
contain confidential and privileged information. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message. If you are the intended recipient, please be advised that 
the content of this message is subject to access, review and disclosure by the 
sender's e-mail System Administrator.


This e-mail message is for the sole use of the intended recipient(s) and may 
contain confidential and privileged information. Any unauthorized review, use, 
disclosure or distribution is prohibited. 

Re: [ovirt-users] Performance issue for GlusterFS as the block storage for VMs

2015-01-15 Thread Donny Davis
Sure can

 

http://www.gluster.org/community/documentation/index.php/GlusterFS_iSCSI

 

As for tuning, I don't have enough information about my own system to even
say. I know that there are tuning options that you have with glusterFS, and
you will have to see what works best for your deployment. 

 

Regards

Donny D

cloudspin.me

 

From: Yue, Cong [mailto:cong_...@alliedtelesis.com] 
Sent: Thursday, January 15, 2015 12:30 PM
To: Donny Davis; users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block
storage for VMs

 

It is just the default configuration. What is your advice for the tuning of
I/O performance?

 

For Gluster FS, actually I used Xenserver currently. I justed mounted the
gluster as a NFS to XenHost to be used as a SR. Is there any way to use
GlusterFS as a iscsi target ?

 

Thanks,

Cong

 

 

From: Donny Davis [mailto:do...@cloudspin.me] 
Sent: Thursday, January 15, 2015 11:24 AM
To: Yue, Cong; users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block
storage for VMs

 

I see. 

 

So have you done any tuning for IO performance or are the configs straight
out of the box. You also said you mounted the volume to a vm. Did you mount
it as gluster or use the built in NFS??

 

Donny

 

From: Yue, Cong [mailto:cong_...@alliedtelesis.com] 
Sent: Thursday, January 15, 2015 11:40 AM
To: Donny Davis; users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block
storage for VMs

 

I am using iometer (http://www.iometer.org/) to test the IOPS from one of
the vm.

As for IOPS is more trying to test the performance of block, rather than
real file transfer.

 

In my environment, I am using 10Gbe to make two gluster nodes be replicated.
And I mount it to vm as a volume. I tested the performance both for SAS and
SSD.

This is my current result with iometer. 

 


Test ID

Application

Block Size (Bytes)

Read/Write %

Random/Sequential %

I/O Performance Metrics

iscsi-hdd

iscsi-ssd

Guster,HDD

Gluster,SSD


1

Web File Server

4K

95%/5%

75%/25%

IOPS

195.28

2400.63

208.50

646.75


2

Web File Server

8K

95%/5%

75%/25%

IOPS

193.97

2225.73

179.89

649.93


3

Web File Server

64K

95%/5%

75%/25%

IOPS

180.50

1055.05

158.28

402.15


4

Database Online Transaction Processing

8K

70%/30%

100%/0%

IOPS

163.60

2415.90

132.13

308.46


5

Exchange Email

4K

67%/33%

100%/0%

IOPS

167.03

2685.33

145.92

294.56


6

OS Drive

8K

70%/30%

100%/0%

IOPS

163.60

2407.02

146.11

310.82


7

Decision Support System

1M

100%/0%

100%/0%

IOPS

74.24

207.42

81.14

112.20


8

File Server

8K

90%/10%

75%/25%

IOPS

191.20

2102.32

359.54

526.86


9

Video on Demand

512K

100%/0%

100%/0%

IOPS

100.32

327.19

136.66

162.48


10

Traffic Simulation

8K

50%/50%

75%/25%

IOPS

238.28

1923.91

301.05

297.70


11

Web Server Logging

8K

0%/100%

0%/100%

IOPS

3488.47

3644.33

290.33

282.04


12

SQL Server Logging

64K

0%/100%

0%/100%

IOPS

1423.29

1375.33

182.67

168.64


13

OS Paging

64K

90%/10%

0%/100%

IOPS

1215.74

1211.01

381.17

355.99


14

Media Streaming

64K

98%/2%

0%/100%

IOPS

1350.96

1365.22

457.28

455.49

 

The issue for GlusterFS I found is 

-  It can not retain the nature of SSD and SAS, such as SAS is
strong  for sequential access. SSD is strong for random access.

-  In some case, especially for SSD, the performance is pretty bad.

 

Thanks,

Cong

 

 

From: Donny Davis [mailto:do...@cloudspin.me] 
Sent: Thursday, January 15, 2015 10:27 AM
To: Yue, Cong; users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block
storage for VMs

 

Do you have any metrics to give an idea of the difference. I am using NFS
right now, and I am migrating to Gluster. I have the gluster system up, and
I see that it seems to provision disks faster than my NFS. I haven't used
any real measurement tools to get actual metrics, this is all perceived. 

 

Do you have an operational gluster?

Do what are you using right now?

 

Donny D

cloudspin.me

 

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
Yue, Cong
Sent: Thursday, January 15, 2015 10:57 AM
To: users@ovirt.org
Subject: [ovirt-users] Performance issue for GlusterFS as the block storage
for VMs

 

Hi 

 

I have one question about whether GlusterFS is the suitable solution to be
used as the block storage for VMs.

The failure tolerant and scalability is good for GlusterFS, but in my test,
it seems the iops is pretty bad. In some blog, it said, it is even with
worse performance than normal NFS.

Should I use iscsi+drbd for the block storage for VMs.

Can somebody give some advice for this? 

 

Thanks,
Cong

 

  _  

This e-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the 

Re: [ovirt-users] USB Modem in a VM

2015-01-15 Thread Alon Bar-Lev

Michal, any clue?

- Original Message -
 From: VONDRA Alain avon...@unicef.fr
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, January 15, 2015 5:56:47 PM
 Subject: RE: [ovirt-users]  USB Modem in a VM
 
 Hi,
 Thank you for your answer, I've tried to insert my USB modem, but it doesn't
 up in the Windows VM.
 I've tried to insert via virt-manager without success, I can't apply the
 modification, however I see the modem using lsusb :
 
 lsusb
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device
 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID
 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID
 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID
 0624:0248 Avocent Corp. Virtual Hub Bus 001 Device 004: ID 0624:0249 Avocent
 Corp. Virtual Keyboard/Mouse Bus 002 Device 010: ID 0572:1321 Conexant
 Systems (Rockwell), Inc.
 
 I've unload the cdc_acm kernel module via rmmod without success.
 I've also tried to edit the xml appending the ID and VENDDOR tags :
 
  hostdev mode='subsystem' type='usb'
   source
 vendor id='0x0572'/
 product id='0x1321'/
   /source
 /hostdev
 
 Ut at the first load the config disappears...
 Do I need to restart the host or restart libvirtd services ?
 
 Thanks for your help
 Alain
 
 
 
 Alain VONDRA
 Chargé d'exploitation des Systèmes d'Information
 Direction Administrative et Financière
 +33 1 44 39 77 76
 UNICEF France
 3 rue Duguay Trouin  75006 PARIS
 www.unicef.fr
 
 
 
 
 -Message d'origine-
 De : Alon Bar-Lev [mailto:alo...@redhat.com]
 Envoyé : mardi 13 janvier 2015 17:47
 À : VONDRA Alain
 Cc : users@ovirt.org
 Objet : Re: [ovirt-users] USB Modem in a VM
 
 
 
 - Original Message -
  From: VONDRA Alain avon...@unicef.fr
  To: users@ovirt.org
  Sent: Tuesday, January 13, 2015 5:55:01 PM
  Subject: [ovirt-users]  USB Modem in a VM
 
 
 
  Hi,
 
  Can you tell me if I can use an USB modem through one of the
  hypervisor hosts to a Windows VM ?
 
  I’d like to install a Windows Fax Server.
 
  Thank you for your answers.
 
 
 should be possible using qemu args: -usbdevice host:vendor_id:product_id
 
 in libvirt replace @VENDOR@ and @DEVICE@ to device specific properties:
 
 domain type='kvm'
   name.../name
   …
   devices
 …
 hostdev mode='subsystem' type='usb'
   source
 vendor id='0x@VENDOR@'/
 product id='0x@DEVICE@'/
   /source
 /hostdev
   /devices
 /domain
 
 if this option is not exposed in ui you can use vdsm-hooks[1] to modify the
 libvirt configuration and inject such device.
 
 Regards,
 Alon
 
 [1] http://www.ovirt.org/VDSM-Hooks
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [Feature review] Select network to be used for glusterfs

2015-01-15 Thread Sahina Bose


On 01/15/2015 02:27 PM, Dan Kenigsberg wrote:

On Thu, Jan 15, 2015 at 12:34:18PM +0530, Sahina Bose wrote:


I've updated the feature page with the REST API and other comments. On
further thought, there will be no change to Add brick API, as the engine
will select the network to be used based on the networks setup for the host.
If Storage network role is associated with any of the networks, this will
be used. Otherwise, the host's address will be used to add the brick.


snip

The paragraph above rules out the use case I lay below. Could you relate
to it? Isn't it a reasonable use case?


If I am not mistaken, it could make sense to have a setup with one brick
using network A and another - using network B. Does your design support
this? I think that this would be particularly important on upgraded
clusters, where the management network is already used, but newly
created bricks should start using another network.




On upgraded clusters, the user would have to assign a network with the 
role Storage network. Any newly created brick would then start using 
this, rather than the management network.


I'm not sure if the use case where each brick on a host is added using 
different networks is a common one (apart from the upgrade scenario, 
that is). If it is, we could provide an Advanced edit option in the UI 
to select network in Add Bricks dialog.
The entity design supports setting different network per brick and the 
REST API already provides a way to set this as an optional parameter.



May I repeat my follow request? It would help me understand the content
of the feature.


Sorry, I missed these before!



Would you add a feature page section regarding modification to the
Vdsm/Engine API?


http://www.ovirt.org/Features/Select_Network_For_Gluster#Change_to_VDSM_API
http://www.ovirt.org/Features/Select_Network_For_Gluster#Change_to_REST_API



One last comment - may I ask that new APIs accept both ipv4 and ipv6
addresses? There is an ongoing effort to support ipv6 on Vdsm.



Glusterfs does not support ipv6 yet, so addition of bricks using ipv6 
addresses would not work.


thanks,
sahina

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


Re: [ovirt-users] Exporting VM's painfully slow

2015-01-15 Thread Sven Kieske
Hi,

if you use sparse images this BZ might be helpful:

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

maybe you can backport the change to your version.

The idea is to not use dd in order to move images.

HTH

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to create volume in OVirt with gluster

2015-01-15 Thread Punit Dambiwal
Hi Atin,

It seems glusterfs is not a good and stable product for storage usei am
still facing the same issue...in the ovirt wiki it says ovirt has native
support with glusterfs but even i am tring to use it from ovirt it failed
and i am keep try to make it work from last 7 days...but still fail and no
one in the community has clue about the samemay be it's bug in the
gluster 3.6.1 but even i try with gluster 3.5.3it same

Hope someone from gluster help me to get rid of those errors and make it
work..

Thanks,
Punit

On Thu, Jan 15, 2015 at 2:58 PM, Punit Dambiwal hypu...@gmail.com wrote:

 Hi,

 Can any one help me here ??

 On Wed, Jan 14, 2015 at 3:25 PM, Punit Dambiwal hypu...@gmail.com wrote:

 Hi Donny,

 I am not using gluster for the NFS mount...no volume has been created
 because of those errors

 On Wed, Jan 14, 2015 at 9:47 AM, Donny Davis do...@cloudspin.me wrote:

 And



 rpcbind is running



 can you do a regular nfs mount of the gluster volume?

 gluster volume info {your volume name here}





 Just gathering intel to hopefully provide a solution. I just deployed
 gluster with hosted engine today, and I did get some of the same errors as
 you when I was bringing everything up

 Did you follow a guide, or are you craving your own?

 Are you using swift for anything… that is usually for openstack to my
 knowledge? I guess you could use it for ovirt, but I didn’t



 Donny D



 *From:* Punit Dambiwal [mailto:hypu...@gmail.com]
 *Sent:* Tuesday, January 13, 2015 6:41 PM
 *To:* Donny Davis
 *Cc:* users@ovirt.org

 *Subject:* Re: [ovirt-users] Failed to create volume in OVirt with
 gluster



 Hi Donny,



 No I am not using CTDBit's totally new deployment...



 On Wed, Jan 14, 2015 at 1:50 AM, Donny Davis do...@cloudspin.me wrote:

 Are you using ctdb??? and did you specify Lock=False in
 /etc/nfsmount.conf



 Can you give a full run down of topology, and has this ever been working
 or is it a new deployment?



 Donny D



 *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
 Behalf Of *Punit Dambiwal
 *Sent:* Monday, January 12, 2015 7:18 PM
 *To:* Kanagaraj Mayilsamy
 *Cc:* gluster-us...@gluster.org; Kaushal M; users@ovirt.org
 *Subject:* Re: [ovirt-users] Failed to create volume in OVirt with
 gluster



 Hi,



 Please find the more details on this can anybody from gluster will
 help me here :-





 Gluster CLI Logs :- /var/log/glusterfs/cli.log



 [2015-01-13 02:06:23.071969] T [cli.c:264:cli_rpc_notify] 0-glusterfs:
 got RPC_CLNT_CONNECT

 [2015-01-13 02:06:23.072012] T
 [cli-quotad-client.c:94:cli_quotad_notify] 0-glusterfs: got RPC_CLNT_CONNECT

 [2015-01-13 02:06:23.072024] I [socket.c:2344:socket_event_handler]
 0-transport: disconnecting now

 [2015-01-13 02:06:23.072055] T
 [cli-quotad-client.c:100:cli_quotad_notify] 0-glusterfs: got
 RPC_CLNT_DISCONNECT

 [2015-01-13 02:06:23.072131] T [rpc-clnt.c:1381:rpc_clnt_record]
 0-glusterfs: Auth Info: pid: 0, uid: 0, gid: 0, owner:

 [2015-01-13 02:06:23.072176] T
 [rpc-clnt.c:1238:rpc_clnt_record_build_header] 0-rpc-clnt: Request fraglen
 128, payload: 64, rpc hdr: 64

 [2015-01-13 02:06:23.072572] T [socket.c:2863:socket_connect] (--
 /usr/lib64/libglusterfs.so.0(_gf_log_callingfn+0x1e0)[0x7fed02f15420] (--
 /usr/lib64/glusterfs/3.6.1/rpc-transport/socket.so(+0x7293)[0x7fed001a4293]
 (-- /usr/lib64/libgfrpc.so.0(rpc_clnt_submit+0x468)[0x7fed0266df98] (--
 /usr/sbin/gluster(cli_submit_request+0xdb)[0x40a9bb] (--
 /usr/sbin/gluster(cli_cmd_submit+0x8e)[0x40b7be] ) 0-glusterfs: connect
 () called on transport already connected

 [2015-01-13 02:06:23.072616] T [rpc-clnt.c:1573:rpc_clnt_submit]
 0-rpc-clnt: submitted request (XID: 0x1 Program: Gluster CLI, ProgVers: 2,
 Proc: 27) to rpc-transport (glusterfs)

 [2015-01-13 02:06:23.072633] D [rpc-clnt-ping.c:231:rpc_clnt_start_ping]
 0-glusterfs: ping timeout is 0, returning

 [2015-01-13 02:06:23.075930] T [rpc-clnt.c:660:rpc_clnt_reply_init]
 0-glusterfs: received rpc message (RPC XID: 0x1 Program: Gluster CLI,
 ProgVers: 2, Proc: 27) from rpc-transport (glusterfs)

 [2015-01-13 02:06:23.075976] D [cli-rpc-ops.c:6548:gf_cli_status_cbk]
 0-cli: Received response to status cmd

 [2015-01-13 02:06:23.076025] D [cli-cmd.c:384:cli_cmd_submit] 0-cli:
 Returning 0

 [2015-01-13 02:06:23.076049] D [cli-rpc-ops.c:6811:gf_cli_status_volume]
 0-cli: Returning: 0

 [2015-01-13 02:06:23.076192] D
 [cli-xml-output.c:84:cli_begin_xml_output] 0-cli: Returning 0

 [2015-01-13 02:06:23.076244] D
 [cli-xml-output.c:131:cli_xml_output_common] 0-cli: Returning 0

 [2015-01-13 02:06:23.076256] D
 [cli-xml-output.c:1375:cli_xml_output_vol_status_begin] 0-cli: Returning 0

 [2015-01-13 02:06:23.076437] D [cli-xml-output.c:108:cli_end_xml_output]
 0-cli: Returning 0

 [2015-01-13 02:06:23.076459] D
 [cli-xml-output.c:1398:cli_xml_output_vol_status_end] 0-cli: Returning 0

 [2015-01-13 02:06:23.076490] I [input.c:36:cli_batch] 0-: Exiting with: 0



 Command 

[ovirt-users] New environment ovirt

2015-01-15 Thread nicola gentile
Hello,
I have a question.
I would like to set up a new environment with two nodes.
I would like separate che storage traffic, vm traffic and network
management traffic.
Storage is in a separate subnet.
Also the virtual machine is in a separate subnet, and I would like to
separate the management of the network too.
I think I need to add 3 network adapters on the nodes, one for each purpose.
Now I ask you, does the oVirt engine server (manager) need three
network cards too?

Thank you

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


Re: [ovirt-users] New environment ovirt

2015-01-15 Thread Genadi Chereshnya
Engine will need only one network card
Hosts will need 3 if you use untagged traffic for your requirements
Genadi

- Original Message -
From: Simone Tiraboschi stira...@redhat.com
To: nicola gentile nicola.gentile...@gmail.com
Cc: Users@ovirt.org
Sent: Thursday, January 15, 2015 11:11:06 AM
Subject: Re: [ovirt-users] New environment ovirt



- Original Message -
 From: nicola gentile nicola.gentile...@gmail.com
 To: Users@ovirt.org
 Sent: Wednesday, January 14, 2015 3:09:30 PM
 Subject: [ovirt-users] New environment ovirt
 
 Hello,
 I have a question.
 I would like to set up a new environment with two nodes.
 I would like separate che storage traffic, vm traffic and network
 management traffic.
 Storage is in a separate subnet.
 Also the virtual machine is in a separate subnet, and I would like to
 separate the management of the network too.
 I think I need to add 3 network adapters on the nodes, one for each purpose.
 Now I ask you, does the oVirt engine server (manager) need three
 network cards too?

At least you need only the Management Network (ovirtmgmt), you could also 
evaluate the opportunity to use the self hosted engine where oVirt engine runs 
on a VM hosted in HA way by the hosts it is managing [1.

http://www.ovirt.org/Features/Self_Hosted_Engine

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


Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP module

2015-01-15 Thread Alon Bar-Lev


- Original Message -
 From: Bruno Rodriguez br...@pic.es
 To: Ondra Machacek omach...@redhat.com
 Cc: Esther Accion esth...@pic.es, users@ovirt.org
 Sent: Thursday, January 15, 2015 11:20:57 AM
 Subject: Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP   
 module
 
 Thank you very much,
 
 using the following ldap.example.org file:
 
 -
 
 include = openldap_example.properties
 include = rfc2307.properties

what do you have in openldap_example.properties?

 vars.server = ldap1.example.org
 #vars.user = cn=authenticate,ou=System,dc=example,dc=org
 #vars.password = X

why have you commented out the vars?
you should have just removed the quotes from vars.password and keep bellow 
as-is.
 
 pool.default.serverset.single.server = ${global:vars.server}
 pool.default.auth.simple.bindDN = cn=authenticate,ou=System,dc=example,dc=org
 pool.default.auth.simple.password = X
 
 pool.default.ssl.startTLS = true
 pool.default.ssl.truststore.file =
 /etc/ovirt-engine/extensions.d/ldap.example.org_keystore.jks
 pool.default.ssl.truststore.password = X
 
 -
 
 Then I get the following in the engine log:
 
 
 2015-01-15 10:04:15,250 ERROR
 [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand]
 (ajp--127.0.0.1-8702-3) Error during CanDoActionFailure.: Class: class
 org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedException
 Input:
 {Extkey[name=AAA_AUTHN_CREDENTIALS;type=class
 java.lang.String;uuid=AAA_AUTHN_CREDENTIALS[03b96485-4bb5-4592-8167-810a5c909706];]=***,
 Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class
 org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_INVOKE_CONTEXT[886d2ebb-312a-49ae-9cc3-e1f849834b7d];]={Extkey[name=EXTENSION_INTERFACE_VERSION_MAX;type=class
 java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0,
 Extkey[name=EXTENSION_LICENSE;type=class
 java.lang.String;uuid=EXTENSION_LICENSE[8a61ad65-054c-4e31-9c6d-1ca4d60a4c18];]=ASL
 2.0, Extkey[name=EXTENSION_NOTES;type=class
 java.lang.String;uuid=EXTENSION_NOTES[2da5ad7e-185a-4584-aaff-97f66978e4ea];]=Display
 name: ovirt-engine-extension-aaa-ldap-1.0.0-1.el6,
 Extkey[name=EXTENSION_HOME_URL;type=class
 java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-f969-42d4-b399-72d192e18304];]=
 http://www.ovirt.org ,Extkey[name=EXTENSION_LOCALE;type=class
 java.lang.String;uuid=EXTENSION_LOCALE[0780b112-0ce0-404a-b85e-8765d778bb29];]=en_US,
 Extkey[name=EXTENSION_NAME;type=class
 java.lang.String;uuid=EXTENSION_NAME[651381d3-f54f-4547-bf28-b0b01a103184];]=ovirt-engine-extension-aaa-ldap.authn,
 Extkey[name=EXTENSION_INTERFACE_VERSION_MIN;type=class
 java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0,
 Extkey[name=EXTENSION_CONFIGURATION;type=class
 java.util.Properties;uuid=EXTENSION_CONFIGURATION[2d48ab72-f0a1-4312-b4ae-5068a226b0fc];]=***,
 Extkey[name=EXTENSION_AUTHOR;type=class
 java.lang.String;uuid=EXTENSION_AUTHOR[ef242f7a-2dad-4bc5-9aad-e07018b7fbcc];]=The
 oVirt Project, Extkey[name=EXTENSION_INSTANCE_NAME;type=class
 java.lang.String;uuid=EXTENSION_INSTANCE_NAME[65c67ff6-aeca-4bd5-a245-8674327f011b];]=
 authn-ldap.example.org ,
 Extkey[name=EXTENSION_BUILD_INTERFACE_VERSION;type=class
 java.lang.Integer;uuid=EXTENSION_BUILD_INTERFACE_VERSION[cb479e5a-4b23-46f8-aed3-56a4747a8ab7];]=0,
 Extkey[name=EXTENSION_CONFIGURATION_SENSITIVE_KEYS;type=interface
 java.util.Collection;uuid=EXTENSION_CONFIGURATION_SENSITIVE_KEYS[a456efa1-73ff-4204-9f9b-ebff01e35263];]=[],
 Extkey[name=AAA_AUTHN_CAPABILITIES;type=class
 java.lang.Long;uuid=AAA_AUTHN_CAPABILITIES[9d16bee3-10fd-46f2-83f9-3d3c54cf258d];]=12,
 Extkey[name=EXTENSION_GLOBAL_CONTEXT;type=class
 org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_GLOBAL_CONTEXT[9799e72f-7af6-4cf1-bf08-297bc8903676];]=*skip*,
 Extkey[name=EXTENSION_VERSION;type=class
 java.lang.String;uuid=EXTENSION_VERSION[fe35f6a8-8239-4bdb-ab1a-af9f779ce68c];]=1.0.0,
 Extkey[name=EXTENSION_MANAGER_TRACE_LOG;type=interface
 org.slf4j.Logger;uuid=EXTENSION_MANAGER_TRACE_LOG[863db666-3ea7-4751-9695-918a3197ad83];]=org.slf4j.impl.Slf4jLogger(
 org.ovirt.engine.core.extensions.mgr.ExtensionsManager.trace.ovirt-engine-extension-aaa-ldap.authn.authn-ldap.example.org
 ), Extkey[name=EXTENSION_PROVIDES;type=interface
 java.util.Collection;uuid=EXTENSION_PROVIDES[8cf373a6-65b5-4594-b828-0e275087de91];]=[org.ovirt.engine.api.extensions.aaa.Authn]},
 Extkey[name=AAA_AUTHN_USER;type=class
 java.lang.String;uuid=AAA_AUTHN_USER[1ceaba26-1bdc-4663-a3c6-5d926f9dd8f0];]=bruno,
 Extkey[name=EXTENSION_INVOKE_COMMAND;type=class
 org.ovirt.engine.api.extensions.ExtUUID;uuid=EXTENSION_INVOKE_COMMAND[485778ab-bede-4f1a-b823-77b262a2f28d];]=AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]}
 Output:
 {Extkey[name=EXTENSION_INVOKE_RESULT;type=class
 java.lang.Integer;uuid=EXTENSION_INVOKE_RESULT[0909d91d-8bde-40fb-b6c0-099c772ddd4e];]=2,
 

Re: [ovirt-users] New environment ovirt

2015-01-15 Thread nicola.gentile.to

Thank you so much for suggestion.

Nicola

Il 15/01/2015 10:15, Genadi Chereshnya ha scritto:

Engine will need only one network card
Hosts will need 3 if you use untagged traffic for your requirements
Genadi

- Original Message -
From: Simone Tiraboschi stira...@redhat.com
To: nicola gentile nicola.gentile...@gmail.com
Cc: Users@ovirt.org
Sent: Thursday, January 15, 2015 11:11:06 AM
Subject: Re: [ovirt-users] New environment ovirt



- Original Message -

From: nicola gentile nicola.gentile...@gmail.com
To: Users@ovirt.org
Sent: Wednesday, January 14, 2015 3:09:30 PM
Subject: [ovirt-users] New environment ovirt

Hello,
I have a question.
I would like to set up a new environment with two nodes.
I would like separate che storage traffic, vm traffic and network
management traffic.
Storage is in a separate subnet.
Also the virtual machine is in a separate subnet, and I would like to
separate the management of the network too.
I think I need to add 3 network adapters on the nodes, one for each purpose.
Now I ask you, does the oVirt engine server (manager) need three
network cards too?

At least you need only the Management Network (ovirtmgmt), you could also 
evaluate the opportunity to use the self hosted engine where oVirt engine runs 
on a VM hosted in HA way by the hosts it is managing [1.

http://www.ovirt.org/Features/Self_Hosted_Engine


Thank you

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


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


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


Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP module

2015-01-15 Thread Alon Bar-Lev


- Original Message -
 From: Bruno Rodriguez br...@pic.es
 To: Ondra Machacek omach...@redhat.com
 Cc: Alon Bar-Lev alo...@redhat.com, Esther Accion esth...@pic.es, 
 users@ovirt.org
 Sent: Thursday, January 15, 2015 12:03:39 PM
 Subject: Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP 
 module
 
 Thanks ! Now it's working!
 
 The problem was the absence of the line:
 
 pool.default.auth.type = simple

this should not be set to all pools, only for the authz pool.
the authn pool should be anonymous.

the process of authentication is:

1. create a pool X ldap connections with anonymous bind.
2. when user authenticate fetch a connection from (1) and bind user that user 
and password.
3. revert to anonymous, return to pool. 

so basically your pool is now authenticated using your search user at all time.
if your ldap does not permit anonymous logins at all, maybe better is to 
provide different user for this authentication pool?

 It's strange, I thought that the default auth type was set to simple and I
 didn't check it twice. After setting that the problem has to do about a
 user/password incorrect, which is our problem because of the schema we are
 using (migrated from a NIS some time ago).
 
 The openldap_example.properties actually was a copy of openldap.properties,
 I did it that way to customize it to our  schema, but in a first instance
 it was a carbon copy of the original.

in next version (1.0.2) there is rfc2307-openldap.properties to ease use :)

 
 Thanks again !
 
 Bruno
 
 
 
 On Thu, Jan 15, 2015 at 10:43 AM, Ondra Machacek omach...@redhat.com
 wrote:
 
  On 01/15/2015 10:36 AM, Alon Bar-Lev wrote:
 
 
 
  - Original Message -
 
  From: Bruno Rodriguez br...@pic.es
  To: Ondra Machacek omach...@redhat.com
  Cc: Esther Accion esth...@pic.es, users@ovirt.org
  Sent: Thursday, January 15, 2015 11:20:57 AM
  Subject: Re: [ovirt-users] Error authenticating bind using the AAA
  OpenLDAP module
 
  Thank you very much,
 
  using the following ldap.example.org file:
 
  -
 
  include = openldap_example.properties
  include = rfc2307.properties
 
 
  what do you have in openldap_example.properties?
 
 
  It seems you have specified anonymous bind in openldap_example.properties.
  You should probably try it with original one (openldap.properties).
 
 
 
   vars.server = ldap1.example.org
  #vars.user = cn=authenticate,ou=System,dc=example,dc=org
  #vars.password = X
 
 
  why have you commented out the vars?
  you should have just removed the quotes from vars.password and keep
  bellow as-is.
 
   pool.default.serverset.single.server = ${global:vars.server}
  pool.default.auth.simple.bindDN = cn=authenticate,ou=System,dc=
  example,dc=org
  pool.default.auth.simple.password = X
 
  pool.default.ssl.startTLS = true
  pool.default.ssl.truststore.file =
  /etc/ovirt-engine/extensions.d/ldap.example.org_keystore.jks
  pool.default.ssl.truststore.password = X
 
  -
 
  Then I get the following in the engine log:
 
 
  2015-01-15 10:04:15,250 ERROR
  [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand]
  (ajp--127.0.0.1-8702-3) Error during CanDoActionFailure.: Class: class
  org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedEx
  ception
  Input:
  {Extkey[name=AAA_AUTHN_CREDENTIALS;type=class
  java.lang.String;uuid=AAA_AUTHN_CREDENTIALS[03b96485-
  4bb5-4592-8167-810a5c909706];]=***,
  Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class
  org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_INVOKE_CONTEXT[
  886d2ebb-312a-49ae-9cc3-e1f849834b7d];]={Extkey[name=
  EXTENSION_INTERFACE_VERSION_MAX;type=class
  java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_
  MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0,
  Extkey[name=EXTENSION_LICENSE;type=class
  java.lang.String;uuid=EXTENSION_LICENSE[8a61ad65-
  054c-4e31-9c6d-1ca4d60a4c18];]=ASL
  2.0, Extkey[name=EXTENSION_NOTES;type=class
  java.lang.String;uuid=EXTENSION_NOTES[2da5ad7e-185a-
  4584-aaff-97f66978e4ea];]=Display
  name: ovirt-engine-extension-aaa-ldap-1.0.0-1.el6,
  Extkey[name=EXTENSION_HOME_URL;type=class
  java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-
  f969-42d4-b399-72d192e18304];]=
  http://www.ovirt.org ,Extkey[name=EXTENSION_LOCALE;type=class
  java.lang.String;uuid=EXTENSION_LOCALE[0780b112-
  0ce0-404a-b85e-8765d778bb29];]=en_US,
  Extkey[name=EXTENSION_NAME;type=class
  java.lang.String;uuid=EXTENSION_NAME[651381d3-f54f-
  4547-bf28-b0b01a103184];]=ovirt-engine-extension-aaa-ldap.authn,
  Extkey[name=EXTENSION_INTERFACE_VERSION_MIN;type=class
  java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_
  MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0,
  Extkey[name=EXTENSION_CONFIGURATION;type=class
  java.util.Properties;uuid=EXTENSION_CONFIGURATION[
  2d48ab72-f0a1-4312-b4ae-5068a226b0fc];]=***,
  Extkey[name=EXTENSION_AUTHOR;type=class
  java.lang.String;uuid=EXTENSION_AUTHOR[ef242f7a-
  2dad-4bc5-9aad-e07018b7fbcc];]=The
 

Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP module

2015-01-15 Thread Bruno Rodriguez
Sorry, I forgot to restart the service. With the same ldap.example.org
file, the REAL logs are the following:

-- ldap log --

Jan 15 10:23:52 ldap1 slapd[6712]: conn=1672935 fd=109 ACCEPT from
IP=192.168.XX.XX:41522 (IP=0.0.0.0:389)
Jan 15 10:23:52 ldap1 slapd[6712]: conn=1672935 op=0 EXT
oid=1.3.6.1.4.1.1466.20037
Jan 15 10:23:52 ldap1 slapd[6712]: conn=1672935 op=0 STARTTLS
Jan 15 10:23:52 ldap1 slapd[6712]: conn=1672935 op=0 RESULT oid= err=0 text=
Jan 15 10:23:53 ldap1 slapd[6712]: conn=1672935 fd=109 TLS established
tls_ssf=128 ssf=128
Jan 15 10:23:53 ldap1 slapd[6712]: conn=1672935 op=1 BIND dn= method=128
Jan 15 10:23:53 ldap1 slapd[6712]: conn=1672935 op=1 RESULT tag=97 err=48
text=anonymous bind disallowed
Jan 15 10:23:53 ldap1 slapd[6712]: conn=1672935 op=2 UNBIND
Jan 15 10:23:53 ldap1 slapd[6712]: conn=1672935 fd=109 closed

-- engine log --

2015-01-15 10:23:53,010 ERROR
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand]
(ajp--127.0.0.1-8702-2) Error during CanDoActionFailure.: Class: class
org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedException
Input:
{Extkey[name=AAA_AUTHN_CREDENTIALS;type=class
java.lang.String;uuid=AAA_AUTHN_CREDENTIALS[03b96485-4bb5-4592-8167-810a5c909706];]=***,
Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class
org.ovirt.engine.api.extensions.ExtMap;uu
id=EXTENSION_INVOKE_CONTEXT[886d2ebb-312a-49ae-9cc3-e1f849834b7d];]={Extkey[name=EXTENSION_INTERFACE_VERSION_MAX
;type=class
java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0,
Ex tkey[name=EXTENSION_LICENSE;type=class
java.lang.String;uuid=EXTENSION_LICENSE[8a61ad65-054c-4e31-9c6d-1ca4d60a4
c18];]=ASL 2.0, Extkey[name=EXTENSION_NOTES;type=class
java.lang.String;uuid=EXTENSION_NOTES[2da5ad7e-185a-4584-
aaff-97f66978e4ea];]=Display name:
ovirt-engine-extension-aaa-ldap-1.0.0-1.el6,
Extkey[name=EXTENSION_HOME_URL;t ype=class
java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-f969-42d4-b399-72d192e18304];]=
http://www.ovirt.org, Extkey[name=EXTENSION_LOCALE;type=class
java.lang.String;uuid=EXTENSION_LOCALE[0780b112-0ce0-404a-b85e-8765d778
bb29];]=en_US, Extkey[name=EXTENSION_NAME;type=class
java.lang.String;uuid=EXTENSION_NAME[651381d3-f54f-4547-bf2
8-b0b01a103184];]=ovirt-engine-extension-aaa-ldap.authn,
Extkey[name=EXTENSION_INTERFACE_VERSION_MIN;type=class
java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0,
Extkey[name=EX TENSION_CONFIGURATION;type=class
java.util.Properties;uuid=EXTENSION_CONFIGURATION[2d48ab72-f0a1-4312-b4ae-5068a
226b0fc];]=***, Extkey[name=EXTENSION_AUTHOR;type=class
java.lang.String;uuid=EXTENSION_AUTHOR[ef242f7a-2dad-4bc
5-9aad-e07018b7fbcc];]=The oVirt Project,
Extkey[name=EXTENSION_INSTANCE_NAME;type=class java.lang.String;uuid=E
XTENSION_INSTANCE_NAME[65c67ff6-aeca-4bd5-a245-8674327f011b];]=
authn-ldap.example.org, Extkey[name=EXTENSION_BUILD_IN
TERFACE_VERSION;type=class
java.lang.Integer;uuid=EXTENSION_BUILD_INTERFACE_VERSION[cb479e5a-4b23-46f8-aed3-56a4
747a8ab7];]=0,
Extkey[name=EXTENSION_CONFIGURATION_SENSITIVE_KEYS;type=interface
java.util.Collection;uuid=EXTEN
SION_CONFIGURATION_SENSITIVE_KEYS[a456efa1-73ff-4204-9f9b-ebff01e35263];]=[],
Extkey[name=AAA_AUTHN_CAPABILITIES ;type=class
java.lang.Long;uuid=AAA_AUTHN_CAPABILITIES[9d16bee3-10fd-46f2-83f9-3d3c54cf258d];]=12,
Extkey[name=E XTENSION_GLOBAL_CONTEXT;type=class
org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_GLOBAL_CONTEXT[9799e72f
-7af6-4cf1-bf08-297bc8903676];]=*skip*,
Extkey[name=EXTENSION_VERSION;type=class java.lang.String;uuid=EXTENSION
_VERSION[fe35f6a8-8239-4bdb-ab1a-af9f779ce68c];]=1.0.0,
Extkey[name=EXTENSION_MANAGER_TRACE_LOG;type=interface o
rg.slf4j.Logger;uuid=EXTENSION_MANAGER_TRACE_LOG[863db666-3ea7-4751-9695-918a3197ad83];]=org.slf4j.impl.Slf4jLog
ger(org.ovirt.engine.core.extensions.mgr.ExtensionsManager.trace.ovirt-engine-extension-aaa-ldap.authn.authn-lda
p.example.org), Extkey[name=EXTENSION_PROVIDES;type=interface
java.util.Collection;uuid=EXTENSION_PROVIDES[8cf373a6-6
5b5-4594-b828-0e275087de91];]=[org.ovirt.engine.api.extensions.aaa.Authn]},
Extkey[name=AAA_AUTHN_USER;type=clas s
java.lang.String;uuid=AAA_AUTHN_USER[1ceaba26-1bdc-4663-a3c6-5d926f9dd8f0];]=esthera,
Extkey[name=EXTENSION_IN VOKE_COMMAND;type=class
org.ovirt.engine.api.extensions.ExtUUID;uuid=EXTENSION_INVOKE_COMMAND[485778ab-bede-4f1a
-b823-77b262a2f28d];]=AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]}
 Output:
 {Extkey[name=EXTENSION_INVOKE_RESULT;type=class
java.lang.Integer;uuid=EXTENSION_INVOKE_RESULT[0909d91d-8bde-40f
b-b6c0-099c772ddd4e];]=2, Extkey[name=EXTENSION_INVOKE_MESSAGE;type=class
java.lang.String;uuid=EXTENSION_INVOKE
_MESSAGE[b7b053de-dc73-4bf7-9d26-b8bdb72f5893];]=anonymous bind disallowed}


As you can see, the engine tries to make an anonimous binding and it's
unsuccessful...

Thank you very much (and sorry for the previous message),


Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP module

2015-01-15 Thread Ondra Machacek

On 01/15/2015 10:36 AM, Alon Bar-Lev wrote:



- Original Message -

From: Bruno Rodriguez br...@pic.es
To: Ondra Machacek omach...@redhat.com
Cc: Esther Accion esth...@pic.es, users@ovirt.org
Sent: Thursday, January 15, 2015 11:20:57 AM
Subject: Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP 
module

Thank you very much,

using the following ldap.example.org file:

-

include = openldap_example.properties
include = rfc2307.properties


what do you have in openldap_example.properties?


It seems you have specified anonymous bind in 
openldap_example.properties. You should probably try it with original 
one (openldap.properties).





vars.server = ldap1.example.org
#vars.user = cn=authenticate,ou=System,dc=example,dc=org
#vars.password = X


why have you commented out the vars?
you should have just removed the quotes from vars.password and keep bellow 
as-is.


pool.default.serverset.single.server = ${global:vars.server}
pool.default.auth.simple.bindDN = cn=authenticate,ou=System,dc=example,dc=org
pool.default.auth.simple.password = X

pool.default.ssl.startTLS = true
pool.default.ssl.truststore.file =
/etc/ovirt-engine/extensions.d/ldap.example.org_keystore.jks
pool.default.ssl.truststore.password = X

-

Then I get the following in the engine log:


2015-01-15 10:04:15,250 ERROR
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand]
(ajp--127.0.0.1-8702-3) Error during CanDoActionFailure.: Class: class
org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedException
Input:
{Extkey[name=AAA_AUTHN_CREDENTIALS;type=class
java.lang.String;uuid=AAA_AUTHN_CREDENTIALS[03b96485-4bb5-4592-8167-810a5c909706];]=***,
Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class
org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_INVOKE_CONTEXT[886d2ebb-312a-49ae-9cc3-e1f849834b7d];]={Extkey[name=EXTENSION_INTERFACE_VERSION_MAX;type=class
java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0,
Extkey[name=EXTENSION_LICENSE;type=class
java.lang.String;uuid=EXTENSION_LICENSE[8a61ad65-054c-4e31-9c6d-1ca4d60a4c18];]=ASL
2.0, Extkey[name=EXTENSION_NOTES;type=class
java.lang.String;uuid=EXTENSION_NOTES[2da5ad7e-185a-4584-aaff-97f66978e4ea];]=Display
name: ovirt-engine-extension-aaa-ldap-1.0.0-1.el6,
Extkey[name=EXTENSION_HOME_URL;type=class
java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-f969-42d4-b399-72d192e18304];]=
http://www.ovirt.org ,Extkey[name=EXTENSION_LOCALE;type=class
java.lang.String;uuid=EXTENSION_LOCALE[0780b112-0ce0-404a-b85e-8765d778bb29];]=en_US,
Extkey[name=EXTENSION_NAME;type=class
java.lang.String;uuid=EXTENSION_NAME[651381d3-f54f-4547-bf28-b0b01a103184];]=ovirt-engine-extension-aaa-ldap.authn,
Extkey[name=EXTENSION_INTERFACE_VERSION_MIN;type=class
java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0,
Extkey[name=EXTENSION_CONFIGURATION;type=class
java.util.Properties;uuid=EXTENSION_CONFIGURATION[2d48ab72-f0a1-4312-b4ae-5068a226b0fc];]=***,
Extkey[name=EXTENSION_AUTHOR;type=class
java.lang.String;uuid=EXTENSION_AUTHOR[ef242f7a-2dad-4bc5-9aad-e07018b7fbcc];]=The
oVirt Project, Extkey[name=EXTENSION_INSTANCE_NAME;type=class
java.lang.String;uuid=EXTENSION_INSTANCE_NAME[65c67ff6-aeca-4bd5-a245-8674327f011b];]=
authn-ldap.example.org ,
Extkey[name=EXTENSION_BUILD_INTERFACE_VERSION;type=class
java.lang.Integer;uuid=EXTENSION_BUILD_INTERFACE_VERSION[cb479e5a-4b23-46f8-aed3-56a4747a8ab7];]=0,
Extkey[name=EXTENSION_CONFIGURATION_SENSITIVE_KEYS;type=interface
java.util.Collection;uuid=EXTENSION_CONFIGURATION_SENSITIVE_KEYS[a456efa1-73ff-4204-9f9b-ebff01e35263];]=[],
Extkey[name=AAA_AUTHN_CAPABILITIES;type=class
java.lang.Long;uuid=AAA_AUTHN_CAPABILITIES[9d16bee3-10fd-46f2-83f9-3d3c54cf258d];]=12,
Extkey[name=EXTENSION_GLOBAL_CONTEXT;type=class
org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_GLOBAL_CONTEXT[9799e72f-7af6-4cf1-bf08-297bc8903676];]=*skip*,
Extkey[name=EXTENSION_VERSION;type=class
java.lang.String;uuid=EXTENSION_VERSION[fe35f6a8-8239-4bdb-ab1a-af9f779ce68c];]=1.0.0,
Extkey[name=EXTENSION_MANAGER_TRACE_LOG;type=interface
org.slf4j.Logger;uuid=EXTENSION_MANAGER_TRACE_LOG[863db666-3ea7-4751-9695-918a3197ad83];]=org.slf4j.impl.Slf4jLogger(
org.ovirt.engine.core.extensions.mgr.ExtensionsManager.trace.ovirt-engine-extension-aaa-ldap.authn.authn-ldap.example.org
), Extkey[name=EXTENSION_PROVIDES;type=interface
java.util.Collection;uuid=EXTENSION_PROVIDES[8cf373a6-65b5-4594-b828-0e275087de91];]=[org.ovirt.engine.api.extensions.aaa.Authn]},
Extkey[name=AAA_AUTHN_USER;type=class
java.lang.String;uuid=AAA_AUTHN_USER[1ceaba26-1bdc-4663-a3c6-5d926f9dd8f0];]=bruno,
Extkey[name=EXTENSION_INVOKE_COMMAND;type=class
org.ovirt.engine.api.extensions.ExtUUID;uuid=EXTENSION_INVOKE_COMMAND[485778ab-bede-4f1a-b823-77b262a2f28d];]=AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]}
Output:

Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP module

2015-01-15 Thread Bruno Rodriguez
Thanks ! Now it's working!

The problem was the absence of the line:

pool.default.auth.type = simple

It's strange, I thought that the default auth type was set to simple and I
didn't check it twice. After setting that the problem has to do about a
user/password incorrect, which is our problem because of the schema we are
using (migrated from a NIS some time ago).

The openldap_example.properties actually was a copy of openldap.properties,
I did it that way to customize it to our  schema, but in a first instance
it was a carbon copy of the original.

Thanks again !

Bruno



On Thu, Jan 15, 2015 at 10:43 AM, Ondra Machacek omach...@redhat.com
wrote:

 On 01/15/2015 10:36 AM, Alon Bar-Lev wrote:



 - Original Message -

 From: Bruno Rodriguez br...@pic.es
 To: Ondra Machacek omach...@redhat.com
 Cc: Esther Accion esth...@pic.es, users@ovirt.org
 Sent: Thursday, January 15, 2015 11:20:57 AM
 Subject: Re: [ovirt-users] Error authenticating bind using the AAA
 OpenLDAP module

 Thank you very much,

 using the following ldap.example.org file:

 -

 include = openldap_example.properties
 include = rfc2307.properties


 what do you have in openldap_example.properties?


 It seems you have specified anonymous bind in openldap_example.properties.
 You should probably try it with original one (openldap.properties).



  vars.server = ldap1.example.org
 #vars.user = cn=authenticate,ou=System,dc=example,dc=org
 #vars.password = X


 why have you commented out the vars?
 you should have just removed the quotes from vars.password and keep
 bellow as-is.

  pool.default.serverset.single.server = ${global:vars.server}
 pool.default.auth.simple.bindDN = cn=authenticate,ou=System,dc=
 example,dc=org
 pool.default.auth.simple.password = X

 pool.default.ssl.startTLS = true
 pool.default.ssl.truststore.file =
 /etc/ovirt-engine/extensions.d/ldap.example.org_keystore.jks
 pool.default.ssl.truststore.password = X

 -

 Then I get the following in the engine log:


 2015-01-15 10:04:15,250 ERROR
 [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand]
 (ajp--127.0.0.1-8702-3) Error during CanDoActionFailure.: Class: class
 org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedEx
 ception
 Input:
 {Extkey[name=AAA_AUTHN_CREDENTIALS;type=class
 java.lang.String;uuid=AAA_AUTHN_CREDENTIALS[03b96485-
 4bb5-4592-8167-810a5c909706];]=***,
 Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class
 org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_INVOKE_CONTEXT[
 886d2ebb-312a-49ae-9cc3-e1f849834b7d];]={Extkey[name=
 EXTENSION_INTERFACE_VERSION_MAX;type=class
 java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_
 MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0,
 Extkey[name=EXTENSION_LICENSE;type=class
 java.lang.String;uuid=EXTENSION_LICENSE[8a61ad65-
 054c-4e31-9c6d-1ca4d60a4c18];]=ASL
 2.0, Extkey[name=EXTENSION_NOTES;type=class
 java.lang.String;uuid=EXTENSION_NOTES[2da5ad7e-185a-
 4584-aaff-97f66978e4ea];]=Display
 name: ovirt-engine-extension-aaa-ldap-1.0.0-1.el6,
 Extkey[name=EXTENSION_HOME_URL;type=class
 java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-
 f969-42d4-b399-72d192e18304];]=
 http://www.ovirt.org ,Extkey[name=EXTENSION_LOCALE;type=class
 java.lang.String;uuid=EXTENSION_LOCALE[0780b112-
 0ce0-404a-b85e-8765d778bb29];]=en_US,
 Extkey[name=EXTENSION_NAME;type=class
 java.lang.String;uuid=EXTENSION_NAME[651381d3-f54f-
 4547-bf28-b0b01a103184];]=ovirt-engine-extension-aaa-ldap.authn,
 Extkey[name=EXTENSION_INTERFACE_VERSION_MIN;type=class
 java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_
 MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0,
 Extkey[name=EXTENSION_CONFIGURATION;type=class
 java.util.Properties;uuid=EXTENSION_CONFIGURATION[
 2d48ab72-f0a1-4312-b4ae-5068a226b0fc];]=***,
 Extkey[name=EXTENSION_AUTHOR;type=class
 java.lang.String;uuid=EXTENSION_AUTHOR[ef242f7a-
 2dad-4bc5-9aad-e07018b7fbcc];]=The
 oVirt Project, Extkey[name=EXTENSION_INSTANCE_NAME;type=class
 java.lang.String;uuid=EXTENSION_INSTANCE_NAME[65c67ff6-aeca-4bd5-a245-
 8674327f011b];]=
 authn-ldap.example.org ,
 Extkey[name=EXTENSION_BUILD_INTERFACE_VERSION;type=class
 java.lang.Integer;uuid=EXTENSION_BUILD_INTERFACE_
 VERSION[cb479e5a-4b23-46f8-aed3-56a4747a8ab7];]=0,
 Extkey[name=EXTENSION_CONFIGURATION_SENSITIVE_KEYS;type=interface
 java.util.Collection;uuid=EXTENSION_CONFIGURATION_
 SENSITIVE_KEYS[a456efa1-73ff-4204-9f9b-ebff01e35263];]=[],
 Extkey[name=AAA_AUTHN_CAPABILITIES;type=class
 java.lang.Long;uuid=AAA_AUTHN_CAPABILITIES[9d16bee3-10fd-
 46f2-83f9-3d3c54cf258d];]=12,
 Extkey[name=EXTENSION_GLOBAL_CONTEXT;type=class
 org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_GLOBAL_CONTEXT[
 9799e72f-7af6-4cf1-bf08-297bc8903676];]=*skip*,
 Extkey[name=EXTENSION_VERSION;type=class
 java.lang.String;uuid=EXTENSION_VERSION[fe35f6a8-
 8239-4bdb-ab1a-af9f779ce68c];]=1.0.0,
 Extkey[name=EXTENSION_MANAGER_TRACE_LOG;type=interface
 

Re: [ovirt-users] [Feature review] Select network to be used for glusterfs

2015-01-15 Thread Dan Kenigsberg
On Thu, Jan 15, 2015 at 12:34:18PM +0530, Sahina Bose wrote:
 
 
 I've updated the feature page with the REST API and other comments. On
 further thought, there will be no change to Add brick API, as the engine
 will select the network to be used based on the networks setup for the host.
 If Storage network role is associated with any of the networks, this will
 be used. Otherwise, the host's address will be used to add the brick.


snip

The paragraph above rules out the use case I lay below. Could you relate
to it? Isn't it a reasonable use case?

 If I am not mistaken, it could make sense to have a setup with one brick
 using network A and another - using network B. Does your design support
 this? I think that this would be particularly important on upgraded
 clusters, where the management network is already used, but newly
 created bricks should start using another network.
 

May I repeat my follow request? It would help me understand the content
of the feature.

 Would you add a feature page section regarding modification to the
 Vdsm/Engine API?


 One last comment - may I ask that new APIs accept both ipv4 and ipv6
 addresses? There is an ongoing effort to support ipv6 on Vdsm.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] name of virtual machine and hostname

2015-01-15 Thread Simone Tiraboschi


- Original Message -
 From: nicola gentile nicola.gentile...@gmail.com
 To: Users@ovirt.org
 Sent: Wednesday, January 14, 2015 2:33:35 PM
 Subject: Re: [ovirt-users] name of virtual machine and hostname
 
 Good morning,
 sorry if I reply only now.
 Let me explain better.
 Once generated the vms, the hostname of the vms are the same of the
 template, but I wish it was centos-01, centos-02, etc.
 Is it possible?

Yes, you can use cloud-init to set some parameters for each VM including the 
hostname.
You should install the cloud-init rpm on your VMs (it would probably better to 
do it on the template one) and than you can set the parameters for each VM from 
'Initial run' tab under 'Advanced option'.

 Thanks,
 Nicola
 
 2014-06-29 15:43 GMT+02:00 Moti Asayag masa...@redhat.com:
 
 
  - Original Message -
  From: Shahar Havivi shah...@redhat.com
  To: Antoni Segura Puimedon asegu...@redhat.com
  Cc: Users@ovirt.org
  Sent: Sunday, June 29, 2014 11:12:24 AM
  Subject: Re: [ovirt-users] name of virtual machine and hostname
 
  On 27.06.14 05:18, Antoni Segura Puimedon wrote:
  
  
   - Original Message -
From: nicola gentile nicola.gentile...@gmail.com
To: Users@ovirt.org
Sent: Friday, June 27, 2014 11:16:51 AM
Subject: [ovirt-users] name of virtual machine and hostname
   
Good morning,
I would like to ask you an information.
After I have installed ovirt, I have created a pool of vm with name
like centos-?? (from 1 to 20)
and then ovirt generated 20 vm with name centos-1, centos-2, centos-3
etc.
etc.
The problem is when the vm starts the hostname is not the same of the
vm name in ovirt but is the same name of the template.
Is it possible to make sure that the name of vm and the hostname is
identical?
  
   I guess that the way to go about it would be to use the cloudinit
   integration.
   I've not tried it myself, but:
   http://www.ovirt.org/Features/Cloud-Init_Integration
   states that setting the hostname was one of the planned features when
   the
   integration was designed.
  Setting the host name via cloud-init is currently supported - you can set
  it
  via the Add/Edit VM via the Initial Run section or try to run-once the
  VM
  and look at the same initial Run section.
  Please note that if you do Edit a VM that already run ie already
  initialized
  oVirt engine will not send the cloud-init data, you will need to use
  run-once
  dialog.
 
  What you reported looks like a bug - the VM name should be the hostname
  and
  not the template name.
 
  Unless Nicola referred to the template's host name, from which the vm pool
  was
  created. It might be if the template wasn't sealed.
 
  Nicola, could you clarify what did you mean by template name which
  appears as
  the host name ?
 
  Thanks,
  Moti
 
 
  Care to report the bug on bugzilla?
  Thank you,
  Shahar Havivi.
  
   
Best regard
   
Nicola Gentile
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
   
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] New environment ovirt

2015-01-15 Thread Simone Tiraboschi


- Original Message -
 From: nicola gentile nicola.gentile...@gmail.com
 To: Users@ovirt.org
 Sent: Wednesday, January 14, 2015 3:09:30 PM
 Subject: [ovirt-users] New environment ovirt
 
 Hello,
 I have a question.
 I would like to set up a new environment with two nodes.
 I would like separate che storage traffic, vm traffic and network
 management traffic.
 Storage is in a separate subnet.
 Also the virtual machine is in a separate subnet, and I would like to
 separate the management of the network too.
 I think I need to add 3 network adapters on the nodes, one for each purpose.
 Now I ask you, does the oVirt engine server (manager) need three
 network cards too?

At least you need only the Management Network (ovirtmgmt), you could also 
evaluate the opportunity to use the self hosted engine where oVirt engine runs 
on a VM hosted in HA way by the hosts it is managing [1.

http://www.ovirt.org/Features/Self_Hosted_Engine

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


Re: [ovirt-users] Error authenticating bind using the AAA OpenLDAP module

2015-01-15 Thread Bruno Rodriguez
Thank you very much,

using the following ldap.example.org file:

-

include = openldap_example.properties
include = rfc2307.properties

vars.server = ldap1.example.org
#vars.user = cn=authenticate,ou=System,dc=example,dc=org
#vars.password = X

pool.default.serverset.single.server = ${global:vars.server}
pool.default.auth.simple.bindDN =
cn=authenticate,ou=System,dc=example,dc=org
pool.default.auth.simple.password = X

pool.default.ssl.startTLS = true
pool.default.ssl.truststore.file =
/etc/ovirt-engine/extensions.d/ldap.example.org_keystore.jks
pool.default.ssl.truststore.password = X

-

Then I get the following in the engine log:


2015-01-15 10:04:15,250 ERROR
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand]
(ajp--127.0.0.1-8702-3) Error during CanDoActionFailure.: Class: class
org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedException
Input:
{Extkey[name=AAA_AUTHN_CREDENTIALS;type=class
java.lang.String;uuid=AAA_AUTHN_CREDENTIALS[03b96485-4bb5-4592-8167-810a5c909706];]=***,
Extkey[name=EXTENSION_INVOKE_CONTEXT;type=class
org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_INVOKE_CONTEXT[886d2ebb-312a-49ae-9cc3-e1f849834b7d];]={Extkey[name=EXTENSION_INTERFACE_VERSION_MAX;type=class
java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MAX[f4cff49f-2717-4901-8ee9-df362446e3e7];]=0,
Extkey[name=EXTENSION_LICENSE;type=class
java.lang.String;uuid=EXTENSION_LICENSE[8a61ad65-054c-4e31-9c6d-1ca4d60a4c18];]=ASL
2.0, Extkey[name=EXTENSION_NOTES;type=class
java.lang.String;uuid=EXTENSION_NOTES[2da5ad7e-185a-4584-aaff-97f66978e4ea];]=Display
name: ovirt-engine-extension-aaa-ldap-1.0.0-1.el6,
Extkey[name=EXTENSION_HOME_URL;type=class
java.lang.String;uuid=EXTENSION_HOME_URL[4ad7a2f4-f969-42d4-b399-72d192e18304];]=
http://www.ovirt.org,Extkey[name=EXTENSION_LOCALE;type=class
java.lang.String;uuid=EXTENSION_LOCALE[0780b112-0ce0-404a-b85e-8765d778bb29];]=en_US,
Extkey[name=EXTENSION_NAME;type=class
java.lang.String;uuid=EXTENSION_NAME[651381d3-f54f-4547-bf28-b0b01a103184];]=ovirt-engine-extension-aaa-ldap.authn,
Extkey[name=EXTENSION_INTERFACE_VERSION_MIN;type=class
java.lang.Integer;uuid=EXTENSION_INTERFACE_VERSION_MIN[2b84fc91-305b-497b-a1d7-d961b9d2ce0b];]=0,
Extkey[name=EXTENSION_CONFIGURATION;type=class
java.util.Properties;uuid=EXTENSION_CONFIGURATION[2d48ab72-f0a1-4312-b4ae-5068a226b0fc];]=***,
Extkey[name=EXTENSION_AUTHOR;type=class
java.lang.String;uuid=EXTENSION_AUTHOR[ef242f7a-2dad-4bc5-9aad-e07018b7fbcc];]=The
oVirt Project, Extkey[name=EXTENSION_INSTANCE_NAME;type=class
java.lang.String;uuid=EXTENSION_INSTANCE_NAME[65c67ff6-aeca-4bd5-a245-8674327f011b];]=
authn-ldap.example.org,
Extkey[name=EXTENSION_BUILD_INTERFACE_VERSION;type=class
java.lang.Integer;uuid=EXTENSION_BUILD_INTERFACE_VERSION[cb479e5a-4b23-46f8-aed3-56a4747a8ab7];]=0,
Extkey[name=EXTENSION_CONFIGURATION_SENSITIVE_KEYS;type=interface
java.util.Collection;uuid=EXTENSION_CONFIGURATION_SENSITIVE_KEYS[a456efa1-73ff-4204-9f9b-ebff01e35263];]=[],
Extkey[name=AAA_AUTHN_CAPABILITIES;type=class
java.lang.Long;uuid=AAA_AUTHN_CAPABILITIES[9d16bee3-10fd-46f2-83f9-3d3c54cf258d];]=12,
Extkey[name=EXTENSION_GLOBAL_CONTEXT;type=class
org.ovirt.engine.api.extensions.ExtMap;uuid=EXTENSION_GLOBAL_CONTEXT[9799e72f-7af6-4cf1-bf08-297bc8903676];]=*skip*,
Extkey[name=EXTENSION_VERSION;type=class
java.lang.String;uuid=EXTENSION_VERSION[fe35f6a8-8239-4bdb-ab1a-af9f779ce68c];]=1.0.0,
Extkey[name=EXTENSION_MANAGER_TRACE_LOG;type=interface
org.slf4j.Logger;uuid=EXTENSION_MANAGER_TRACE_LOG[863db666-3ea7-4751-9695-918a3197ad83];]=org.slf4j.impl.Slf4jLogger(
org.ovirt.engine.core.extensions.mgr.ExtensionsManager.trace.ovirt-engine-extension-aaa-ldap.authn.authn-ldap.example.org),
Extkey[name=EXTENSION_PROVIDES;type=interface
java.util.Collection;uuid=EXTENSION_PROVIDES[8cf373a6-65b5-4594-b828-0e275087de91];]=[org.ovirt.engine.api.extensions.aaa.Authn]},
Extkey[name=AAA_AUTHN_USER;type=class
java.lang.String;uuid=AAA_AUTHN_USER[1ceaba26-1bdc-4663-a3c6-5d926f9dd8f0];]=bruno,
Extkey[name=EXTENSION_INVOKE_COMMAND;type=class
org.ovirt.engine.api.extensions.ExtUUID;uuid=EXTENSION_INVOKE_COMMAND[485778ab-bede-4f1a-b823-77b262a2f28d];]=AAA_AUTHN_AUTHENTICATE_CREDENTIALS[d9605c75-6b43-4b00-b32c-06bdfa80244c]}
 Output:
 {Extkey[name=EXTENSION_INVOKE_RESULT;type=class
java.lang.Integer;uuid=EXTENSION_INVOKE_RESULT[0909d91d-8bde-40fb-b6c0-099c772ddd4e];]=2,
Extkey[name=EXTENSION_INVOKE_MESSAGE;type=class
java.lang.String;uuid=EXTENSION_INVOKE_MESSAGE[b7b053de-dc73-4bf7-9d26-b8bdb72f5893];]=anonymous
bind disallowed}

---

And this is the ldap connection log:

/var/log/ldap.log:Jan 15 10:04:15 ldap1 slapd[6712]: conn=1671350 fd=114
ACCEPT from IP=192.168.XX.XX:41469 (IP=0.0.0.0:389)
/var/log/ldap.log:Jan 15 10:04:15 ldap1 slapd[6712]: conn=1671350 op=0 EXT
oid=1.3.6.1.4.1.1466.20037
/var/log/ldap.log:Jan 15 10:04:15 ldap1 slapd[6712]: conn=1671350 op=0
STARTTLS

Re: [ovirt-users] name of virtual machine and hostname

2015-01-15 Thread nicola.gentile.to

Il 15/01/2015 10:04, Simone Tiraboschi ha scritto:


- Original Message -

From: nicola gentile nicola.gentile...@gmail.com
To: Users@ovirt.org
Sent: Wednesday, January 14, 2015 2:33:35 PM
Subject: Re: [ovirt-users] name of virtual machine and hostname

Good morning,
sorry if I reply only now.
Let me explain better.
Once generated the vms, the hostname of the vms are the same of the
template, but I wish it was centos-01, centos-02, etc.
Is it possible?

Yes, you can use cloud-init to set some parameters for each VM including the 
hostname.
You should install the cloud-init rpm on your VMs (it would probably better to 
do it on the template one) and than you can set the parameters for each VM from 
'Initial run' tab under 'Advanced option'.


Thank you so much, I will try as soon as possible.


Thanks,
Nicola

2014-06-29 15:43 GMT+02:00 Moti Asayag masa...@redhat.com:


- Original Message -

From: Shahar Havivi shah...@redhat.com
To: Antoni Segura Puimedon asegu...@redhat.com
Cc: Users@ovirt.org
Sent: Sunday, June 29, 2014 11:12:24 AM
Subject: Re: [ovirt-users] name of virtual machine and hostname

On 27.06.14 05:18, Antoni Segura Puimedon wrote:


- Original Message -

From: nicola gentile nicola.gentile...@gmail.com
To: Users@ovirt.org
Sent: Friday, June 27, 2014 11:16:51 AM
Subject: [ovirt-users] name of virtual machine and hostname

Good morning,
I would like to ask you an information.
After I have installed ovirt, I have created a pool of vm with name
like centos-?? (from 1 to 20)
and then ovirt generated 20 vm with name centos-1, centos-2, centos-3
etc.
etc.
The problem is when the vm starts the hostname is not the same of the
vm name in ovirt but is the same name of the template.
Is it possible to make sure that the name of vm and the hostname is
identical?

I guess that the way to go about it would be to use the cloudinit
integration.
I've not tried it myself, but:
 http://www.ovirt.org/Features/Cloud-Init_Integration
states that setting the hostname was one of the planned features when
the
integration was designed.

Setting the host name via cloud-init is currently supported - you can set
it
via the Add/Edit VM via the Initial Run section or try to run-once the
VM
and look at the same initial Run section.
Please note that if you do Edit a VM that already run ie already
initialized
oVirt engine will not send the cloud-init data, you will need to use
run-once
dialog.

What you reported looks like a bug - the VM name should be the hostname
and
not the template name.

Unless Nicola referred to the template's host name, from which the vm pool
was
created. It might be if the template wasn't sealed.

Nicola, could you clarify what did you mean by template name which
appears as
the host name ?

Thanks,
Moti


Care to report the bug on bugzilla?
Thank you,
Shahar Havivi.

Best regard

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


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

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


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



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


[ovirt-users] problem adding storage connection

2015-01-15 Thread Lars Nielsen

Hello again.
And thanks for the help, now I can create hosts, which run :)

However I have run into a bit more trouble, again which seems a bit 
strange to me.


When trying to added a new Storage connection, I get this:
Error while executing action: Cannot add Storage Connection. Storage 
connection already exists.


https://dl.dropboxusercontent.com/u/55488/ovirt_storage_problem.png

My exports file, look like this:
/home/iso 
192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36) 

/home/data 
192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36) 

/home/import_data 
192.168.0.112/225.225.225.0(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36) 



Copied from the oVirt basic setup guide.
And I have restarted my NFS server service, and create the directories.

Can some one help with this? and explain the problem to me? If you need 
more info, please tell me.


Thanks and Best Regards
- Lars
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client

2015-01-15 Thread Christophe Fergeau
On Mon, Jan 05, 2015 at 04:17:58PM +0100, Michal Skrivanek wrote:
 
  Thank you,
  Tomas
  
  - Original Message -
  From: i iordanov iiorda...@gmail.com
  To: users users@ovirt.org, de...@ovirt.org
  Cc: Sphoorti Joglekar sphoorti.jogle...@gmail.com
  Sent: Thursday, December 25, 2014 11:19:58 PM
  Subject: Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client
  
  Hey guys,
  
  Thanks for remembering about Opaque. For those who are not familiar
  with the project, it is an oVirt/RHEV graphics console client which
  supports the SPICE protocol so far. It uses libgovirt to connect to
  the oVirt/RHEV API. I also created a separate pure SPICE client
  (called aSPICE) for Android based on libspice.
  
  It would be nice if I got more feedback from Red Hat developers, but
  you guys are probably as busy as I am :). The app is getting attention
  on Google Play and people are using it successfully for their
  installations, it seems.
  
  I have plans to add the following features to Opaque, time permitting:
  
  - Ability to edit default settings, so that people who connect with
  console.vv file will be able to configure Audio, keyboard layout, etc.
  - The ability to allocate VMs from a pool.
  - The ability to control Audio Playback and Recording separately.
  
  I don't think Opaque needs to get portal-management functionality.
  
  I was contacted by an intern working on movirt (Sphoorti Joglekar,
  cc-ed), asking whether I would be willing to support a URI Intent
  scheme that movirt can use to launch aSPICE. I think I already have a
  pretty well specified URI scheme that may work for the purpose, so
  we'll see how that goes. I am wondering whether it wouldn't be better
  to launch aSPICE or Opaque with a console.vv file instead, though. I
  guess the developers of movirt will have to consider both options.
  
  At any rate, Opaque is far from dead. I'm security supporting it, I
  just don't find a lot of time to work on additional features.
  
  I am cc-ing Brian Proffitt, because at one point we discussed setting
  up Opaque as a sub-project of oVirt. I don't know whether there is any
  interest for that in Red Hat, or any interest at all in supporting
  mobile clients for oVirt/RHEV, etc. It would be nice to hear an
  official stance on the topic.
 
 (adding Brian properly this time)
 
 I think it makes sense to add it together with something…though maybe
 more related to SPICE clients. So adding Christophe for his thoughts…

Opaque seems to be more an oVirt client than a SPICE client, so I'd tend
to think it would be a better fit as an oVirt project. aSPICE would fit
well together with other SPICE repositories, dunno if these are the same
code base or not (?).

 On Jan 5, 2015, at 13:38 , Tomas Jelinek tjeli...@redhat.com wrote:
  
  One more question - does aSPICE support spice proxy?
  

libgovirt is not parsing the proxy information at this point, so answer
would be no. See
http://lists.freedesktop.org/archives/spice-devel/2014-December/018475.html
and its followup
http://lists.freedesktop.org/archives/spice-devel/2015-January/018609.html

Christophe


pgpNQ3Lapm4fm.pgp
Description: PGP signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Exporting VM's painfully slow

2015-01-15 Thread Donny Davis
I will give this a spin, I can't get these machines to import at all... The job 
fails and the tasks remain, and all the machines I tried to import are locked. 

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Sven Kieske
Sent: Thursday, January 15, 2015 1:26 AM
To: users@ovirt.org
Subject: Re: [ovirt-users] Exporting VM's painfully slow

Hi,

if you use sparse images this BZ might be helpful:

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

maybe you can backport the change to your version.

The idea is to not use dd in order to move images.

HTH

--
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client

2015-01-15 Thread i iordanov
Hi Christophe,

They share a part of their code-base, primarily in the native
implementation. However, Opaque has a substantially reimplemented UI.
They both live in the same repository, though, and the plan was to
bring them closer together over time.

I see aSPICE as analogous to spicy and Opaque as analogous to virt-viewer.

Cheers,
iordan

On Thu, Jan 15, 2015 at 8:22 AM, Christophe Fergeau cferg...@redhat.com wrote:
 On Mon, Jan 05, 2015 at 04:17:58PM +0100, Michal Skrivanek wrote:

  Thank you,
  Tomas
 
  - Original Message -
  From: i iordanov iiorda...@gmail.com
  To: users users@ovirt.org, de...@ovirt.org
  Cc: Sphoorti Joglekar sphoorti.jogle...@gmail.com
  Sent: Thursday, December 25, 2014 11:19:58 PM
  Subject: Re: [ovirt-users] [ovirt-devel] [RFC] oVirt mobile client
 
  Hey guys,
 
  Thanks for remembering about Opaque. For those who are not familiar
  with the project, it is an oVirt/RHEV graphics console client which
  supports the SPICE protocol so far. It uses libgovirt to connect to
  the oVirt/RHEV API. I also created a separate pure SPICE client
  (called aSPICE) for Android based on libspice.
 
  It would be nice if I got more feedback from Red Hat developers, but
  you guys are probably as busy as I am :). The app is getting attention
  on Google Play and people are using it successfully for their
  installations, it seems.
 
  I have plans to add the following features to Opaque, time permitting:
 
  - Ability to edit default settings, so that people who connect with
  console.vv file will be able to configure Audio, keyboard layout, etc.
  - The ability to allocate VMs from a pool.
  - The ability to control Audio Playback and Recording separately.
 
  I don't think Opaque needs to get portal-management functionality.
 
  I was contacted by an intern working on movirt (Sphoorti Joglekar,
  cc-ed), asking whether I would be willing to support a URI Intent
  scheme that movirt can use to launch aSPICE. I think I already have a
  pretty well specified URI scheme that may work for the purpose, so
  we'll see how that goes. I am wondering whether it wouldn't be better
  to launch aSPICE or Opaque with a console.vv file instead, though. I
  guess the developers of movirt will have to consider both options.
 
  At any rate, Opaque is far from dead. I'm security supporting it, I
  just don't find a lot of time to work on additional features.
 
  I am cc-ing Brian Proffitt, because at one point we discussed setting
  up Opaque as a sub-project of oVirt. I don't know whether there is any
  interest for that in Red Hat, or any interest at all in supporting
  mobile clients for oVirt/RHEV, etc. It would be nice to hear an
  official stance on the topic.

 (adding Brian properly this time)

 I think it makes sense to add it together with something…though maybe
 more related to SPICE clients. So adding Christophe for his thoughts…

 Opaque seems to be more an oVirt client than a SPICE client, so I'd tend
 to think it would be a better fit as an oVirt project. aSPICE would fit
 well together with other SPICE repositories, dunno if these are the same
 code base or not (?).

 On Jan 5, 2015, at 13:38 , Tomas Jelinek tjeli...@redhat.com wrote:
 
  One more question - does aSPICE support spice proxy?
 

 libgovirt is not parsing the proxy information at this point, so answer
 would be no. See
 http://lists.freedesktop.org/archives/spice-devel/2014-December/018475.html
 and its followup
 http://lists.freedesktop.org/archives/spice-devel/2015-January/018609.html

 Christophe



-- 
The conscious mind has only one thread of execution.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cutting edge ovirt node images.

2015-01-15 Thread Anatoly Litvosky
Hi 

A centos7 based ovirt-node project joined our jenkins
http://jenkins.ovirt.org/job/ovirt-node_master_create-iso-el7_merged/

Best Regards
Tolik

On Sun, 2015-01-11 at 17:29 +0200, Anatoly Litvosky wrote:
 Hi
 
 For all of you that want the latest images for ovirt node.
 For some time there is a new job in the ovirt jenkins that builds an
 image for every commit made.
 http://jenkins.ovirt.org/job/ovirt-node_master_create-iso-fc20_merged/
 Currently for fedora 20 but hopefully more to come.
 
 Many thanks to David (dcaro) for all the effort.
 
 Best regards.
 Tolik.
 
 
 


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


Re: [ovirt-users] Performance issue for GlusterFS as the block storage for VMs

2015-01-15 Thread Donny Davis
I see. 

 

So have you done any tuning for IO performance or are the configs straight
out of the box. You also said you mounted the volume to a vm. Did you mount
it as gluster or use the built in NFS??

 

Donny

 

From: Yue, Cong [mailto:cong_...@alliedtelesis.com] 
Sent: Thursday, January 15, 2015 11:40 AM
To: Donny Davis; users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block
storage for VMs

 

I am using iometer (http://www.iometer.org/) to test the IOPS from one of
the vm.

As for IOPS is more trying to test the performance of block, rather than
real file transfer.

 

In my environment, I am using 10Gbe to make two gluster nodes be replicated.
And I mount it to vm as a volume. I tested the performance both for SAS and
SSD.

This is my current result with iometer. 

 


Test ID

Application

Block Size (Bytes)

Read/Write %

Random/Sequential %

I/O Performance Metrics

iscsi-hdd

iscsi-ssd

Guster,HDD

Gluster,SSD


1

Web File Server

4K

95%/5%

75%/25%

IOPS

195.28

2400.63

208.50

646.75


2

Web File Server

8K

95%/5%

75%/25%

IOPS

193.97

2225.73

179.89

649.93


3

Web File Server

64K

95%/5%

75%/25%

IOPS

180.50

1055.05

158.28

402.15


4

Database Online Transaction Processing

8K

70%/30%

100%/0%

IOPS

163.60

2415.90

132.13

308.46


5

Exchange Email

4K

67%/33%

100%/0%

IOPS

167.03

2685.33

145.92

294.56


6

OS Drive

8K

70%/30%

100%/0%

IOPS

163.60

2407.02

146.11

310.82


7

Decision Support System

1M

100%/0%

100%/0%

IOPS

74.24

207.42

81.14

112.20


8

File Server

8K

90%/10%

75%/25%

IOPS

191.20

2102.32

359.54

526.86


9

Video on Demand

512K

100%/0%

100%/0%

IOPS

100.32

327.19

136.66

162.48


10

Traffic Simulation

8K

50%/50%

75%/25%

IOPS

238.28

1923.91

301.05

297.70


11

Web Server Logging

8K

0%/100%

0%/100%

IOPS

3488.47

3644.33

290.33

282.04


12

SQL Server Logging

64K

0%/100%

0%/100%

IOPS

1423.29

1375.33

182.67

168.64


13

OS Paging

64K

90%/10%

0%/100%

IOPS

1215.74

1211.01

381.17

355.99


14

Media Streaming

64K

98%/2%

0%/100%

IOPS

1350.96

1365.22

457.28

455.49

 

The issue for GlusterFS I found is 

-  It can not retain the nature of SSD and SAS, such as SAS is
strong  for sequential access. SSD is strong for random access.

-  In some case, especially for SSD, the performance is pretty bad.

 

Thanks,

Cong

 

 

From: Donny Davis [mailto:do...@cloudspin.me] 
Sent: Thursday, January 15, 2015 10:27 AM
To: Yue, Cong; users@ovirt.org
Subject: RE: [ovirt-users] Performance issue for GlusterFS as the block
storage for VMs

 

Do you have any metrics to give an idea of the difference. I am using NFS
right now, and I am migrating to Gluster. I have the gluster system up, and
I see that it seems to provision disks faster than my NFS. I haven't used
any real measurement tools to get actual metrics, this is all perceived. 

 

Do you have an operational gluster?

Do what are you using right now?

 

Donny D

cloudspin.me

 

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of
Yue, Cong
Sent: Thursday, January 15, 2015 10:57 AM
To: users@ovirt.org
Subject: [ovirt-users] Performance issue for GlusterFS as the block storage
for VMs

 

Hi 

 

I have one question about whether GlusterFS is the suitable solution to be
used as the block storage for VMs.

The failure tolerant and scalability is good for GlusterFS, but in my test,
it seems the iops is pretty bad. In some blog, it said, it is even with
worse performance than normal NFS.

Should I use iscsi+drbd for the block storage for VMs.

Can somebody give some advice for this? 

 

Thanks,
Cong

 

  _  

This e-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies
of the original message. If you are the intended recipient, please be
advised that the content of this message is subject to access, review and
disclosure by the sender's e-mail System Administrator.

 

  _  

This e-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies
of the original message. If you are the intended recipient, please be
advised that the content of this message is subject to access, review and
disclosure by the sender's e-mail System Administrator.

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