[ovirt-users] Hа: Re: Block size?

2015-06-18 Thread Roman Nikolayevich Drovalev
Hello, 

Thanks for the answer, the greatest my productivity - 8K (ZFS Storage)

Daniel Helgenberger  написано 16.06.2015 
12:05:44:

> От: Daniel Helgenberger 
> Кому: Roman Nikolayevich Drovalev , 
> "Users@ovirt.org" , 
> Дата: 16.06.2015 12:02
> Тема: Re: [ovirt-users] Block size?
> 
> 
> 
> On 16.06.2015 10:36, Roman Nikolayevich Drovalev wrote:
> > Hello,
> Hello Drovalev,
> >
> > Tell please, what size of the block to me  set on the Storage for 
> the greatest
> > productivity oVirt?
> >
> > 512K, 256K, 128K, 64K, 8K or 4K ?
> I think it is safe to say if you have a good general performance with 
> the storage it also performs well with oVirt.
> 
> Therefore it might be the wrong place to ask; however, block sizes are 
> only one of many factors in storage domain performance. No one but 
> yourself or an expert at your site can answer this for you.
> 
> I would direct you to the excellent [iozone] utility witch leverages 
> much of the testing for you.
> 
> Hope that helps,
> 
> [iozone] http://www.iozone.org/
> >
> > Drovalev Roman
> >
> 
> -- 
> Daniel Helgenberger
> m box bewegtbild GmbH
> 
> P: +49/30/2408781-22
> F: +49/30/2408781-10
> 
> ACKERSTR. 19
> D-10115 BERLIN
> 
> 
> www.m-box.de  www.monkeymen.tv
> 
> Geschäftsführer: Martin Retschitzegger / Michaela Göllner
> Handeslregister: Amtsgericht Charlottenburg / HRB 112767

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


[ovirt-users] Error while executing action Setup Networks: Could not connect to peer host

2015-06-18 Thread Roman Nikolayevich Drovalev
My network iface:

#cat ifcfg-eno1
HWADDR="*;*;*;*;*;*"
DEVICE=eno1
BRIDGE=ovirtmgmt
ONBOOT=yes
IPV6INIT=no
MTU=1500
NM_CONTROLLED=no

#cat ifcfg-ovirtmgmt
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
IPADDR=192.168.8.31
NETMASK=255.255.255.0
GATEWAY=192.168.8.1
BOOTPROTO=none
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
HOTPLUG=no

BUT, my host writes the error and it is not added in Cluster! 

How correctly to add a host, or to make network interfaces?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can not kill vm

2015-06-18 Thread 肖力
Hi!
I find a way to fix this!
/etc/init.d/vdsmd stop
kill -9 "libvirtd pid"

/etc/init.d/vdsmd start
tks!



At 2015-06-11 17:45:12, "Dan Kenigsberg"  wrote:
>On Thu, Jun 11, 2015 at 09:04:14AM +0800, 肖力 wrote:
>> Ok,thk!
>> Now i have only one way just reboot host ,i wait fix this .
>
>Can you share more information with this list before you do that?
>It can come up useful when someone else reproduces the issue.
>
>BTW, you don't really need to reboot: you can use
>
>  kill -9 
>
>which most probably take it down, and let you restart it.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Adding a new quota via the ovirt-shell

2015-06-18 Thread Ondra Machacek

Hi,

cli/sdks are built on top of REST API, but there is no support for quota 
in 3.5 in REST API.

But see[1], should be supported in 3.6.

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

On 06/18/2015 03:49 PM, nico...@devels.es wrote:

Hi,

Is it currently possible to define a new resource quota (CPU, memory, 
storage...) via the ovirt-shell (CLI) in oVirt 3.5.3? I have listed 
all the available commands but I can't find it under any of them.


Thanks.

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


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


[ovirt-users] Error while executing action Setup Networks: Could not connect to peer host

2015-06-18 Thread Roman Nikolayevich Drovalev
Hello,

Please help
How to add host in cluster oVirt? 
An error in addition network interfaces! 
Earlier there was a reference to a site where the given reference has been 
described hack (is created the file ifcfg-ovirtmngm in which a script) now 
is not accessible!
How to add a host?
By comparison of the interface of a host and ovirtmgmt - error "Error 
while executing action Setup Networks: Could not connect to peer host"!

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


Re: [ovirt-users] Adding a new quota via the ovirt-shell

2015-06-18 Thread Nicolás
I can't find out how to do the same with the Python SDK, either. There 
seems to be a 'Quota' object amongst the params, but it doesn't seem to 
have defined the CPU, memory and disk tresholds parameters. It seems 
quite confusing to me, AFAIK a Quota object should be assigned to a 
Datacenter, so I don't know how the Quota object should be built 
specifying those parameters.


Any help with either the CLI or the SDK will be appreciated :-)

Thanks.

El 18/06/15 a las 14:49, nico...@devels.es escribió:

Hi,

Is it currently possible to define a new resource quota (CPU, memory, 
storage...) via the ovirt-shell (CLI) in oVirt 3.5.3? I have listed 
all the available commands but I can't find it under any of them.


Thanks.

