Re: [ovirt-users] Testing ovirt 3.6 RC

2015-10-05 Thread wodel youchi
any one?

2015-10-02 17:04 GMT+01:00 wodel youchi :

> Hi,
>
> Just to not bother you with this problem again.
>
> can the following be a minimum hardware to test ovirt 3.6? (I used the
> same previously with 3.5)
>
> - one machine supporting kvm
> - 8 Gb RAM
> - one nic card
> - storage (in my case NFS4)
> - 2 Gb of RAM to hosted-engine
>
>
> May be I am doing things the wrong way.
>
> thanks
>
> 2015-09-30 23:05 GMT+01:00 wodel youchi :
>
>> Hi again,
>>
>> I did redeploy from scratch, same problem
>>
>> the VM engine crashes after importing the hosted_storage.
>>
>> 2015-09-30 10:24 GMT+01:00 wodel youchi :
>>
>>> Hi,
>>>
>>> Yes I did update the VM engine.
>>>
>>> 2015-09-30 8:35 GMT+01:00 Simone Tiraboschi :
>>>


 On Tue, Sep 29, 2015 at 9:51 PM, wodel youchi 
 wrote:

> Hi,
>
> is the problem about the VM engine not being shown on webui corrected?
>
> I have updated my installation ovirt 3.6 beta 6 to RC (I didn't
> redeploy from scratch), still the same problem
>
>
> no vm engine on webui, attaching the hosted-storage to the default DC,
> causes the VM engine to crash.
>

 That patch has been merged:
 https://bugzilla.redhat.com/show_bug.cgi?id=1261996

 The patch is on the engine side, not on the host.
 Did you also updated ovirt-engine on the engine VM?


>
> Do I have to redeploy from scratch?
>
> PS: I am using NFS4 for storage.
>
> thanks in advance.
>
> ___
> 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] Admin internal inlog problems with clean install 3.6RC

2015-10-05 Thread Christopher Miersma

Hi,

Thanks for the suggestion. I had used this command already:
$ ovirt-aaa-jdbc-tool user edit admin --account-valid-to="2100-01-01 
00:00:00Z


Unfortunately, it did not solve my problem. I had started poking around 
in the database, but didn't find the field you mention.


I have just rebuilt my setup again, and this time it suddenly worked. 
The only difference I noticed this time was that I got the message "[ 
ERROR ] Failed to execute stage 'Closing up': Failed to stop service 
'ovirt-vmconsole-proxy-sshd'" So, while I've got it working, I still 
don't have a good explanation of why it didn't work before and does 
again now. I rebuild a few more times and see if I can get it to happen 
again.


Christopher

On 10/05/2015 11:00 AM, Ondra Machacek wrote:

Hi,

I believe this should solve your problem:

$ ovirt-aaa-jdbc-tool user edit admin --account-valid-to="2100-01-01 
00:00:00Z"


(feel free change the date to whatever suites you)

If it won't help, can you please send output of this psql command?

# select valid_to from aaa_jdbc.users where name = 'admin';

Username and password to connect to database can be found here: 
/etc/ovirt-engine/aaa/internal.properties


Thanks,
Ondra

On 10/05/2015 06:43 PM, Christopher Miersma wrote:
I'm having the same problem with the latest packages for 3.6 RC. I've 
tried reinstalling a number of times, setting up with and without an 
answer file, and I always get a login denied error.


Log entries:
(from trying ovirt-shell)
2015-10-05 09:30:48,361 ERROR 
[org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter] 
(default task-1) [] User admin authentication failed. profile is 
internal. Invocation Result code is 0. Authn result code is 
ACCOUNT_EXPIRED


(from web interface)
2015-10-05 10:32:25,034 INFO 
[org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-19) [] 
Can't login user 'admin' with authentication profile 'internal' 
because the authentication failed.
2015-10-05 10:32:25,040 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-19) [] Correlation ID: null, Call Stack: null, Custom Event ID: 
-1, Message: The account for admin got expired. Please contact the 
system administrator.
2015-10-05 10:32:25,043 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default 
task-19) [] Correlation ID: null, Call Stack: null, Custom Event ID: 
-1, Message: User admin@internal failed to log in.
2015-10-05 10:32:25,044 WARN 
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default 
task-19) [] CanDoAction of action 'LoginAdminUser' failed for user 
admin@internal. Reasons: USER_ACCOUNT_EXPIRED