Nicolás
___
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] 答复: How to backup/restore the rhevm-VM in hosted-engine ?

2015-06-18 Thread Sandro Bonazzola
Top posting

Hi,
just wrote http://www.ovirt.org/OVirt_Hosted_Engine_Backup_and_Restore and 
currently testing this.

Xie Chao, Groten Ryan: since you already explored this kind of procedure can 
you help commenting and / or sharing your experience here?

Adding infra, since we have Hosted Engine running in oVirt production and they 
may be interested too.


Il 05/09/2014 11:23, Xie, Chao ha scritto:
> Hi, Ryan
> 
>  Thanks for replying. I know your meaning and engine-backup command. 
> But I have some questions with your way: “If the hosted-engine needs to
> be restored for some reason I will just recreate the OS and restore the 
> engine database”.
> 
> Do you recreate the Guest using original host? And the host needn’t to be 
> fresh installed and just excute  hosted-engine –deployed again, we can
> recreate another OS?
> 
>  
> 
> *发件人:*Groten, Ryan [mailto:ryan.gro...@stantec.com]
> *发送时间:*2014年9月5日4:29
> *收件人:*Xie, Chao/谢 超; users@ovirt.org
> *主题:*RE: How to backup/restore the rhevm-VM in hosted-engine ?
> 
>  
> 
> In 3.4 there is a backup/restore utility called engine-backup.  You can use 
> this to backup the RHEV-M database(s) as well as restore.  Of course this
> won’t backup the Guest OS itself.
> 
> My DR strategy is to simply copy off these engine-backup files to another 
> location.  If the hosted-engine needs to be restored for some reason I will
> just recreate the OS and restore the engine database.
> 
>  
> 
> Check this link for documentation:
> 
>  
> 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Administration_Guide/chap-Backups.html
> 
>  
> 
>  
> 
> *From:*users-boun...@ovirt.org  
> [mailto:users-boun...@ovirt.org] *On Behalf Of *xiec.f...@cn.fujitsu.com
> 
> *Sent:* September-03-14 9:54 PM
> *To:* users@ovirt.org 
> *Subject:* [ovirt-users] How to backup/restore the rhevm-VM in hosted-engine ?
> 
>  
> 
> Hi,All
> 
>  As the mauual, I can’t find anyway to backup/restore the rhevm-VM in 
> the hosted-engine. The I just try to backup the storage of rhevm-VM
> (using cp –prf  to make a copy of folder). Then I make some change and 
> replace the origin RHEVM-VM content with my backup folder (of course I 
> shutdown
> the rhevm-vm first).  At last the vm can be up,but the status is *NOT* health 
> but as below:
> 
>  
> 
> 
> 
> Status up-to-date  : False
> 
> Hostname   : 193.168.195.248
> 
> Host ID: 1
> 
> Engine status  : unknown stale-data
> 
> Score  : 2400
> 
> Local maintenance  : False
> 
> Host timestamp : 1409743461
> 
> Extra metadata (valid at timestamp):
> 
>  metadata_parse_version=1
> 
>  metadata_feature_version=1
> 
>  timestamp=1409743461 (Wed Sep  3 07:24:21 2014)
> 
>  host-id=1
> 
>  score=2400
> 
>  maintenance=False
> 
>  state=EngineUp
> 
>  
> 
> =
> 
>  
> 
> So are there some proper way to backup the rhevm-vm?
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


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


[ovirt-users] Problem connecting to ovirt-optimizer machine

2015-06-18 Thread Hans-Joachim
Hello,

I'm playing around with the optimizer. For a full CentOS 6 oVIRT 3.5.3 cluster, 
I've installed a CentOS7 ovirt-optimizer machine as described in "Trying out 
oVirt's Probabilistic Optimizer".

All works fine... the only thing is, I can't get a connection form the engine. 
"Status: Data refresh failed: 0"

When I try from this host a: 
> telnet ovirt-optimizer 8080
GET /ovirt-optimizer/result/
.
The requested resource (Could not find resource for full path: 
http://ovirt.optimizer:8080/ovirt-optimizer/result/) is not available.
.

server.log shows
...
16:44:01,841 FEIN  [org.jboss.resteasy.core.SynchronousDispatcher] 
(http--0.0.0.0-8080-1) PathInfo: /result/
16:44:01,842 FEIN  [org.jboss.resteasy.core.SynchronousDispatcher] 
(http--0.0.0.0-8080-1) Failed executing GET /result/: 
org.jboss.resteasy.spi.NotFoundException: Could not find resource for full 
path: http://ovirt-optimizer:8080/ovirt-optimizer/result/
at org.jboss.resteasy.core.registry.Segment.match(Segment.java:81) 
[resteasy-jaxrs-2.3.2.Final.jar:]
at 
org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:33)
 [resteasy-jaxrs-2.3.2.Final.jar:]
at 
org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:327)
 [resteasy-jaxrs-2.3.2.Final.jar:]
..

Any tips, how to solve this?

Thank you

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


[ovirt-users] Adding a new quota via the ovirt-shell

2015-06-18 Thread nicolas

Hi,

Is it currently possible to define a new resource quota (CPU, memory, 
storage...) via the ovirt-shell (CLI) in oVirt 3.5.3? I have listed all 
the available commands but I can't find it under any of them.


Thanks.

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


Re: [ovirt-users] Error while executing action: Cannot add Host. Host with the same UUID already exists.

2015-06-18 Thread Ramesh

On 06/18/2015 06:24 PM, m...@ohnewald.net wrote:

Hello List,

i am using  oVirt Engine Version: 3.5.2.1-1.el6.

I would like to remove a node from a GlusterFS Cluster and use it for 
local storage.


So i put my node into maintance. Reinstalled it freshly with CentOS7.

Now i would like to add it to a New Cluster with local storage, but i 
get:


Error while executing action: Cannot add Host. Host with the same UUID 
already exists.




How can i resolve this problem?


I can NOT remove my old host from the Gluster: Cannot remove Host. 
Server having Gluster volume.





You could remove all the bricks which are added from old host using 
remove bricks action and try removing the host.


Regards,
Ramesh



Thanks,
Mario

___
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 while executing action: Cannot add Host. Host with the same UUID already exists.

2015-06-18 Thread Alon Bar-Lev

Please compare:

# dmidecode -s system-uuid

At both machines.

If equals then your bios has well known bug, the method to override it is to 
manually create /etc/vdsm/vdsm.id

- Original Message -
> From: m...@ohnewald.net
> To: "Юрий Полторацкий" , "Alon Bar-Lev" 
> 
> Cc: users@ovirt.org
> Sent: Thursday, June 18, 2015 4:08:55 PM
> Subject: Re: [ovirt-users] Error while executing action: Cannot add Host. 
> Host with the same UUID already exists.
> 
> Thanks,
> 
> i solved it by:
> 
> uuidgen > /etc/vdsm/vdsm.id
> 
> I was just confused because /etc/vdsm/vdsm.id did not exist at that
> point on my new node.
> 
> Thanks.
> 
> Mario
> 
> 
> Am 18.06.15 um 15:05 schrieb Юрий Полторацкий:
> > Hi,
> >
> > I have resolved this in such way.
> >
> > On the engine host connect to db:
> > su postgres
> > psql -s engine
> >
> > Then delete host from db manualy:
> > select vds_id from vds_static where host_name = 'HOST_NAME';
> > delete from vds_statistics where vds_id = 'id';
> > delete from vds_dynamic where vds_id = 'id';
> > delete from vds_static where vds_id = 'id';
> >
> > 2015-06-18 16:04 GMT+03:00 Alon Bar-Lev  > >:
> >
> >
> > A log will be nice.
> > However, can you please compare /etc/vdsm/vdsm.id 
> > in both hosts?
> > If not available at new host it might be a bios issue, try to
> > uuidgen > /etc/vdsm/vdsm.id  and add host.
> >
> > - Original Message -
> >  > From: m...@ohnewald.net 
> >  > To: users@ovirt.org 
> >  > Sent: Thursday, June 18, 2015 3:54:25 PM
> >  > Subject: [ovirt-users] Error while executing action: Cannot add
> > Host. Host with the same UUID already exists.
> >  >
> >  > Hello List,
> >  >
> >  > i am using  oVirt Engine Version: 3.5.2.1-1.el6.
> >  >
> >  > I would like to remove a node from a GlusterFS Cluster and use it
> >  > for
> >  > local storage.
> >  >
> >  > So i put my node into maintance. Reinstalled it freshly with
> >  > CentOS7.
> >  >
> >  > Now i would like to add it to a New Cluster with local storage,
> > but i get:
> >  >
> >  > Error while executing action: Cannot add Host. Host with the same
> > UUID
> >  > already exists.
> >  >
> >  >
> >  >
> >  > How can i resolve this problem?
> >  >
> >  >
> >  > I can NOT remove my old host from the Gluster: Cannot remove Host.
> >  > Server having Gluster volume.
> >  >
> >  >
> >  >
> >  > Thanks,
> >  > Mario
> >  >
> >  > ___
> >  > 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 while executing action: Cannot add Host. Host with the same UUID already exists.

2015-06-18 Thread m...@ohnewald.net

Thanks,

i solved it by:

uuidgen > /etc/vdsm/vdsm.id

I was just confused because /etc/vdsm/vdsm.id did not exist at that 
point on my new node.


Thanks.

Mario


Am 18.06.15 um 15:05 schrieb Юрий Полторацкий:

Hi,

I have resolved this in such way.

On the engine host connect to db:
su postgres
psql -s engine

Then delete host from db manualy:
select vds_id from vds_static where host_name = 'HOST_NAME';
delete from vds_statistics where vds_id = 'id';
delete from vds_dynamic where vds_id = 'id';
delete from vds_static where vds_id = 'id';

2015-06-18 16:04 GMT+03:00 Alon Bar-Lev mailto:alo...@redhat.com>>:


A log will be nice.
However, can you please compare /etc/vdsm/vdsm.id 
in both hosts?
If not available at new host it might be a bios issue, try to
uuidgen > /etc/vdsm/vdsm.id  and add host.

- Original Message -
 > From: m...@ohnewald.net 
 > To: users@ovirt.org 
 > Sent: Thursday, June 18, 2015 3:54:25 PM
 > Subject: [ovirt-users] Error while executing action: Cannot add