I have tried using the ovirt-aaa-jdbc-tool tool, with "user edit 
--account-valid-to,"  "user password-reset --password-valid-to," and 
"user unlock" options with multiple different dates, passwords of 
varying complexity, etc. and nothing seems to work. This is all 
happening during the middle of a hosted-engine setup, which throws 
everything off. I've also done clean re-installs a number of times.



Early last week, when the release candidate first came out, I did not 
have this issue. I was able to complete the install without any 
problems.


Has anyone found a way to get around this if it starts happening?


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




--
Christopher Miersma
Unix System Administrator
University of Alberta Libraries
4-30 Cameron Library
780-492-4718

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


[ovirt-users] Managing two DCs with ovirt

2015-10-05 Thread wodel youchi
Hi,

I need some help to decide which is better / feasible with ovirt to manage
two or more distant DCs.

Let say that we have two distant DCs to virtualize with ovirt.

we have two options to manage them:

1- install two engines, one on each DC, the good side is, if one DC is
down, we can still manage the other one. the down side we will have two
consoles to manage.

2- install one engine to manage the two DCs, the good side is the use of
one console to rule them all :-) the down side is if the DC containing the
engine become down, there is way to manage the other one.

is there (will be there in the future) a way for example to create a slave
engine in the second DC which can takeover and let the admin to manage the
second DC?

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


[ovirt-users] Windows 10

2015-10-05 Thread Koen Vanoppen
Dear all,

Yes, onther question :-). This time it's about windows 10.
I'm running ovirt 3.5.4 and I don't manage to install windows 10 on it.
Keeps giving me a blue screen (yes, I know, it's still a windows... ;-) )
on reboot.

Are there any special settings you need to enable when creating the vm?
Which OS do I need to select? Or shall I just wait untile the relase of
ovirt 3.6 :-) ?

Kind regards,

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


Re: [ovirt-users] Admin internal inlog problems with clean install 3.6RC

2015-10-05 Thread Ondra Machacek

If this command

$ su -l postgres -c 'psql -d engine --command "select valid_to from 
aaa_jdbc.users where id = 1 ;"'


didn't return valid output, then something went wrong in installation.

Before installing please assure that your 
ovirt-engine-setup-plugin-ovirt-engine package has dependecy 
ovirt-engine-extension-aaa-jdbc, so ovirt-engine-extension-aaa-jdbc 
package is installed before you run engine-setup.(yum deplist 
ovirt-engine-setup-plugin-ovirt-engine). If aaa-jdbc package is not 
installed as dependency, please install it before running engine-setup.


Your other issue, maybe has something to do with[1]

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

Ondra

On 10/05/2015 08:52 PM, Christopher Miersma wrote:

Hi,

Thanks for the suggestion. I had used this command already:
$ ovirt-aaa-jdbc-tool user edit admin --account-valid-to="2100-01-01 
00:00:00Z


Unfortunately, it did not solve my problem. I had started poking 
around in the database, but didn't find the field you mention.


I have just rebuilt my setup again, and this time it suddenly worked. 
The only difference I noticed this time was that I got the message "[ 
ERROR ] Failed to execute stage 'Closing up': Failed to stop service 
'ovirt-vmconsole-proxy-sshd'" So, while I've got it working, I still 
don't have a good explanation of why it didn't work before and does 
again now. I rebuild a few more times and see if I can get it to 
happen again.


Christopher

On 10/05/2015 11:00 AM, Ondra Machacek wrote:

Hi,

I believe this should solve your problem:

$ ovirt-aaa-jdbc-tool user edit admin --account-valid-to="2100-01-01 
00:00:00Z"


(feel free change the date to whatever suites you)

If it won't help, can you please send output of this psql command?

# select valid_to from aaa_jdbc.users where name = 'admin';

Username and password to connect to database can be found here: 
/etc/ovirt-engine/aaa/internal.properties


Thanks,
Ondra