Host. Host with the same UUID already exists.
 >
 > Hello List,
 >
 > i am using  oVirt Engine Version: 3.5.2.1-1.el6.
 >
 > I would like to remove a node from a GlusterFS Cluster and use it for
 > local storage.
 >
 > So i put my node into maintance. Reinstalled it freshly with CentOS7.
 >
 > Now i would like to add it to a New Cluster with local storage,
but i get:
 >
 > Error while executing action: Cannot add Host. Host with the same
UUID
 > already exists.
 >
 >
 >
 > How can i resolve this problem?
 >
 >
 > I can NOT remove my old host from the Gluster: Cannot remove Host.
 > Server having Gluster volume.
 >
 >
 >
 > Thanks,
 > Mario
 >
 > ___
 > 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 while executing action: Cannot add Host. Host with the same UUID already exists.

2015-06-18 Thread Юрий Полторацкий
Hi,

I have resolved this in such way.

On the engine host connect to db:
su postgres
psql -s engine

Then delete host from db manualy:
select vds_id from vds_static where host_name = 'HOST_NAME';
delete from vds_statistics where vds_id = 'id';
delete from vds_dynamic where vds_id = 'id';
delete from vds_static where vds_id = 'id';

2015-06-18 16:04 GMT+03:00 Alon Bar-Lev :

>
> A log will be nice.
> However, can you please compare /etc/vdsm/vdsm.id in both hosts?
> If not available at new host it might be a bios issue, try to uuidgen >
> /etc/vdsm/vdsm.id and add host.
>
> - Original Message -
> > From: m...@ohnewald.net
> > To: users@ovirt.org
> > Sent: Thursday, June 18, 2015 3:54:25 PM
> > Subject: [ovirt-users] Error while executing action: Cannot add Host.
> Host with the same UUID already exists.
> >
> > Hello List,
> >
> > i am using  oVirt Engine Version: 3.5.2.1-1.el6.
> >
> > I would like to remove a node from a GlusterFS Cluster and use it for
> > local storage.
> >
> > So i put my node into maintance. Reinstalled it freshly with CentOS7.
> >
> > Now i would like to add it to a New Cluster with local storage, but i
> get:
> >
> > Error while executing action: Cannot add Host. Host with the same UUID
> > already exists.
> >
> >
> >
> > How can i resolve this problem?
> >
> >
> > I can NOT remove my old host from the Gluster: Cannot remove Host.
> > Server having Gluster volume.
> >
> >
> >
> > Thanks,
> > Mario
> >
> > ___
> > 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 while executing action: Cannot add Host. Host with the same UUID already exists.

2015-06-18 Thread Alon Bar-Lev

A log will be nice.
However, can you please compare /etc/vdsm/vdsm.id in both hosts?
If not available at new host it might be a bios issue, try to uuidgen > 
/etc/vdsm/vdsm.id and add host.

- Original Message -
> From: m...@ohnewald.net
> To: users@ovirt.org
> Sent: Thursday, June 18, 2015 3:54:25 PM
> Subject: [ovirt-users] Error while executing action: Cannot add Host. Host 
> with the same UUID already exists.
> 
> Hello List,
> 
> i am using  oVirt Engine Version: 3.5.2.1-1.el6.
> 
> I would like to remove a node from a GlusterFS Cluster and use it for
> local storage.
> 
> So i put my node into maintance. Reinstalled it freshly with CentOS7.
> 
> Now i would like to add it to a New Cluster with local storage, but i get:
> 
> Error while executing action: Cannot add Host. Host with the same UUID
> already exists.
> 
> 
> 
> How can i resolve this problem?
> 
> 
> I can NOT remove my old host from the Gluster: Cannot remove Host.
> Server having Gluster volume.
> 
> 
> 
> Thanks,
> Mario
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Error while executing action: Cannot add Host. Host with the same UUID already exists.

2015-06-18 Thread m...@ohnewald.net

Hello List,

i am using  oVirt Engine Version: 3.5.2.1-1.el6.

I would like to remove a node from a GlusterFS Cluster and use it for 
local storage.


So i put my node into maintance. Reinstalled it freshly with CentOS7.

Now i would like to add it to a New Cluster with local storage, but i get:

Error while executing action: Cannot add Host. Host with the same UUID 
already exists.




How can i resolve this problem?


I can NOT remove my old host from the Gluster: Cannot remove Host. 
Server having Gluster volume.




Thanks,
Mario

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


Re: [ovirt-users] LDAP bind DN generation problem

2015-06-18 Thread Ondra Machacek

On 06/18/2015 02:07 PM, Mitja Mihelič wrote:

Hi!

Hi


We just upgaded oVirt from 3.4 to 3.5 and now users cannot select the 
LDAP domain on the login screen. Only internal is available.
Our LDAP server is actually a 389DS instance and we are using for 
authentication in oVirt without Kerberos. The existing setup has 
worked since the days of 3.2.