On 10/05/2015 06:43 PM, Christopher Miersma wrote:
I'm having the same problem with the latest packages for 3.6 RC. 
I've tried reinstalling a number of times, setting up with and 
without an answer file, and I always get a login denied error.


Log entries:
(from trying ovirt-shell)
2015-10-05 09:30:48,361 ERROR 
[org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter] 
(default task-1) [] User admin authentication failed. profile is 
internal. Invocation Result code is 0. Authn result code is 
ACCOUNT_EXPIRED


(from web interface)
2015-10-05 10:32:25,034 INFO 
[org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-19) 
[] Can't login user 'admin' with authentication profile 'internal' 
because the authentication failed.
2015-10-05 10:32:25,040 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-19) [] Correlation ID: null, Call Stack: null, Custom 
Event ID: -1, Message: The account for admin got expired. Please 
contact the system administrator.
2015-10-05 10:32:25,043 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-19) [] Correlation ID: null, Call Stack: null, Custom 
Event ID: -1, Message: User admin@internal failed to log in.
2015-10-05 10:32:25,044 WARN 
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default 
task-19) [] CanDoAction of action 'LoginAdminUser' failed for user 
admin@internal. Reasons: USER_ACCOUNT_EXPIRED



I have tried using the ovirt-aaa-jdbc-tool tool, with "user edit 
--account-valid-to,"  "user password-reset --password-valid-to," and 
"user unlock" options with multiple different dates, passwords of 
varying complexity, etc. and nothing seems to work. This is all 
happening during the middle of a hosted-engine setup, which throws 
everything off. I've also done clean re-installs a number of times.



Early last week, when the release candidate first came out, I did 
not have this issue. I was able to complete the install without any 
problems.


Has anyone found a way to get around this if it starts happening?


Christopher
___
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] elkstack

2015-10-05 Thread Koen Vanoppen
Hi All,

Anybody has a nice example for the loggs of ovirt for logstash?
I'm using this one now:

filter {
  if [type] == "ovirt" {
grok {
  match => { "message" =>
"\A%{TIMESTAMP_ISO8601}%{JAVAFILE}%{SYSLOG5424SD}%{GREEDYDATA}" }
  add_field => [ "received_at", "%{@timestamp}" ]
  add_tag => [ "ovirt" ]
  tag_on_failure => []
}
date {
  match => [ "syslog_timestamp", "MMM  d HH:mm:ss", "MMM dd HH:mm:ss" ]
  }
}
  }

But I have got a grokparse failure in this one... So I was thinking maybe
one of the community has something way better then this? :-)

Kind regards,

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


[ovirt-users] Logical Networks with different MTUs

2015-10-05 Thread Cam Wright
Hi,

I've just started building an oVirt farm as a replacement for our
existing infrastructure and I'm having issues configuring multiple
VLAN bridges with different MTUs.

When I try to add a logical network with a VLAN tag + VM Network + MTU
9000 to a bonded interface on my host with only the ovirtmgmt network
(MTU 1500, default) it throws up an error message and won't let me
continue, error message below:

Cannot setup Networks. The following Logical Networks do not have the
same MTU value: ovirtmgmt(default),
net_bne_vlan10(9000).

Eventually, I will want to add more logical networks with the default
MTU, so setting the ovirtmgmt MTU to 9000 is unfortunately not going
to solve my issue.

This is something I can do in vanilla Linux networking where I set the
802.3ad bond to be MTU 9000 and configure two different bridges off
that interface to 1500 and 9000, however this does not seem to be
possible in the oVirt web interface.

I've dug through the Administration guide and feature requests and
there doesn't seem to be anything there around using different MTU
values for different logical networks.

Has anyone been able to successfully do this? The
/etc/sysconfig/network-scripts and /var/lib/vdsm/persistence/netconf
files seem to get rewritten whenever the vdsm service does anything,
so I'm reluctant to edit them manually.

The hosts were built using the hosted-engine installer on Fedora 22.
The engine is running Fedora 22 also, see below:

[root@bne-ovirtengine01 ~]# cat /etc/redhat-release
Fedora release 22 (Twenty Two)
[root@bne-ovirtengine01 ~]# uname -r
4.0.4-301.fc22.x86_64

oVirt Engine Version: 3.6.0-1.fc22

Any assistance would be appreciated.

Cam Wright | Systems Administrator
CUTTINGEDGE
90 Victoria St, West End, Brisbane, QLD, 4101
T +61 7 3013 6222
E cwri...@cuttingedge.com.au | W www.cuttingedge.com.au

/SYD /BNE /MEL /TYO
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] USB

2015-10-05 Thread suporte
Thanks, it's working. 
Here is what I did: 

On the server node: 
yum install -y vdsm-hook-hostusb 
systemctl restart vdsmd 

On the server engine: 
engine-config -s 
"UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$" 
service ovirt-engine restart 

lsusb to find the device, Vendor and product ID 
Shutdown the VM, edit it (Advanced, Custom properties) 
Add a custom key, select hostusb and enter the key, in my case 0x04b9:0x0300 
Save and start the VM, the USB device must be plugged into the server node. 

José 

- Mensagem original -

De: "Michal Skrivanek"  
Para: supo...@logicworks.pt 
Cc: "Nathanaël Blanchet" , users@ovirt.org 
Enviadas: Sexta-feira, 2 De Outubro de 2015 13:33:56 
Assunto: Re: [ovirt-users] USB 


On 2 Oct 2015, at 14:03, supo...@logicworks.pt wrote: 




Thanks, well the version 3.6 is still very buggy. 




the release is not that far away;-) but at this very moment surely latest 3.5.z 
is more stable (however note that with any host device passthrough the 
stability may be affected) 




where can I enable hostusb vdsm hook ? 




just follow general hook docs 
it should have readme and docs how to add it to custom properties 





José 

- Mensagem original -

From: "Michal Skrivanek" < michal.skriva...@redhat.com > 
To: "Nathanaël Blanchet" < blanc...@abes.fr >, supo...@logicworks.pt 
Cc: users@ovirt.org 
Sent: Friday, October 2, 2015 11:34:33 AM 
Subject: Re: [ovirt-users] USB 


On 2 Oct 2015, at 12:05, Nathanaël Blanchet wrote: 




On the hypervisor : 
yum install -y vdsm-hook-hostusb 
systemctl restart vdsmd 


Le 02/10/2015 11:56, supo...@logicworks.pt a écrit : 



Thanks. 
How can I install hostusb? It is a windows VM machine. 

José 

- Mensagem original -

From: "Simone Tiraboschi"  
To: supo...@logicworks.pt 
Cc: "users"  
Sent: Friday, October 2, 2015 10:21:19 AM 
Subject: Re: [ovirt-users] USB 



On Fri, Oct 2, 2015 at 11:02 AM, < supo...@logicworks.pt > wrote: 



Hello, 

It's possible for a VM to read a USB pen connetced to the host (oVirt 3.5)? 




Yes, installing and enabling hostusb vdsm hook. 







also note in 3.6 there will be native support for host devices passthrough and 
you won't need any hook 
PCI and USB (USB has a libvirt permission issue currently so will probably 
really work only in 3.6.1/3.6.2 once EL7.2 is available) 

Thanks, 
michal 








Then define a custom property called hostusb and set it to 
hostusb=VendorId:ProductId getting that values from lsusb on the host. 
The VM must be pinned to the host and live-migration will not be possible, 






Thanks 

José 

-- 

Jose Ferradeira 
http://www.logicworks.pt 


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








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



-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14 blanc...@abes.fr 
___ 
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] Admin internal inlog problems with clean install 3.6RC

2015-10-05 Thread Christopher Miersma
I'm having the same problem with the latest packages for 3.6 RC. I've 
tried reinstalling a number of times, setting up with and without an 
answer file, and I always get a login denied error.


Log entries:
(from trying ovirt-shell)
2015-10-05 09:30:48,361 ERROR 
[org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter] (default 
task-1) [] User admin authentication failed. profile is internal. 
Invocation Result code is 0. Authn result code is ACCOUNT_EXPIRED