When we try to validate the domain, we get
[root@brda ~]# engine-manage-domains validate
Error: Cannot authenticate user ovirt to domain guest.arnes.si, 
details: [LDAP: error code 32 - No Such Object]; nested exception is 
javax.naming.AuthenticationException: [LDAP: error code 32 - No Such 
Object]
Failure while testing domain guest.arnes.si. Details: Cannot 
authenticate user to LDAP server.


The LDAP log reports
[18/Jun/2015:13:52:38 +0200] conn=3 op=0 BIND 
dn="uid=ovirt,ou=Peopledc=guest,dc=arnes,dc=si" method=128 version=3

As you can see there is a comma missing before "dc=guest,dc=arnes,dc=si".

Before the upgrade the bind DN was generated properly as
[18/Jun/2015:12:42:45 +0200] conn=10219 op=0 BIND 
dn="uid=ovirt,ou=People,dc=arnes,dc=si" method=128 version=3


So what is your search user's DN ?
Is it:
dn="uid=ovirt,ou=People,dc=guest,dc=arnes,dc=si"

or

dn="uid=ovirt,ou=People,dc=arnes,dc=si"

Is it possible for you to try if different user works fine?
Because user with very similar DN works for me just OK.



This looks like a bug.
Is there a quick fix we can do to fix this typo?

We are also interested in knowing what is the correct way in 3.5 to 
add a domain that uses an LDAP server for its authentication source 
without Kerberos.


Please see following links:

*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README.profile;hb=HEAD
*http://www.ovirt.org/Features/AAA
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=tree;f=examples;hb=HEAD
*https://gerrit.ovirt.org/gitweb?p=ovirt-engine-extension-aaa-ldap.git;a=blob;f=README;hb=HEAD#l6
*https://github.com/machacekondra/ovirt-engine-kerbldap-migration




Kind regards, Mitja
--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8800, fax: +386 1 479 88 99


___
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] Unexpected protocol mismatch with SPICE HTML5

2015-06-18 Thread Michal Skrivanek

On Jun 17, 2015, at 14:24 , nico...@devels.es wrote:

> El 2015-06-17 12:35, Michal Skrivanek escribió:
>> On Jun 17, 2015, at 09:17 , nico...@devels.es wrote:
>>> Hi Michal,
>>> El 2015-06-17 07:24, Michal Skrivanek escribió:
 On Jun 17, 2015, at 08:21 , Michal Skrivanek
  wrote:
> On Jun 16, 2015, at 12:02 , nico...@devels.es wrote:
>> Hi,
>> I just made a fresh install of ovirt-engine (v. 3.5.3.1-1) on a CentOS-7 
>> x86_64 box. My previous installation had issues with the TLS certificate 
>> time of issue, which was successfully fixed in this version 
>> (https://bugzilla.redhat.com/show_bug.cgi?id=1210486). However, when 
>> trying to start the SPICE HTML5 client, all I can see is the grey square 
>> and no activity, and when clicking on "Toggle messages output", the 
>> error message "Unexpected protocol mismatch" is shown.
>> Things done:
>> * ovirt-guest-agent installed on the VM
>> * On client side, updated browser (Firefox) to latest version (38.0) and 
>> /ca.crt has been imported into Firefox certs
>> Regarding logs on the server side, I can see the following:
>> ovirt-engine
>> 
>> 2015-06-16 10:49:29,862 INFO  
>> [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-11) 
>> [39c79276] Running command: SetVmTicketCommand internal: false. Entities 
>> affected :  ID: c2e32d4f-4c54-4e38-bf66-2627dc6dd4bc Type: VMAction 
>> group CONNECT_TO_VM with role type USER
>> 2015-06-16 10:49:29,917 INFO  
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
>> (ajp--127.0.0.1-8702-11) [39c79276] START, 
>> SetVmTicketVDSCommand(HostName = ovirtengine.myorg.es, HostId = 
>> 82fb3c43-3a4b-464e-9077-8e86dea2016b, 
>> vmId=c2e32d4f-4c54-4e38-bf66-2627dc6dd4bc, ticket=TgrRVYoRhC8T, 
>> validTime=120,m userName=user, 
>> userId=5d502bbb-97d6-40b5-abbf-90121cea94d5), log id: 1881c90f
>> 2015-06-16 10:49:29,937 INFO  
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] 
>> (ajp--127.0.0.1-8702-11) [39c79276] FINISH, SetVmTicketVDSCommand, log 
>> id: 1881c90f
>> 2015-06-16 10:49:29,957 INFO  
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
>> (ajp--127.0.0.1-8702-11) [39c79276] Correlation ID: 39c79276, Call 
>> Stack: null, Custom Event ID: -1, Message: user user@domain initiated 
>> console session for VM testVM
>> 2015-06-16 10:49:29,987 WARN  
>> [org.ovirt.engine.core.dal.job.ExecutionMessageDirector] 
>> (ajp--127.0.0.1-8702-11) [7a71a9e4] The message key VmLogon is missing 
>> from bundles/ExecutionMessages
>> 2015-06-16 10:49:30,064 INFO  [org.ovirt.engine.core.bll.VmLogonCommand] 
>> (ajp--127.0.0.1-8702-11) [7a71a9e4] Running command: VmLogonCommand 
>> internal: false. Entities affected :  ID: 
>> c2e32d4f-4c54-4e38-bf66-2627dc6dd4bc Type: VMAction group CONNECT_TO_VM 
>> with role type USER
>> 2015-06-16 10:49:30,114 INFO  
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] 
>> (ajp--127.0.0.1-8702-11) [7a71a9e4] START, VmLogonVDSCommand(HostName = 
>> ovirtengine.myorg.es, HostId = 82fb3c43-3a4b-464e-9077-8e86dea2016b, 
>> vmId=c2e32d4f-4c54-4e38-bf66-2627dc6dd4bc, domain=domain-authz, 
>> password=**, userName=user@domain), log id: 68632b24
>> 2015-06-16 10:49:30,120 INFO  
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand] 
>> (ajp--127.0.0.1-8702-11) [7a71a9e4] FINISH, VmLogonVDSCommand, log id: 
>> 68632b24
>> 2015-06-16 10:49:30,351 INFO  
>> [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] 
>> (DefaultQuartzScheduler_Worker-2) START, 
>> GlusterVolumesListVDSCommand(HostName = kvmhost.myorg.es, HostId = 
>> 82fb3c43-3a4b-464e-9077-8e86dea2016b), log id: 2a2a439a
>> 2015-06-16 10:49:30,368 INFO  
>> [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] 
>> (DefaultQuartzScheduler_Worker-2) FINISH, GlusterVolumesListVDSCommand, 
>> return: {}, log id: 2a2a439a
>> ovirt-websocket-proxy
>> =
>> jun 16 09:56:39 ovirtengine.myorg.es ovirt-websocket-proxy.py[30728]: 
>> 10.X.X.X - - [16/Jun/2015 09:56:39] 10.X.X.X: SSL/TLS (wss://) WebSocket 
>> connection
>> jun 16 09:56:39 ovirtengine.myorg.es ovirt-websocket-proxy.py[30728]: 
>> 10.X.X.X - - [16/Jun/2015 09:56:39] 10.X.X.X: Version hybi-13, base64: 
>> 'False'
>> jun 16 09:56:39 ovirtengine.myorg.es ovirt-websocket-proxy.py[30728]: 
>> 10.X.X.X - - [16/Jun/2015 09:56:39] 10.X.X.X: Path: 
>> '/eyJ2YWxpZFRvIjoiMjAxNTA2MTYwODU4MzgiLCJkYXRhIjoiJTdCJTIyaG9zdCUyMjolMjIxMC4xMDcuMjYuMjAxJTIyLCUyMnBvcnQlMjI6JTIyNTkwMCUyMiwlMjJzc2xfdGFyZ2V0JTIyOnRydWUlN0QiLCJ2YWxpZEZyb20iOiIyMDE1MDYxNjA4NTYzOCIsInNpZ25lZEZpZWxkcyI6InZhbGlkVG8sZGF0YSx2YWxpZEZyb20sc2FsdCIsInNpZ25hdHVyZSI6Im

[ovirt-users] LDAP bind DN generation problem

2015-06-18 Thread Mitja Mihelič

Hi!

We just upgaded oVirt from 3.4 to 3.5 and now users cannot select the 
LDAP domain on the login screen. Only internal is available.
Our LDAP server is actually a 389DS instance and we are using for 
authentication in oVirt without Kerberos. The existing setup has worked 
since the days of 3.2.


When we try to validate the domain, we get
[root@brda ~]# engine-manage-domains validate
Error: Cannot authenticate user ovirt to domain guest.arnes.si, details: 
[LDAP: error code 32 - No Such Object]; nested exception is 
javax.naming.AuthenticationException: [LDAP: error code 32 - No Such Object]
Failure while testing domain guest.arnes.si. Details: Cannot 
authenticate user to LDAP server.


The LDAP log reports
[18/Jun/2015:13:52:38 +0200] conn=3 op=0 BIND 
dn="uid=ovirt,ou=Peopledc=guest,dc=arnes,dc=si" method=128 version=3

As you can see there is a comma missing before "dc=guest,dc=arnes,dc=si".

Before the upgrade the bind DN was generated properly as
[18/Jun/2015:12:42:45 +0200] conn=10219 op=0 BIND 
dn="uid=ovirt,ou=People,dc=arnes,dc=si" method=128 version=3


This looks like a bug.
Is there a quick fix we can do to fix this typo?

We are also interested in knowing what is the correct way in 3.5 to add 
a domain that uses an LDAP server for its authentication source without 
Kerberos.


Kind regards, Mitja

--
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8800, fax: +386 1 479 88 99

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


Re: [ovirt-users] host-deploy on HE hosts failing: Job for vdsmd.service canceled.

2015-06-18 Thread Daniel Helgenberger


On 18.06.2015 10:44, Simone Tiraboschi wrote:
>
>
> - Original Message -
>> From: "Daniel Helgenberger" 
>> To: "Simone Tiraboschi" 
>> Cc: Users@ovirt.org
>> Sent: Wednesday, June 17, 2015 7:06:53 PM
>> Subject: Re: [ovirt-users] host-deploy on HE hosts failing: Job for  
>> vdsmd.service canceled.
>>
>>
>>
>> On 17.06.2015 18:30, Simone Tiraboschi wrote:
>>>
>>>
 Il giorno 17/giu/2015, alle ore 18:21, Daniel Helgenberger
  ha scritto:



> On 17.06.2015 17:01, Simone Tiraboschi wrote:
>
>
> - Original Message -
>> From: "Daniel Helgenberger" 
>> To: "Simone Tiraboschi" 
>> Cc: Users@ovirt.org, "Alon Bar-Lev" 
>> Sent: Wednesday, June 17, 2015 4:49:07 PM
>> Subject: Re: [ovirt-users] host-deploy on HE hosts failing: Job for
>> vdsmd.service canceled.
>>
>>
>>
>>> On 17.06.2015 16:47, Simone Tiraboschi wrote:
>>>
>>>
>>> - Original Message -
 From: "Daniel Helgenberger" 
 To: "Simone Tiraboschi" 
 Cc: Users@ovirt.org, "Alon Bar-Lev" 
 Sent: Wednesday, June 17, 2015 4:40:45 PM
 Subject: Re: [ovirt-users] host-deploy on HE hosts failing: Job for
  vdsmd.service canceled.



> On 17.06.2015 16:35, Simone Tiraboschi wrote:
>
>
> - Original Message -
>> From: "Daniel Helgenberger" 
>> To: Users@ovirt.org, "Alon Bar-Lev" 
>> Sent: Wednesday, June 17, 2015 3:24:35 PM
>> Subject: [ovirt-users] host-deploy on HE hosts failing: Job for
>>  vdsmd.service canceled.
>>
>> Hello,
>>
>> I have the following problem with host-deploy on HE hosts:
>>
>>> 2015-06-17 13:22:32 DEBUG otopi.plugins.otopi.services.systemd
>>> plugin.execute:937 execute-output: ('/bin/systemctl', 'stop',
>>> 'vdsmd.service') stderr:
>>> Job for vdsmd.service canceled.
>>>
>>> 2015-06-17 13:22:32 DEBUG otopi.context context._executeMethod:152
>>> method
>>> exception
>>> Traceback (most recent call last):
>>>   File "/tmp/ovirt-1WPaDxJOpX/pythonlib/otopi/context.py", line
>>>   142,
>>>   in
>>>   _executeMethod
>>> method['method']()
>>>   File
>>>   
>>> "/tmp/ovirt-1WPaDxJOpX/otopi-plugins/ovirt-host-deploy/vdsm/packages.py",
>>>   line 106, in _packages
>>> self.services.state('vdsmd', False)
>>>   File
>>>   
>>> "/tmp/ovirt-1WPaDxJOpX/otopi-plugins/otopi/services/systemd.py",
>>>   line 138, in state
>>> 'start' if state else 'stop'
>>>   File
>>>   
>>> "/tmp/ovirt-1WPaDxJOpX/otopi-plugins/otopi/services/systemd.py",
>>>   line 77, in _executeServiceCommand
>>> raiseOnError=raiseOnError
>>>   File "/tmp/ovirt-1WPaDxJOpX/pythonlib/otopi/plugin.py", line
>>>   942,
>>>   in
>>>   execute
>>> command=args[0],
>>> RuntimeError: Command '/bin/systemctl' failed to execute
>>> 2015-06-17 13:22:32 ERROR otopi.context context._executeMethod:161
>>> Failed
>>> to execute stage 'Package installation': Command '/bin/systemctl'
>>> failed
>>> to execute
>>> 2015-06-17 13:22:32 DEBUG otopi.transaction transaction.abort:131
>>> aborting
>>> 'Yum Transaction'
>>> 2015-06-17 13:22:32 INFO otopi.plugins.otopi.packagers.yumpackager
>>> yumpackager.info:92 Yum Performing yum transaction rollback
>>> Loaded plugins: auto-update-debuginfo, fastestmirror
>>
>>
>>   I do not have 'standard' (=non ha) hosts; so I cannot tell for
>>   the
>> others but suspect it relates to HE.
>
> Yes, it's the hosted-engine HA agent which keeps VDSM up so
> host-deploy
> fails on that.
> The capability to re-deploy an hosted-engine host from the Web UI is
> not
> available on oVirt 3.5, it will included in 3.6; please help us
> testing
> it
> on the first beta in  a few weeks.
>
> By the way, why are you trying to re-deploy an host-deploy host from
> the
> web UI?
 Ok, did not know about that. I use 'Reinstall' from the UI.

 Until now, I thought the best way to update the hosts after new engine
 relases was:
 1- update engine
 2. set host to maintane
 4. yum update on host for latest vdsm
 3- Use reinstall from UI.

 Please advise!
>>>
>>> Running on your HE host:
>>> # hosted-engine --set-maintenance=local
>>> waiting for everything to be migrated if nee

Re: [ovirt-users] host-deploy on HE hosts failing: Job for vdsmd.service canceled.

2015-06-18 Thread Simone Tiraboschi


- Original Message -
> From: "Daniel Helgenberger" 
> To: "Simone Tiraboschi" 
> Cc: Users@ovirt.org
> Sent: Wednesday, June 17, 2015 7:06:53 PM
> Subject: Re: [ovirt-users] host-deploy on HE hosts failing: Job for   
> vdsmd.service canceled.
> 
> 
> 
> On 17.06.2015 18:30, Simone Tiraboschi wrote:
> >
> >
> >> Il giorno 17/giu/2015, alle ore 18:21, Daniel Helgenberger
> >>  ha scritto:
> >>
> >>
> >>
> >>> On 17.06.2015 17:01, Simone Tiraboschi wrote:
> >>>
> >>>
> >>> - Original Message -
>  From: "Daniel Helgenberger" 
>  To: "Simone Tiraboschi" 
>  Cc: Users@ovirt.org, "Alon Bar-Lev" 
>  Sent: Wednesday, June 17, 2015 4:49:07 PM
>  Subject: Re: [ovirt-users] host-deploy on HE hosts failing: Job for
>  vdsmd.service canceled.
> 
> 
> 
> > On 17.06.2015 16:47, Simone Tiraboschi wrote:
> >
> >
> > - Original Message -
> >> From: "Daniel Helgenberger" 
> >> To: "Simone Tiraboschi" 
> >> Cc: Users@ovirt.org, "Alon Bar-Lev" 
> >> Sent: Wednesday, June 17, 2015 4:40:45 PM
> >> Subject: Re: [ovirt-users] host-deploy on HE hosts failing: Job for
> >> vdsmd.service canceled.
> >>
> >>
> >>
> >>> On 17.06.2015 16:35, Simone Tiraboschi wrote:
> >>>
> >>>
> >>> - Original Message -
>  From: "Daniel Helgenberger" 
>  To: Users@ovirt.org, "Alon Bar-Lev" 
>  Sent: Wednesday, June 17, 2015 3:24:35 PM
>  Subject: [ovirt-users] host-deploy on HE hosts failing: Job for
>  vdsmd.service canceled.
> 
>  Hello,
> 
>  I have the following problem with host-deploy on HE hosts:
> 
> > 2015-06-17 13:22:32 DEBUG otopi.plugins.otopi.services.systemd
> > plugin.execute:937 execute-output: ('/bin/systemctl', 'stop',
> > 'vdsmd.service') stderr:
> > Job for vdsmd.service canceled.
> >
> > 2015-06-17 13:22:32 DEBUG otopi.context context._executeMethod:152
> > method
> > exception
> > Traceback (most recent call last):
> >  File "/tmp/ovirt-1WPaDxJOpX/pythonlib/otopi/context.py", line
> >  142,
> >  in
> >  _executeMethod
> >method['method']()
> >  File
> >  
> > "/tmp/ovirt-1WPaDxJOpX/otopi-plugins/ovirt-host-deploy/vdsm/packages.py",
> >  line 106, in _packages
> >self.services.state('vdsmd', False)
> >  File
> >  
> > "/tmp/ovirt-1WPaDxJOpX/otopi-plugins/otopi/services/systemd.py",
> >  line 138, in state
> >'start' if state else 'stop'
> >  File
> >  
> > "/tmp/ovirt-1WPaDxJOpX/otopi-plugins/otopi/services/systemd.py",
> >  line 77, in _executeServiceCommand
> >raiseOnError=raiseOnError
> >  File "/tmp/ovirt-1WPaDxJOpX/pythonlib/otopi/plugin.py", line
> >  942,
> >  in
> >  execute
> >command=args[0],
> > RuntimeError: Command '/bin/systemctl' failed to execute
> > 2015-06-17 13:22:32 ERROR otopi.context context._executeMethod:161
> > Failed
> > to execute stage 'Package installation': Command '/bin/systemctl'
> > failed
> > to execute
> > 2015-06-17 13:22:32 DEBUG otopi.transaction transaction.abort:131
> > aborting
> > 'Yum Transaction'
> > 2015-06-17 13:22:32 INFO otopi.plugins.otopi.packagers.yumpackager
> > yumpackager.info:92 Yum Performing yum transaction rollback
> > Loaded plugins: auto-update-debuginfo, fastestmirror
> 
> 
>   I do not have 'standard' (=non ha) hosts; so I cannot tell for
>   the
>  others but suspect it relates to HE.
> >>>
> >>> Yes, it's the hosted-engine HA agent which keeps VDSM up so
> >>> host-deploy
> >>> fails on that.
> >>> The capability to re-deploy an hosted-engine host from the Web UI is
> >>> not
> >>> available on oVirt 3.5, it will included in 3.6; please help us
> >>> testing
> >>> it
> >>> on the first beta in  a few weeks.
> >>>
> >>> By the way, why are you trying to re-deploy an host-deploy host from
> >>> the
> >>> web UI?
> >> Ok, did not know about that. I use 'Reinstall' from the UI.
> >>
> >> Until now, I thought the best way to update the hosts after new engine
> >> relases was:
> >> 1- update engine
> >> 2. set host to maintane
> >> 4. yum update on host for latest vdsm
> >> 3- Use reinstall from UI.
> >>
> >> Please advise!
> >
> > Running on your HE host:
> > # hosted-engine --set-maintenance=local
> > waiting for everything to be migrated if needed
> > # yum update
> > # hosted-engine --set-maintenance=none
> >
> >>