(from web interface)
2015-10-05 10:32:25,034 INFO 
[org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-19) [] 
Can't login user 'admin' with authentication profile 'internal' because 
the authentication failed.
2015-10-05 10:32:25,040 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-19) [] Correlation ID: null, Call Stack: null, Custom 
Event ID: -1, Message: The account for admin got expired. Please contact 
the system administrator.
2015-10-05 10:32:25,043 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-19) [] Correlation ID: null, Call Stack: null, Custom 
Event ID: -1, Message: User admin@internal failed to log in.
2015-10-05 10:32:25,044 WARN 
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-19) 
[] CanDoAction of action 'LoginAdminUser' failed for user 
admin@internal. Reasons: USER_ACCOUNT_EXPIRED



I have tried using the ovirt-aaa-jdbc-tool tool, with "user edit 
--account-valid-to,"  "user password-reset --password-valid-to," and 
"user unlock" options with multiple different dates, passwords of 
varying complexity, etc. and nothing seems to work. This is all 
happening during the middle of a hosted-engine setup, which throws 
everything off. I've also done clean re-installs a number of times.



Early last week, when the release candidate first came out, I did not 
have this issue. I was able to complete the install without any problems.


Has anyone found a way to get around this if it starts happening?


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


Re: [ovirt-users] oVirt support

2015-10-05 Thread Frank Wall
Hi,

On Sat, Oct 03, 2015 at 11:58:09AM +0330, S.Mohammad Emami Razavi wrote:
> How can i check oVirt support for HP servers particularly Gen9?
> Does anybody test oVirt with new generations of HP server?
> Sincerely.

if you plan to deploy oVirt on either Red Hat Enterprise Linux (RHEL) or on
CentOS Linux, this should help: 
http://h17007.www1.hp.com/us/en/enterprise/servers/supportmatrix/exceptions/rhel_exceptions.aspx


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


Re: [ovirt-users] Admin internal inlog problems with clean install 3.6RC

2015-10-05 Thread Ondra Machacek

Hi,

I believe this should solve your problem:

$ ovirt-aaa-jdbc-tool user edit admin --account-valid-to="2100-01-01 
00:00:00Z"


(feel free change the date to whatever suites you)

If it won't help, can you please send output of this psql command?

# select valid_to from aaa_jdbc.users where name = 'admin';

Username and password to connect to database can be found here: 
/etc/ovirt-engine/aaa/internal.properties


Thanks,
Ondra

On 10/05/2015 06:43 PM, Christopher Miersma wrote:
I'm having the same problem with the latest packages for 3.6 RC. I've 
tried reinstalling a number of times, setting up with and without an 
answer file, and I always get a login denied error.


Log entries:
(from trying ovirt-shell)
2015-10-05 09:30:48,361 ERROR 
[org.ovirt.engine.core.aaa.filters.BasicAuthenticationFilter] (default 
task-1) [] User admin authentication failed. profile is internal. 
Invocation Result code is 0. Authn result code is ACCOUNT_EXPIRED


(from web interface)
2015-10-05 10:32:25,034 INFO 
[org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-19) [] 
Can't login user 'admin' with authentication profile 'internal' 
because the authentication failed.
2015-10-05 10:32:25,040 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-19) [] Correlation ID: null, Call Stack: null, Custom 
Event ID: -1, Message: The account for admin got expired. Please 
contact the system administrator.
2015-10-05 10:32:25,043 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(default task-19) [] Correlation ID: null, Call Stack: null, Custom 
Event ID: -1, Message: User admin@internal failed to log in.
2015-10-05 10:32:25,044 WARN 
[org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default 
task-19) [] CanDoAction of action 'LoginAdminUser' failed for user 
admin@internal. Reasons: USER_ACCOUNT_EXPIRED



I have tried using the ovirt-aaa-jdbc-tool tool, with "user edit 
--account-valid-to,"  "user password-reset --password-valid-to," and 
"user unlock" options with multiple different dates, passwords of 
varying complexity, etc. and nothing seems to work. This is all 
happening during the middle of a hosted-engine setup, which throws 
everything off. I've also done clean re-installs a number of times.



Early last week, when the release candidate first came out, I did not 
have this issue. I was able to complete the install without any problems.


Has anyone found a way to get around this if it starts happening?


Christopher
___
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