[ovirt-users] Hosted engine Single Sign-On to VM with freeIPA not working

2016-03-19 Thread Paul
Hi,

 

I am having an issue with getting SSO to work when a standard user(UserRole)
logs in to the UserPortal.

The user has permission to use only this VM, so after login the console is
automatically opened for that VM.

Problem is that it doesn't login on the VM system with the provided
credentials. Manual login at the console works without any issues. 

HBAC-rule check on IPA shows access is granted. Client has SELINUX in
permissive mode and a disabled firewalld. 

 

On the client side I do see some PAM related errors in the logs (see details
below). Extensive Google search on error 17 "Failure setting user
credentials" didn't show helpful information :-(

 

AFAIK this is did a pretty standard set-up, all working with RH-family
products. I would expect others to encounter this issue as well. 

If someone knows any solution or has some directions to fix this it would be
greatly appreciated.

 

Thanks,

 

Paul

 

--

System setup: I have 3 systems 

 

The connection between the Engine and IPA is working fine. (I can log in
with IPA users etc.) Connection is made according to this document:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualizat
ion/3.6/html-single/Administration_Guide/index.html#sect-Configuring_an_Exte
rnal_LDAP_Provider

 

Configuration of the client is done according to this document:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualizat
ion/3.6/html/Virtual_Machine_Management_Guide/chap-Additional_Configuration.
html#sect-Configuring_Single_Sign-On_for_Virtual_Machines

 

--- Hosted Engine:

[root@engine ~]# cat /etc/redhat-release

CentOS Linux release 7.2.1511 (Core)

[root@engine ~]# uname -a

Linux engine.DOMAIN.COM 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16
17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@engine ~]# rpm -qa | grep ovirt

ovirt-vmconsole-1.0.0-1.el7.centos.noarch

ovirt-engine-restapi-3.6.2.6-1.el7.centos.noarch

ovirt-setup-lib-1.0.1-1.el7.centos.noarch

ovirt-engine-setup-plugin-ovirt-engine-common-3.6.3.4-1.el7.centos.noarch

ovirt-engine-setup-3.6.3.4-1.el7.centos.noarch

ovirt-image-uploader-3.6.0-1.el7.centos.noarch

ovirt-engine-extension-aaa-jdbc-1.0.5-1.el7.noarch

ovirt-host-deploy-1.4.1-1.el7.centos.noarch

ovirt-engine-extension-aaa-ldap-setup-1.1.2-1.el7.centos.noarch

ovirt-engine-wildfly-overlay-8.0.4-1.el7.noarch

ovirt-engine-wildfly-8.2.1-1.el7.x86_64

ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch

ovirt-engine-tools-3.6.2.6-1.el7.centos.noarch

ovirt-engine-dbscripts-3.6.2.6-1.el7.centos.noarch

ovirt-engine-backend-3.6.2.6-1.el7.centos.noarch

ovirt-engine-3.6.2.6-1.el7.centos.noarch

ovirt-engine-extension-aaa-ldap-1.1.2-1.el7.centos.noarch

ovirt-engine-setup-base-3.6.3.4-1.el7.centos.noarch

ovirt-engine-setup-plugin-ovirt-engine-3.6.3.4-1.el7.centos.noarch

ovirt-engine-setup-plugin-websocket-proxy-3.6.3.4-1.el7.centos.noarch

ovirt-engine-vmconsole-proxy-helper-3.6.3.4-1.el7.centos.noarch

ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch

ovirt-host-deploy-java-1.4.1-1.el7.centos.noarch

ovirt-engine-userportal-3.6.2.6-1.el7.centos.noarch

ovirt-engine-webadmin-portal-3.6.2.6-1.el7.centos.noarch

ovirt-guest-agent-common-1.0.11-1.el7.noarch

ovirt-release36-003-1.noarch

ovirt-iso-uploader-3.6.0-1.el7.centos.noarch

ovirt-engine-lib-3.6.3.4-1.el7.centos.noarch

ovirt-engine-sdk-python-3.6.3.0-1.el7.centos.noarch

ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.3.4-1.el7.centos.noarch

ovirt-engine-websocket-proxy-3.6.3.4-1.el7.centos.noarch

ovirt-log-collector-3.6.1-1.el7.centos.noarch

ovirt-engine-extensions-api-impl-3.6.3.4-1.el7.centos.noarch

 

--- FreeIPA:

[root@ipa01 ~]# cat /etc/redhat-release

CentOS Linux release 7.2.1511 (Core) 

[root@ipa01 ~]#  uname -a

Linux ipa01.DOMAIN.COM 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@ipa01 ~]# rpm -qa | grep ipa

ipa-python-4.2.0-15.el7_2.6.x86_64

ipa-client-4.2.0-15.el7_2.6.x86_64

python-libipa_hbac-1.13.0-40.el7_2.1.x86_64

python-iniparse-0.4-9.el7.noarch

libipa_hbac-1.13.0-40.el7_2.1.x86_64

sssd-ipa-1.13.0-40.el7_2.1.x86_64

ipa-admintools-4.2.0-15.el7_2.6.x86_64

ipa-server-4.2.0-15.el7_2.6.x86_64

ipa-server-dns-4.2.0-15.el7_2.6.x86_64

 

--- Client:

[root@test06 ~]# cat /etc/redhat-release

CentOS Linux release 7.2.1511 (Core) 

[root@test06 ~]# uname -a

Linux test06.DOMAIN.COM 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16
17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[root@test06 ~]# rpm -qa | grep ipa

python-libipa_hbac-1.13.0-40.el7_2.1.x86_64

python-iniparse-0.4-9.el7.noarch

sssd-ipa-1.13.0-40.el7_2.1.x86_64

ipa-client-4.2.0-15.0.1.el7.centos.6.x86_64

libipa_hbac-1.13.0-40.el7_2.1.x86_64

ipa-python-4.2.0-15.0.1.el7.centos.6.x86_64

device-mapper-multipath-0.4.9-85.el7.x86_64

device-mapper-multipath-libs-0.4.9-85.el7.x86_64

[root@test06 ~]# rpm -qa | grep guest-age

Re: [ovirt-users] Hosted engine Single Sign-On to VM with freeIPA not working

2016-03-19 Thread Paul
Hi Ondra,

Thanks for your reply, unfortunately this does not resolve the issue.
I had already seen this bug and tried it without the -authz appendix(maybe
should have mentioned that).
I also (may be wrongfully) assumed that the
"ovirt-engine-extension-aaa-ldap-setup" would not have this issue/bug.

Anyways, I changed it (again) to the DOMAIN without '-authz' by changing:
/etc/ovirt-engine/extensions.d/DOMAIN-authz.properties =>
ovirt.engine.extension.name =  DOMAIN 
/etc/ovirt-engine/extensions.d/DOMAIN-authn.properties =>
ovirt.engine.aaa.authn.authz.plugin = DOMAIN
Systemctl restart ovirt-engine

By the way: login with IPA users doesn't work anymore, you have to log in
with admin internal account and remove your IPA users and add them back to
make them work again.

But still get the error:
pam_sss(gdm-ovirtcred:auth): received for user test6: 17 (Failure setting
user credentials)

Any suggestions?


-Original Message-
From: Ondra Machacek [mailto:omach...@redhat.com] 
Sent: donderdag 17 maart 2016 16:58
To: Paul ; users@ovirt.org
Subject: Re: [ovirt-users] Hosted engine Single Sign-On to VM with freeIPA
not working

Hi,

your authz name should match kerberos name.
So please change your authz name from 'DOMAIN-authz' to 'DOMAIN'

Please see this bz[1] for more detail.

Ondra

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1133137#c7

On 03/17/2016 04:22 PM, Paul wrote:
> Hi,
>
> I am having an issue with getting SSO to work when a standard
> user(UserRole) logs in to the UserPortal.
>
> The user has permission to use only this VM, so after login the 
> console is automatically opened for that VM.
>
> Problem is that it doesn't login on the VM system with the provided 
> credentials. Manual login at the console works without any issues.
>
> HBAC-rule check on IPA shows access is granted. Client has SELINUX in 
> permissive mode and a disabled firewalld.
>
> On the client side I do see some PAM related errors in the logs (see 
> details below). Extensive Google search on error 17 "Failure setting 
> user credentials" didn't show helpful information :-(
>
> AFAIK this is did a pretty standard set-up, all working with RH-family 
> products. I would expect others to encounter this issue as well.
>
> If someone knows any solution or has some directions to fix this it 
> would be greatly appreciated.
>
> Thanks,
>
> Paul
>
> --
>
> System setup: I have 3 systems
>
> The connection between the Engine and IPA is working fine. (I can log 
> in with IPA users etc.) Connection is made according to this document:
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtu
> alization/3.6/html-single/Administration_Guide/index.html#sect-Configu
> ring_an_External_LDAP_Provider
>
> Configuration of the client is done according to this document:
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtu
> alization/3.6/html/Virtual_Machine_Management_Guide/chap-Additional_Co
> nfiguration.html#sect-Configuring_Single_Sign-On_for_Virtual_Machines
>
> --- Hosted Engine:
>
> [root@engine ~]# cat /etc/redhat-release
>
> CentOS Linux release 7.2.1511 (Core)
>
> [root@engine ~]# uname -a
>
> Linux engine.DOMAIN.COM 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16
> 17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
> [root@engine ~]# rpm -qa | grep ovirt
>
> ovirt-vmconsole-1.0.0-1.el7.centos.noarch
>
> ovirt-engine-restapi-3.6.2.6-1.el7.centos.noarch
>
> ovirt-setup-lib-1.0.1-1.el7.centos.noarch
>
> ovirt-engine-setup-plugin-ovirt-engine-common-3.6.3.4-1.el7.centos.noa
> rch
>
> ovirt-engine-setup-3.6.3.4-1.el7.centos.noarch
>
> ovirt-image-uploader-3.6.0-1.el7.centos.noarch
>
> ovirt-engine-extension-aaa-jdbc-1.0.5-1.el7.noarch
>
> ovirt-host-deploy-1.4.1-1.el7.centos.noarch
>
> ovirt-engine-extension-aaa-ldap-setup-1.1.2-1.el7.centos.noarch
>
> ovirt-engine-wildfly-overlay-8.0.4-1.el7.noarch
>
> ovirt-engine-wildfly-8.2.1-1.el7.x86_64
>
> ovirt-vmconsole-proxy-1.0.0-1.el7.centos.noarch
>
> ovirt-engine-tools-3.6.2.6-1.el7.centos.noarch
>
> ovirt-engine-dbscripts-3.6.2.6-1.el7.centos.noarch
>
> ovirt-engine-backend-3.6.2.6-1.el7.centos.noarch
>
> ovirt-engine-3.6.2.6-1.el7.centos.noarch
>
> ovirt-engine-extension-aaa-ldap-1.1.2-1.el7.centos.noarch
>
> ovirt-engine-setup-base-3.6.3.4-1.el7.centos.noarch
>
> ovirt-engine-setup-plugin-ovirt-engine-3.6.3.4-1.el7.centos.noarch
>
> ovirt-engine-setup-plugin-websocket-proxy-3.6.3.4-1.el7.centos.noarch
>
> ovirt-engine-vmconsole-proxy-helper-3.6.3.4-1.el7.centos.noarch
>
> ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
>
> ovirt-

Re: [ovirt-users] Hosted engine Single Sign-On to VM with freeIPA not working

2016-03-20 Thread Paul
Hi Ondra,
Bug 1316135 was new to me and sounds very similar to my issue "(0, 17,
) [Success (Failure setting user credentials)]"
Proposed work-around with "authconfig --enablenis --update" worked for me,
although this creates an issue with the keyring authentication. I can live
with this for the moment, but hopefully the bug can be fixed soon.
Thanks for the quick responses,
Regards,
Paul

-Original Message-
From: Ondra Machacek [mailto:omach...@redhat.com] 
Sent: donderdag 17 maart 2016 19:12
To: Paul ; users@ovirt.org
Subject: Re: [ovirt-users] Hosted engine Single Sign-On to VM with freeIPA
not working

Hi Paul,

ok, thanks for info, then there is an issue in pam configuration, most
probably.
There is open issue for it on rhel7, please try read this comment[1] if it
helps to you.

Ondra

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1316135#c3

On 03/17/2016 06:07 PM, Paul wrote:
> Hi Ondra,
>
> Thanks for your reply, unfortunately this does not resolve the issue.
> I had already seen this bug and tried it without the -authz 
> appendix(maybe should have mentioned that).
> I also (may be wrongfully) assumed that the 
> "ovirt-engine-extension-aaa-ldap-setup" would not have this issue/bug.
>
> Anyways, I changed it (again) to the DOMAIN without '-authz' by changing:
> /etc/ovirt-engine/extensions.d/DOMAIN-authz.properties => 
> ovirt.engine.extension.name =  DOMAIN 
> /etc/ovirt-engine/extensions.d/DOMAIN-authn.properties => 
> ovirt.engine.aaa.authn.authz.plugin = DOMAIN Systemctl restart 
> ovirt-engine
>
> By the way: login with IPA users doesn't work anymore, you have to log 
> in with admin internal account and remove your IPA users and add them 
> back to make them work again.
>
> But still get the error:
> pam_sss(gdm-ovirtcred:auth): received for user test6: 17 (Failure 
> setting user credentials)
>
> Any suggestions?
>
>
> -Original Message-
> From: Ondra Machacek [mailto:omach...@redhat.com]
> Sent: donderdag 17 maart 2016 16:58
> To: Paul ; users@ovirt.org
> Subject: Re: [ovirt-users] Hosted engine Single Sign-On to VM with 
> freeIPA not working
>
> Hi,
>
> your authz name should match kerberos name.
> So please change your authz name from 'DOMAIN-authz' to 'DOMAIN'
>
> Please see this bz[1] for more detail.
>
> Ondra
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1133137#c7
>
> On 03/17/2016 04:22 PM, Paul wrote:
>> Hi,
>>
>> I am having an issue with getting SSO to work when a standard
>> user(UserRole) logs in to the UserPortal.
>>
>> The user has permission to use only this VM, so after login the 
>> console is automatically opened for that VM.
>>
>> Problem is that it doesn't login on the VM system with the provided 
>> credentials. Manual login at the console works without any issues.
>>
>> HBAC-rule check on IPA shows access is granted. Client has SELINUX in 
>> permissive mode and a disabled firewalld.
>>
>> On the client side I do see some PAM related errors in the logs (see 
>> details below). Extensive Google search on error 17 "Failure setting 
>> user credentials" didn't show helpful information :-(
>>
>> AFAIK this is did a pretty standard set-up, all working with 
>> RH-family products. I would expect others to encounter this issue as
well.
>>
>> If someone knows any solution or has some directions to fix this it 
>> would be greatly appreciated.
>>
>> Thanks,
>>
>> Paul
>>
>> --
>>
>> System setup: I have 3 systems
>>
>> The connection between the Engine and IPA is working fine. (I can log 
>> in with IPA users etc.) Connection is made according to this document:
>> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virt
>> u 
>> alization/3.6/html-single/Administration_Guide/index.html#sect-Config
>> u
>> ring_an_External_LDAP_Provider
>>
>> Configuration of the client is done according to this document:
>> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virt
>> u 
>> alization/3.6/html/Virtual_Machine_Management_Guide/chap-Additional_C
>> o 
>> nfiguration.html#sect-Configuring_Single_Sign-On_for_Virtual_Machines
>>
>> --- Hosted Engine:
>>
>> [root@engine ~]# cat /etc/redhat-release
>>
>> CentOS Linux release 7.2.1511 (Core)
>>
>> [root@engine ~]# uname -a
>>
>> Linux engine.DOMAIN.COM 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16
>> 17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>>
>> [root@

[ovirt-users] cloud init hostname from pools

2017-06-19 Thread Paul
Hi,

 

I would like to automatically set the hostname of a VM to be the same as the
ovirt machine name seen in the portal.

This can be done by creating a template and activating cloud-init in the
initial run tab. 

A new VM named "test" based in this template is created and the hostname is
"test", works perfect!

 

But when I create a pool (i.e. "testpool") based on this template I get
machines with names "testpool-1", "testpool-2", etc. but the machine name is
not present in the metadata and cannot be set as hostname. This is probably
due to the fact that the machine names are auto generated by the oVirt Pool.

 

Is this expected/desired behavior for cloud-init from pools? 

If so, what would be the best way to retrieve the machine name (as seen in
the portal) and manually set it to be hostname via cloud-init (i.e. runcmd -
hostnamectl set-hostname $(hostname))

 

Kind regards,

 

Paul

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


Re: [ovirt-users] cloud init hostname from pools

2017-06-20 Thread Paul
Hi Barak,
Thanks for the explanation. I added my request to your bug.

In the meantime I created this workaround for making pool hostnames unique 
based on the last octet of ip-address from de DHCP after setting it to static. 
Not sure if it is safe/durable but seems to work enough for me and has at least 
some logic in the hostname.

initscript:
runcmd:
- ip=$(ip route get 8.8.8.8 | awk '{print $NF;exit}')
- nmcli con mod eth0 ipv4.addresses $ip"/24" ipv4.dns x.x.x.x ipv4.gateway 
x.x.x.x ipv4.method manual
- hostnamectl set-hostname testpool-"${ip##*.}".example.com

-Original Message-
From: Barak Korren [mailto:bkor...@redhat.com] 
Sent: dinsdag 20 juni 2017 09:47
To: Paul 
Cc: users 
Subject: Re: [ovirt-users] cloud init hostname from pools

On 19 June 2017 at 17:16, Paul  wrote:
>
> I would like to automatically set the hostname of a VM to be the same 
> as the ovirt machine name seen in the portal.
>
> This can be done by creating a template and activating cloud-init in 
> the initial run tab.
>
> A new VM named “test” based in this template is created and the 
> hostname is “test”, works perfect!
>
> But when I create a pool (i.e. “testpool”) based on this template I 
> get machines with names “testpool-1”, “testpool-2”, etc. but the 
> machine name is not present in the metadata and cannot be set as 
> hostname. This is probably due to the fact that the machine names are auto 
> generated by the oVirt Pool.
>
> Is this expected/desired behavior for cloud-init from pools?
>
> If so, what would be the best way to retrieve the machine name (as 
> seen in the portal) and manually set it to be hostname via cloud-init 
> (i.e. runcmd – hostnamectl set-hostname $(hostname))


I've opened a bug about this a while ago:
https://bugzilla.redhat.com/show_bug.cgi?id=1298232

Maybe go ahead and write your use case there to get some attention to it...

An alternative is to not care about the VM names in engine and use DNS/DHCP to 
set VM host names. But then you`ll hit:
https://bugzilla.redhat.com/show_bug.cgi?id=1298235

Our current solution is to just assign names and addresses randomly to POOL VMs 
and make them report their existence to a central system before use.

--
Barak Korren
RHV DevOps team , RHCE, RHCi
Red Hat EMEA
redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted

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


[ovirt-users] vm shutdown long delay is a problem for users of pools

2017-06-22 Thread Paul
Hi,

Shutting down VM's in the portal with the red downfacing arrow takes quite
some time (about 90 seconds). I read this is mainly due to a 60 second delay
in the ovirt-guest-agent. I got used to right-click and use "power off"
instead of "shutdown", which is fine.

 

My users make use of VM in a VM-pool. They get assigned a VM and after
console disconnect the VM shuts down (default recommended behavior). My
issue is that the users stays assigned to this VM for the full 90 seconds
and cannot do "power off". Suppose he disconnected by accident, he has to
wait 90 seconds until he is assigned to the pool again until he can connect
to another VM. 

 

My questions are:

-  Is it possible to decrease the time delay of a VM shutdown? 90
seconds is quite a lot, 10 seconds should be enough

-  Is it possible for normal users to use "power off"?

-  Is it possible to "unallocate" the user from a VM if it is
powering down? So he can allocate another VM

 

Kind regards,

 

Paul

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


Re: [ovirt-users] vm shutdown long delay is a problem for users of pools

2017-06-28 Thread Paul
Hi Sharon,

Thanks for your comments. My findings on those:

1.   Yes all VMs have ovirt-guest-agent installed and active, shutdown time 
is still about 90 seconds. Any other way to reduce this? I see in the logs “Jun 
28 11:49:03 pool python: Shutdown scheduled for Wed 2017-06-28 11:50:03 CEST, 
use 'shutdown -c' to cancel.” And then a wait of 60 seconds. Is it possible to 
adjust this delay?

2.   Clicking twice works. Thanks for the tip!

3.

a.   More VMs per user: yes, could be a good option

b.  I have some trouble with the “console disconnect action” and filed a 
bug for it last week [1]. Any disconnect action (except shutdown) combined with 
“strict user checking” (security wise recommended) blocks and depletes pool 
resources and in my opinion jeopardizes the pool functionality. I am curious 
what your thoughts are on this.

Kind regards,

Paul

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

 

From: Sharon Gratch [mailto:sgra...@redhat.com] 
Sent: dinsdag 27 juni 2017 19:04
To: Paul 
Cc: users 
Subject: Re: [ovirt-users] vm shutdown long delay is a problem for users of 
pools

 

Hi,

Please see comments below.

 

On Thu, Jun 22, 2017 at 7:15 PM, Paul mailto:p...@kenla.nl> > 
wrote:

Hi,

Shutting down VM’s in the portal with the red downfacing arrow takes quite some 
time (about 90 seconds). I read this is mainly due to a 60 second delay in the 
ovirt-guest-agent. I got used to right-click and use “power off” instead of 
“shutdown”, which is fine.

 

My users make use of VM in a VM-pool. They get assigned a VM and after console 
disconnect the VM shuts down (default recommended behavior). My issue is that 
the users stays assigned to this VM for the full 90 seconds and cannot do 
“power off”. Suppose he disconnected by accident, he has to wait 90 seconds 
until he is assigned to the pool again until he can connect to another VM. 

 

My questions are:

-  Is it possible to decrease the time delay of a VM shutdown? 90 
seconds is quite a lot, 10 seconds should be enough

​​

​Is ovirt-guest-agent installed on all pool's VMs? Consider installing 
ovirt-guest-agent in all VMs in your Pool to decrease the time taken for the VM 
shutdown. 

 

-  Is it possible for normal users to use “power off”?

​There is no option in UserPortal to power-off a VM but you can 

​try to click twice (sequential clicks) on the 'shutdown' button. Two 
sequential shutdown requests are handled in oVirt as "power off".

-  Is it possible to “unallocate” the user from a VM if it is powering 
down? So he can allocate another VM

​You can consider assigning two VMs per each user, if possible of-course (via 
WebAdmin->edit Pool -> and set "Maximum number of VMs per user" field to "2") 
so that way while one VM is still shutting down, the user can switch and 
connect to a second VM without waiting.

Another option is to create a pool with a different policy for console 
disconnecting so that the VM won't shutdown each time the user close the  
console (via WebAdmin->Pool->Console tab->"Console Disconnect Action"). 
Consider changing this field to "Lock screen" or "Logout user" instead of 
"shutdown virtual machine". 
This policy will avoid accidentally console disconnection waiting each 
time...but on the other hand the VM state will remain as is since no shutdown 
occurs, so it really depends on your requirements.

Regards,

Sharon

 

Kind regards,

 

Paul


___
Users mailing list
Users@ovirt.org <mailto: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] Hosted engine Single Sign-On to VM with freeIPA not working

2017-04-21 Thread Paul
Hi Ondra,
It is over a year since the last message, so I thought let's give this a new
try.
Did setup a new test environment with latest versions, all RH-family (Centos
7.3 with ovirt 4.1)
Ovirt engine works fine with IPA, in the console I can log in with
credentials. But SSO still does not work :-(
Unfortunately the workaround with "authconfig --enablenis --update" breaks
polkit.service and cascades in a lot of other fails making the VM failing to
boot properly.
Any suggestions?
Regards,
Paul

System setup:
--- Engine
[root@engine ~]# cat /etc/redhat-release 
CentOS Linux release 7.3.1611 (Core) 
[root@engine ~]# uname -a
Linux engine.domain.com 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@engine ~]# rpm -qa | grep ovirt
ovirt-engine-setup-plugin-ovirt-engine-common-4.1.1.8-1.el7.centos.noarch
ovirt-imageio-proxy-1.0.0-0.201701151456.git89ae3b4.el7.centos.noarch
ovirt-iso-uploader-4.0.2-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-4.1.1.8-1.el7.centos.noarch
ovirt-engine-tools-4.1.1.8-1.el7.centos.noarch
ovirt-engine-backend-4.1.1.8-1.el7.centos.noarch
ovirt-engine-extension-aaa-jdbc-1.1.4-1.el7.centos.noarch
ovirt-engine-extension-aaa-ldap-setup-1.3.1-1.el7.centos.noarch
ovirt-release41-4.1.1.1-1.el7.centos.noarch
ovirt-setup-lib-1.1.0-1.el7.centos.noarch
ovirt-imageio-common-1.0.0-1.el7.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7.centos.noarch
ovirt-engine-extensions-api-impl-4.1.1.8-1.el7.centos.noarch
ovirt-engine-extension-aaa-ldap-1.3.1-1.el7.centos.noarch
ovirt-imageio-proxy-setup-1.0.0-0.201701151456.git89ae3b4.el7.centos.noarch
ovirt-engine-dwh-4.1.1-1.el7.centos.noarch
ovirt-engine-setup-plugin-websocket-proxy-4.1.1.8-1.el7.centos.noarch
ovirt-engine-tools-backup-4.1.1.8-1.el7.centos.noarch
ovirt-engine-setup-4.1.1.8-1.el7.centos.noarch
ovirt-engine-vmconsole-proxy-helper-4.1.1.8-1.el7.centos.noarch
ovirt-engine-dashboard-1.1.0-7.el7.centos.noarch
ovirt-engine-metrics-1.0.2-1.el7.centos.noarch
ovirt-engine-userportal-4.1.1.8-1.el7.centos.noarch
ovirt-engine-dbscripts-4.1.1.8-1.el7.centos.noarch
ovirt-engine-4.1.1.8-1.el7.centos.noarch
ovirt-engine-wildfly-10.1.0-1.el7.x86_64
python-ovirt-engine-sdk4-4.1.3-2.el7.centos.x86_64
ovirt-vmconsole-proxy-1.0.4-1.el7.centos.noarch
ovirt-engine-wildfly-overlay-10.0.0-1.el7.noarch
ovirt-engine-cli-3.6.9.2-1.el7.centos.noarch
ovirt-engine-lib-4.1.1.8-1.el7.centos.noarch
ovirt-host-deploy-java-1.6.3-1.el7.centos.noarch
ovirt-engine-dwh-setup-4.1.1-1.el7.centos.noarch
ovirt-engine-websocket-proxy-4.1.1.8-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.1.1.8-1.el7.centos.noarch
ovirt-engine-webadmin-portal-4.1.1.8-1.el7.centos.noarch
ovirt-engine-restapi-4.1.1.8-1.el7.centos.noarch
ovirt-guest-agent-common-1.0.13-2.el7.noarch
ovirt-host-deploy-1.6.3-1.el7.centos.noarch
ovirt-vmconsole-1.0.4-1.el7.centos.noarch
ovirt-engine-extension-aaa-misc-1.0.1-1.el7.noarch
ovirt-web-ui-0.1.2-4.el7.centos.x86_64
ovirt-engine-setup-base-4.1.1.8-1.el7.centos.noarch

---  IPA 
[root@ipa01 log]# cat /etc/redhat-release 
CentOS Linux release 7.3.1611 (Core)
[root@ipa01 log]# uname -a
Linux ipa01.domain.com 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@ipa01 log]# rpm -qa | grep ipa
python2-ipalib-4.4.0-14.el7.centos.7.noarch
python2-ipaserver-4.4.0-14.el7.centos.7.noarch
libipa_hbac-1.14.0-43.el7_3.14.x86_64
python-libipa_hbac-1.14.0-43.el7_3.14.x86_64
python-iniparse-0.4-9.el7.noarch
ipa-common-4.4.0-14.el7.centos.7.noarch
ipa-client-common-4.4.0-14.el7.centos.7.noarch
python-ipaddress-1.0.16-2.el7.noarch
sssd-ipa-1.14.0-43.el7_3.14.x86_64
python2-ipaclient-4.4.0-14.el7.centos.7.noarch
ipa-client-4.4.0-14.el7.centos.7.x86_64
ipa-server-4.4.0-14.el7.centos.7.x86_64
ipa-server-common-4.4.0-14.el7.centos.7.noarch
ipa-admintools-4.4.0-14.el7.centos.7.noarch
ipa-server-dns-4.4.0-14.el7.centos.7.noarch

---Client---
[root@ad01 ~]# cat /etc/redhat-release 
CentOS Linux release 7.3.1611 (Core) 
[root@ad01 ~]# uname -a
Linux ad01.domain.com 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
 [root@ad01 ~]# rpm -qa | grep ipa
python2-ipaclient-4.4.0-14.el7.centos.7.noarch
python-iniparse-0.4-9.el7.noarch
ipa-client-common-4.4.0-14.el7.centos.7.noarch
python-libipa_hbac-1.14.0-43.el7_3.14.x86_64
ipa-client-4.4.0-14.el7.centos.7.x86_64
sssd-ipa-1.14.0-43.el7_3.14.x86_64
python-ipaddress-1.0.16-2.el7.noarch
python2-ipalib-4.4.0-14.el7.centos.7.noarch
ipa-common-4.4.0-14.el7.centos.7.noarch
libipa_hbac-1.14.0-43.el7_3.14.x86_64
[root@ad01 ~]# rpm -qa | grep ovirt
ovirt-guest-agent-pam-module-1.0.13-2.el7.x86_64
ovirt-guest-agent-common-1.0.13-2.el7.noarch
ovirt-guest-agent-gdm-plugin-1.0.13-2.el7.noarch

Relevant logs:
--- client ---
[root@ad01 ~]# vi /var/log/messages
Apr 21 10:07:59 ad01 [sssd[krb5_child[2635]]]: Preauthentication failed
Apr 21 10:07:59 ad01 [sssd[

[ovirt-users] Problem installing hyperconverged setup

2019-02-13 Thread paul
Hi,

I am currently setting up an Ovirt cluster in a test environment and cannot get 
the hyperconverged setup to run properly.  I have installed 3 nodes on version 
4.2.8.

I keep getting the following error -

TASK [Create LVs with specified size for the VGs] **
failed: [node01.ovirt.local] (item={u'lv': u'gluster_thinpool_sdb', u'size': 
u'1005GB', u'extent': u'100%FREE', u'vg': u'gluster_vg_sdb'}) => {"changed": 
false, "item": {"extent": "100%FREE", "lv": "gluster_thinpool_sdb", "size": 
"1005GB", "vg": "gluster_vg_sdb"}, "msg": "  WARNING: Pool zeroing and 3.00 MiB 
large chunk size slows down thin provisioning.\n  WARNING: Consider disabling 
zeroing (-Zn) or using smaller chunk size (<512.00 KiB).\n  Volume group 
\"gluster_vg_sdb\" has insufficient free space (157261 extents): 343040 
required.\n", "rc": 5}
to retry, use: --limit @/tmp/tmpbXqHhw/lvcreate.retry

All 3 nodes have an /sdb installed which are different sizes but all in excess 
of 450Gb.  I have specified JBOD in the setup.

I have tried reducing the size of the engine, data and vmstore bricks to 50Gb 
each instead of the default but the installation still fails.

I think it has something to do with the thin provisioning but not sure what.

Any help would be much appreciated.

Thanks
Paul.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BXNOIJCQHCOZCHEH4MLVB4F4AURGHBIZ/


[Users] scsi disks inside VMs?

2013-03-27 Thread Paul Jansen
Hello.
I'm wondering if it is possible to create VMs with ovirt that have scsi disks?
I've just installed ovirt 3.2.1 on Fedora 18 and attached an ovirt node (the 
current fedora 18 based version).

When adding disks to a VM I can chose from the 'IDE' or 'VirtIO' interfaces.  
I'd like a scsi option also.
Mainly because when migrating from vsphere VMs this makes things simpler.
Also, my current kickstart installer for various OSes does not yet handle 'vd' 
disks.
To add to things I need to install a custom filesystem on the vms that wants a 
scsi disk.  It does a scsi inquiry early on in the install phase and will not 
work in 'vd' disks. ie: 'sg_inq /dev/vda' does not work.

I also know that the libata driver in recent linux distributions exposes IDE 
drives as scsi and allows a scsi enquiry to succeed.  Unfortunately the use 
case I have required Enterprise Linux 5 and in this release IDE disks report as 
'hd', whereas scsi disks report as 'sd'.  So, I can just use an IDE disk to get 
around this problem.


I understand that virt-manager will allow attaching scsi disks to KVM based 
virtual machines, and that this is made possible by recent changes in libvirt.

I think we should be encouraging people to use the virtio disks where possible, 
but in cases where this is not straightforward ovirt - and RHEV - are missing a 
trick as far as allowing people that have existing vsphere setups to fairly 
easily move to ovirt.

Is a 'scsi' interface' option for adding virtual disks for VMs on the roadmap?  
If not, could it be considered?

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


[Users] Support for VAAI SCSI primitives in ovirt?

2013-09-05 Thread Paul Jansen
Hello.
I've been following the progress of VAAI support being added to the 
'target-core' framework in the Linux kernel.
Support for all 4 features did not make it into the recent 3.11 kernel release 
but is planned for 3.12.

There is some detail on VAAI (Vsphere APIs for Array Integration) here.
VAAI is obviously a VMware term, but the SCSI primitives it refers to are open.
From the above linked page: "VAAI significantly enhances the integration of 
storage and servers by 
enabling seamless offload of locking and block operations onto the 
storage array."

It seems reasonable to assume that Fedora 20 (and probably Fedora 19 with a 
kernel update at some stage) will be using the 3.12 kernel and could be used to 
export iSCSI/FC targets to Ovirt.

VMware also provides VAAI integration for NAS datastores (via the installation 
of a vendor specific plugin into Vmware Vcenter) that also significantly 
improves performance for some operations.

From what I can make out from the VMware documentation the ability to use the 
VAAI offloads only applies to the upper tier licensed version of vcenter.  I 
think there is an opportunity for Ovirt to add support for this feature and 
make it stand out even against the freely licensed ESXi (which will be missing 
this feature).  With more people looking to Ovirt rather than getting started 
and potentially staying with VMware this is a good opportunity to gather market 
share.

What is the current status of support for these VAAI scsi primitives in Ovirt?  
Is there anything planned at the moment?
Regarding the VAAI NAS plugin feature that VMware now has - are there plans to 
help offload certain operations happening on NFS datastores?
For instance some sort of agent that can be installed on a Linux NFS server 
could allow oVirt to instruct the NFS server machine to perform an offloaded 
copy/clone operation rather than that process needing to be done over the wire.

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


[Users] EL5 support for VirtIO SCSI?

2013-11-12 Thread Paul Jansen
I have just set up an Ovirt 3.3.0 install and have done a test install of 
Centos 6.4 in a VM.  The VM was configured with an IDE drive and a virtio-scsi 
drive.  The Centos 6.4 install sees both drives OK.
I'm wanting to do some testing on a product that is based on EL5, but I'm 
finding that it cannot see the virtio-scsi drive.  It does show up in the 
output of 'lspci', but I don't see a corresponding 'sd' device.

I've just tried installing Centos 5.10 and the support is not there.

Does anyone know of any tricks to allow EL5 to see the virtio-scsi device?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] EL5 support for VirtIO SCSI?

2013-11-13 Thread Paul Jansen
Hi Rene.
I specifically need the scsi support (virtio-scsi).
I do know about the virtio-block support, which results in /dev/vd* devices as 
you say.
From what I read even EL6 earlier than 6.3 does not support virtio-scsi

Alternatively, does oVirt support an emulated scsi adapter of a different type 
that would allow me to see scsi disks?

Regards,
Paul




On Wednesday, 13 November 2013 7:23 PM, René Koch (ovido)  
wrote:
 
On Wed, 2013-11-13 at 09:41 +0100, Sander Grendelman wrote:
> According to https://access.redhat.com/site/solutions/20511 virtio
> work on > rhel5.3.
> 
> You have to edit /etc/modprobe.conf and generate a new initrd.


If you're installing the OS on a VirtIO disk this is done automatically
by anaconda. I just installed RHEL 5 on oVirt 3.3 with VirtIO disk and
everything worked out of the box.


> 
> On Wed, Nov 13, 2013 at 9:32 AM, Sven Kieske  wrote:
> > Hi,
> >
> > afaik the rhel 5 kernel series just has not the necessary drivers for
> > all virtio stuff, so it's not supported and does not work, unless
> > you want to patch your own kernel.
> >
> > Am 13.11.2013 06:44, schrieb Paul Jansen:
> >> I have just set up an Ovirt 3.3.0 install and have done a test install of 
> >> Centos 6.4 in a VM.  The VM was configured with an IDE drive and a 
> >> virtio-scsi drive.  The Centos 6.4 install sees both drives OK.
> >> I'm wanting to do some testing on a product that is based on EL5, but I'm 
> >> finding that it cannot see the virtio-scsi drive.  It does show up in the 
> >> output of 'lspci', but I don't see a corresponding 'sd' device.
> >>


There's no /dev/sd* device - the devices are named /dev/vd*...


> >> I've just tried installing Centos 5.10 and the support is not there.


Didn't test CentOS but RHEL 5 is working fine.


Regards,
René



> >>
> >> Does anyone know of any tricks to allow EL5 to see the virtio-scsi device?
> >
> >
> > --
> > 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___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] EL5 support for VirtIO SCSI?

2013-11-13 Thread Paul Jansen
Hello Itamar.
The specific use case is a particular propriety filesystem that needs to see a 
scsi device.  It will do scsi inquiry conmmands to verify suitability.
In talking to the devs - of the filesystem - there is no way around it.  I'd 
previously tried virtio-block - resulting in the /dev/vd* device - and the 
filesystem would not work.

From doing a bit of web searching it appears the kvm/qemu supports (or did 
support) an emulated LSI scsi controller.  My understanding is that the various 
virtualization platforms will emulate a well supported device (by the guest 
OSes) so that drivers are not an issue.  For example this should allow a VM on 
Vmware vsphere/vcenter to be exported to Ovirt and have it boot up.  The 
potential for further optimising the guest is there by installing 
ovirt/qemu/kvm guest utils that then allow the guest OS to understand the 
virtio nic and scsi devices.  The guest could then be shut down, the nic and 
scsi controller changed and the guest booted up again.
You can do the same thing in the Vmware world by installing their guest tools, 
shutting down the guest VM, then reconfiguring it with a vmxnet3 nic and pvscsi 
scsi adapter, then booting up again.
It does seem somewhat inconsistent in Ovirt that we allow a choice of Intel 
e1000 or virtio nics, but do not offer any choice with the scsi adapter.
Again, in Vmware land you can choose to have a scsi disk, but you choose which 
controller type it is attached to.  In the current Ovirt 3.3.0 release you just 
chose a virtio-scsi disk, rather than there being a separation of the scsi disk 
and scsi controller.
The messy situation with importing VMs from other platforms could be eased by 
allowing an emulated scsi controller as well as the preferred virtio controller.
As mentioned previously, the support for this seems to be present in kvm/qemu.  
I wonder if there was a specific design decision (ie: some particular reason) 
to not support the approach I've just described? I can understand that in some 
cases simplicity is something to aim for though.
I think this would make migration away from the dominant market leader - Vmware 
- easier and is something that would make ovirt/RHEV that more compelling.

Getting back to my original query - 'open-vm-tools' support the vmware 
paravirtual scsi adapter and I am able to install these on EL5 and then see 
that adapter.  It would be great if there was a similar initiative for the 
various virtio devices where you could install a packge/kmod and then allow 
some of the older OSes (of which there are still lots of VMs around for various 
reasons).  There are obviously drivers for the various Windows flavours that 
take this approach.  I'm surprised that for Linux it is just a case of 'if it's 
in the kernel you are running then it is supported'.

I'm really pleased with the progress the ovirt has been making.  I'm like to 
see it continue to knock down the various reasons out there as to why people 
with Vmware vcenter shops can't migrate over to it.

Cheers,
Paul




On Wednesday, 13 November 2013 8:57 PM, Itamar Heim  wrote:
 
On 11/13/2013 03:58 AM, Paul Jansen wrote:
> Hi Rene.
> I specifically need the scsi support (virtio-scsi).
> I do know about the virtio-block support, which results in /dev/vd*
> devices as you say.
>  From what I read even EL6 earlier than 6.3 does not support virtio-scsi
>
> Alternatively, does oVirt support an emulated scsi adapter of a
> different type that would allow me to see scsi disks?

may i ask why do you need the virtual disks to specifically be scsi?

>
> Regards,
> Paul
>
>
> On Wednesday, 13 November 2013 7:23 PM, René Koch (ovido)
>  wrote:
> On Wed, 2013-11-13 at 09:41 +0100, Sander Grendelman wrote:
>  > According to https://access.redhat.com/site/solutions/20511
> <https://access.redhat.com/site/solutions/20511>virtio
>  > work on > rhel5.3.
>  >
>  > You have to edit /etc/modprobe.conf and generate a new initrd.
>
>
> If you're installing the OS on a VirtIO disk this is done automatically
> by anaconda. I just installed RHEL 5 on oVirt 3.3 with VirtIO disk and
> everything worked out of the box.
>
>
>  >
>  > On Wed, Nov 13, 2013 at 9:32 AM, Sven Kieske  <mailto:s.kie...@mittwald.de>> wrote:
>  > > Hi,
>  > >
>  > > afaik the rhel 5 kernel series just has not the necessary drivers for
>  > > all virtio stuff, so it's not supported and does not work, unless
>  > > you want to patch your own kernel.
>  > >
>  > > Am 13.11.2013 06:44, schrieb Paul Jansen:
>  > >> I have just set up an Ovirt 3.3.0 install and have done a test
> install of Centos 6.4 in a VM.  The VM was configured with an IDE drive
> and a virtio-scsi drive.  The Centos 6.4 install sees both drives OK

Re: [Users] EL5 support for VirtIO SCSI?

2013-11-14 Thread Paul Jansen
Hello Stefan.
Thanks.  I understand qemu supports other scsi adapters however.  See this post 
from earlier this year.
That post makes reference to the following hbas: auto, buslogic, ibmvscsi. 
lsilogic, lsisas1068, lsisas1078, virtio-scsi, vmpvscsi.
The post is referring to libvirt, so the number of adapters may be related to 
the various virtualization backends that libvirt can interface with.

There are numerous references to qemu/qemu-kvm supporting other scsi adapters 
as well as AHCI SATA.  I installed the Centos 6.4 based node, so perhaps the 
Fedora 19 based node has a newer qemu that supports more of these features?  I 
might see if I can do an install of the Fedora 19 based node tomorrow.

Ayal mentioned using 'hooks' to interface with qemu to possibly create a VM 
outside of the definitions that Ovirt allows.  If I am understanding this 
correctly - how do I do this?  Am I to expect some interface inconsistencies in 
the ovirt portal I I view a 'custom' VM like this?

So, in short - is there the potential for me to create a VM in ovirt that has a 
SCSI/SAS/SATA HBA and attach disk(s) to it (other than the virtio-scsi HBA 
which is not supported under EL5)?




On Thursday, 14 November 2013 11:22 PM, Stefan Hajnoczi  
wrote:
 
On Thu, Nov 14, 2013 at 02:39:33AM -0500, Ayal Baron wrote:
> > - Original Message -
> > > Hello Itamar.
> > > The specific use case is a particular propriety filesystem that needs to
> > > see
> > > a scsi device. It will do scsi inquiry conmmands to verify suitability.
> > > In talking to the devs - of the filesystem - there is no way around it. 
> > > I'd
> > > previously tried virtio-block - resulting in the /dev/vd* device - and the
> > > filesystem would not work.
> > > 
> > > From doing a bit of web searching it appears the kvm/qemu supports (or did
> > > support) an emulated LSI scsi controller. My understanding is that the
> > > various virtualization platforms will emulate a well supported device (by
> > > the guest OSes) so that drivers are not an issue. For example this should
> > > allow a VM on Vmware vsphere/vcenter to be exported to Ovirt and have it
> > > boot up. The potential for further optimising the guest is there by
> > > installing ovirt/qemu/kvm guest utils that then allow the guest OS to
> > > understand the virtio nic and scsi devices. The guest could then be shut
> > > down, the nic and scsi controller changed and the guest booted up again.
> > > You can do the same thing in the Vmware world by installing their guest
> > > tools, shutting down the guest VM, then reconfiguring it with a vmxnet3 
> > > nic
> > > and pvscsi scsi adapter, then booting up again.
> > > It does seem somewhat inconsistent in Ovirt that we allow a choice of 
> > > Intel
> > > e1000 or virtio nics, but do not offer any choice with the scsi adapter.
> > 
> > virtio-scsi support was just recently added to oVirt to allow for scsi
> > passthrough and improved performance over virtio-blk.
> > I believe the emulated scsi device in qemu never matured enough but possibly
> > Stefan (cc'd) can correct me here.

The only supported emulated SCSI HBA device is virtio-scsi.  It was Tech
Preview in RHEL 6.3 and became fully supported in RHEL 6.4.  virtio-scsi
is not available in RHEL 5.


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


Re: [Users] EL5 support for VirtIO SCSI?

2013-11-15 Thread Paul Jansen
Hi Paolo.
I think this would be quite a useful patch.
The two benefits as far as I can see would be:
(1) smoother importing of VMs from Vmware/vsphere/vcenter into hypervisors that 
make use of libvirt. The VM definition would not need to change the scsi 
adapter property.
(2) potentially allow using the vmware pvscsi controller in ovirt.  In my 
particular use case this should allow EL5 guests to be used (and have a 
supported scsi controller once 'open-vm-tools' is installed) in Ovirt.  
Ovviously we'd want to steer people into using virtio-scsi wherever possible 
though, as has been discussed previously.

Please let us know on list if you do get to this.
Thanks for your efforts,
Paul




On Friday, 15 November 2013 8:50 PM, Paolo Bonzini  wrote:
 
Il 15/11/2013 09:30, Stefan Hajnoczi ha scritto:

>> > Thanks.  I understand qemu supports other scsi adapters however.  See this 
>> > post from earlier this year.
>> > That post makes reference to the following hbas: auto, buslogic, ibmvscsi. 
>> > lsilogic, lsisas1068, lsisas1078, virtio-scsi, vmpvscsi.
> From an upstream QEMU perspective, the HBAs that ought to work on x86_64
> guests are virtio-scsi, lsisas1078, and vmpvscsi.

I think vmpvscsi is not supported for QEMU in libvirt.  It would be a
very simple patch, I may get round to it before Christmas...

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


[Users] 3.3.1 node isos?

2013-11-25 Thread Paul Jansen
Are the 3.3.1 node isos that Fabian mentionedlate last week available for 
download yet?
I've had a look around resources.ovirt.org but can't see anything yet.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt Node 3.0.3-1 for oVirt 3.3 release

2013-11-29 Thread Paul Jansen
Fabian,
I've downloaded the 
ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso image and have tried installing it on 
two separate machines.
Whether I do a regular install (default boot screen option) or choose 
'reinstall' from the troubleshooting menu I get tripped up at the same spot.
When it comes time to select a keyboard layout (I think this is correct) US 
English is the default.  I press enter at that point and after a short delay 
there is a very uninformative error message that appears.  I can't remember 
what it is off the top of my head and the systems are at work (I'm at home now).
After this point I can continue but the install fails immediately after I get 
past the install target selection screen.
Has anyone successfully installed a node using this iso image?
I even tried removing partitions from the drive beforehand, to the point of 
dd'ing the first 512 bytes to make sure there was no partition table.
This didn't help - I still ran into the install error described above.

I particularly wanted to try an FC19 based node to try out live storage 
migration on NFS, as I was having problems with the EL6.4 node with this.
Is there a chance that that issue might be resolved for EL6 based nodes by an 
upcoming  new EL6.5 based node spin?

Sorry I cannot provide the exact error details for the install issue now, but I 
can get the error detail in the next couple of days if required.

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


Re: [Users] oVirt Node 3.0.3-1 for oVirt 3.3 release

2013-12-01 Thread Paul Jansen
Replying to my own message here.
I've just tried to install this latest oVirt node image again and made notes 
where it fell over.

At the 'Keyboard layout selection' screen I press enter to select the default 
'US English' option.
After a few seconds delay I then get this error screen:

An exception occurred
'other'


After pressing close I'm then back at the 'Keyboard layout selection' screen.
If I then press enter on 'US international' then tab down to the option to 
continue I can make my way to the screen where I have to enter the password for 
the admin user.  After continuing from there I immediately get an error on the 
install progress screen - at the 40% point.
The error reads:

Exception:
Value Error ('invalid literal for int() with base10: ''",)




I just tried another install and this time selected 'US International' first 
time from the 'Keyboard layout selection' screen.



On Friday, 29 November 2013 10:57 PM, Paul Jansen  wrote:
 
Fabian,
I've downloaded the 
ovirt-node-iso-3.0.3-1.1.vdsm.fc19.iso image and have tried installing it on 
two separate machines.
Whether I do a regular install (default boot screen option) or choose 
'reinstall' from the troubleshooting menu I get tripped up at the same spot.
When it comes time to select a keyboard layout (I think this is correct) US 
English is the default.  I press enter at that point and after a short delay 
there is a very uninformative error message that appears.  I can't remember 
what it is off the top of my head and the systems are at work (I'm at home now).
After this point I can continue but the install fails immediately after I get 
past the install target selection screen.
Has anyone successfully installed a node using this iso image?
I even tried removing partitions from the drive beforehand, to the point of 
dd'ing the first 512 bytes to make sure there was no partition table.
This didn't help - I still ran into the install error described above.

I particularly wanted to try an FC19 based node to try out live storage 
migration on NFS, as I was having problems with the EL6.4 node with this.
Is there a chance that that issue might be resolved for EL6 based nodes by an 
upcoming  new EL6.5 based node spin?

Sorry I cannot provide the exact error details for the install issue now, but I 
can get the error detail in the next couple of days if required.

Thanks,
Paul


   This time the install seems to work.
Unfortunately when it comes up the SSH service doesn't seem to be working.  
When I try and ssh to the machine I get the following:
Read from socket failed: Connection reset by peer

The above was after configuring the node for an Ovirt engine, accepting the 
certificate and entering a password.
The ovirt web GUI shows this node as non responsive.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt Node 3.0.3-1 for oVirt 3.3 release

2014-01-06 Thread Paul Jansen
Hi Nauman.
I wasn't able to get back and do further debugging on this just yet.  I have 
been hoping that Fabian will release new node isos based on EL6.5 and Fedora 20 
that might mean the issue I ran into somehow went away.  
Unfortunately no new isos are available yet as far as I can see.
I will try and go through the troubleshooting process to get the information 
into bugzilla in the next week or so though.




On Monday, 6 January 2014 6:28 PM, Nauman Abbas  
wrote:
 
Hello there

Did you find a solution to this problem you mentioned on oVirt list few days 
ago since I'm facing the same now. 

http://lists.ovirt.org/pipermail/users/2013-December/018323.html

Regards 


Nauman Abbas

Assistant System Administrator (LMS),
Room No. A-207, SEECS,
National University of Sciences & Technology,
+ 92 321 5359946___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] live storage migration - when is this being targeted?

2014-03-31 Thread Paul Jansen
>From what I can understand ovirt 3.4.0 - or a least the hypervisor part based 
>on el6 - cannot do live storage migration due to an older qemu-kvm package.
I assume this is a related bug? 
https://bugzilla.redhat.com/show_bug.cgi?id=1009100
From what I can infer from this there is a related issue with vdsm that needs 
handling as well?


From a feature parity perspective against Vmware Vcenter (Enterprise plus) this 
is a very important feature.
I can think of a number of Vmware shops that wouldn't look an a competing 
hypervisor management platform without this feature working.  I think this 
would be a key milestone for ovirt to get to.


Is this something that is likely to be worked out for the 3.4.1 timeframe or is 
it now a 3.5 issue?

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


[Users] el7 based node? el7 as a supported platform for ovirt?

2014-04-01 Thread Paul Jansen
Hi.
There's been a bit of chatter about what is required for Fedora 20 support for 
ovirt.
I can't seem to find newer fedora19 based node isos anymore.  Has there been a 
conscious decision to standardize on the el6 based node iso?
Is an F20 based node iso something that is being worked on?

I hear that el7 might be announced this month.  Presumably Centos 7.0 won't be 
far away after that.
I've done some test installs of RHEL 7 beta to get a look at what packages are 
in use.
Of particular interest to me is the qemu-kvm package - the version of which 
seem to be important for live snapshots and live migrations (something we don't 
seem to do well right now).
EL beta7 has this version - qemu-kvm-1.5.3-19.el7.x86_64.rpm

Given the issues with needing newer versions of certain packages than what is 
in EL 6.5, is this situation likely to be improved greatly when Centos 7 is 
available?
I don't recall seeing much discussion about ovirt running under el7.  Is this 
being looked at at this stage, or given the fact there is only a beta of rhel7  
to work with right now are we just waiting for the release before deciding too 
much?

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


[Users] node spin including qemu-kvm-rhev?

2014-04-02 Thread Paul Jansen
I understand that there are ongoing discussions with the Centos people 
regarding a suitable home for recompiled qemu-kvm packages.
Given that the ovirt node is our own spin, is there any reason why that 
couldn't include the recompiled qemu-kvm packages that will then allow us to 
use live snapshots and do live migrations?  Itamar recently mentioned that we 
already build these via a jenkins task.

Nodes built on top of a Centos install will still be an issue but I think its 
reasonable that the ovirt-node iso could include these custom packages.
This way we don't have to potentially wait until 3.4.1 or 3.5 to get the live 
snapshot/migration features.  The caveat would be that these features would 
only be supported if the nodes were all ovirt node iso based.

What are people's thoughts?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] node spin including qemu-kvm-rhev?

2014-04-06 Thread Paul Jansen






- Original Message -
> From: "Paul Jansen" 
> To: "users" 
> Sent: Wednesday, April 2, 2014 11:38:29 AM
> Subject: [Users] node spin including qemu-kvm-rhev?
> 
> I understand that there are ongoing discussions with the Centos people
> regarding a suitable home for recompiled qemu-kvm packages.
> Given that the ovirt node is our own spin, is there any reason why that
> couldn't include the recompiled qemu-kvm packages that will then allow us to
> use live snapshots and do live migrations? Itamar recently mentioned that we
> already build these via a jenkins task.
> 
> Nodes built on top of a Centos install will still be an issue but I think its
> reasonable that the ovirt-node iso could include these custom packages.
> This way we don't have to potentially wait until 3.4.1 or 3.5 to get the live
> snapshot/migration features. The caveat would be that these features would
> only be supported if the nodes were all ovirt node iso based.
> 
> What are people's thoughts?
> 
> 

Sounds reasonable as long as you understand mix and match will become an issue.
The questions is how do we differentiate between the nodes to make sure no one
mixes them by mistake?


My mail client might mangle the bottom-posting here, so we'll see how it goes.
I saw a post from Fabian that he had re-enabled jenkins builds of the node 
image based on Fedora 19/20 (but not yet including the VDSM plugin).  
Presumably the main goal of this is to ensure that things in node land are OK 
for an upcoming spin based on EL7?
If ovirt does go back to having Fedora and EL based node images in the short 
term it would mean that live migration will work on the Fedora images.
If it was also decided to allow the EL based node image to include the 
recompiled qemu-kvm-rhev package the Ovirt release notes could then say that 
when using an ovirt node image live migration is supported, as is when a fedora 
install has the ovirt hypervisor packages installed.
It would only be that an EL based system - built up to then also include the 
ovirt hypervisor packages - that live migration would not be supported - at 
this stage.
This can change when the details are further worked out with the Centos people 
about how the updated qemu-kvm packages will be hosted and made available.
In the meantime, people that want to set things up so that live migration is 
there can do so.

Once live migration is in place I think it would be interesting to try and find 
out from people interested (or already testing ovirt) that have VMware 
backgrounds/experience what they think is the the largest outstanding issue 
feature wise when comparing ovirt to Vcenter.  What would stop them from 
migrating from vcenter to ovirt?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] node spin including qemu-kvm-rhev?

2014-04-07 Thread Paul Jansen
I'm going to try top posting this time to see if it ends up looking a bit 
better on the list.

By the 'ovirt hypervisor packages' I meant installing the OS first of all and 
then making it into an ovirt 'node' by installing the required packages, rather 
than installing from a clean slate with the ovirt node iso.  Sorry if that was 
a bit unclear.




 From: Fabian Deutsch 
To: Paul Jansen 
Cc: Doron Fediuck; users
Sent: Monday, 7 April 2014 5:20 PM
Subject: Re: [Users] node spin including qemu-kvm-rhev?
 

Am Sonntag, den 06.04.2014, 19:15 -0700 schrieb Paul Jansen:
> My mail client might mangle the bottom-posting here, so we'll see how
> it goes.
> I saw a post from Fabian that he had re-enabled jenkins builds of the
> node image based on Fedora 19/20 (but not yet including the VDSM
> plugin).  Presumably the main goal of this is to ensure that things in
> node land are OK for an upcoming spin based on EL7?

EL7 is one point, but there were users also asking for Fedora based
Nodes and we use Fedora for development, to have stable Nodes (at some
point later) based on CentOS.

> If ovirt does go back to having Fedora and EL based node images in the
> short term it would mean that live migration will work on the Fedora
> images.

The Fedora based images are at least for now available from Jenkins.

> If it was also decided to allow the EL based node image to include the
> recompiled qemu-kvm-rhev package the Ovirt release notes could then
> say that when using an ovirt node image live migration is supported,
> as is when a fedora install has the ovirt hypervisor packages
> installed.

What is this ovirt hypervisor package you mention?

- fabian


> It would only be that an EL based system - built up to then also
> include the ovirt hypervisor packages - that live migration would not
> be supported - at this stage.
> This can change when the details are further worked out with the
> Centos people about how the updated qemu-kvm packages will be hosted
> and made available.
> In the meantime, people that want to set things up so that live
> migration is there can do so.
> 
> Once live migration is in place I think it would be interesting to try
> and find out from people interested (or already testing ovirt) that
> have VMware backgrounds/experience what they think is the the largest
> outstanding issue feature wise when comparing ovirt to Vcenter.  What
> would stop them from migrating from vcenter to ovirt?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] node spin including qemu-kvm-rhev?

2014-04-07 Thread Paul Jansen
On 04/07/2014 11:46 AM, Fabian Deutsch wrote:

> Hey Paul,
>
> Am Montag, den 07.04.2014, 01:28 -0700 schrieb Paul Jansen:
>> I'm going to try top posting this time to see if it ends up looking a
>> bit better on the list.
>
> you could try sending text-only emails :)
>
>> By the 'ovirt hypervisor packages' I meant installing the OS first of
>> all and then making it into an ovirt 'node' by installing the required
>> packages, rather than installing from a clean slate with the ovirt
>> node iso.  Sorry if that was a bit unclear.
>
> Okay - thanks for the explanation.
> In general I would discourage from installing the ovirt-node package ona
> normal host.
> If you still want to try it be aware that the ovirt-node pkg might mess
> with your system.

I'm pretty sure we are on the same page here.  I just checked the ovirt 
'quickstart' page and it calls the various hypervisor nodes 'hosts'.
ie: Fedora host, EL, host, ovirt node host.
If the ovirt node included the qemu-kvm-rhev package - or an updated qemu-kvm - 
it would mean that both ovirt node hosts and fedora hosts could both support 
live storage migration.  It would only be EL hosts that do not support that 
feature at this stage.  We could have a caveat in the documentation for this 
perhaps.
Fabian, were you think thinking that if not all 'hosts' supported live 
migration that the cluster could disable that feature? Based on capabilities 
that the hosts would expose to the ovirt server?  This would be another way of 
avoiding the confusion.

Thanks guys for the great work you are doing with ovirt.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] node spin including qemu-kvm-rhev?

2014-04-08 Thread Paul Jansen
>

>
> - Original Message -
>> From: "Paul Jansen"
>> To: "Itamar Heim" "Fabian Deutsch"
>> Cc: "users"
>> Sent: Monday, April 7, 2014 3:25:19 PM
>> Subject: Re: [Users] node spin including qemu-kvm-rhev?
>>
>> On 04/07/2014 11:46 AM, Fabian Deutsch wrote:
>>
>>> Hey Paul,
>>>
>>> Am Montag, den 07.04.2014, 01:28 -0700 schrieb Paul Jansen:
>>>> I'm going to try top posting this time to see if it ends up looking a
>>>> bit better on the list.
>>>
>>> you could try sending text-only emails :)
>>>
>>>> By the 'ovirt hypervisor packages' I meant installing the OS first of
>>>> all and then making it into an ovirt 'node' by installing the required
>>>> packages, rather than installing from a clean slate with the ovirt
>>>> node iso. Sorry if that was a bit unclear.
>>>
>>> Okay - thanks for the explanation.
>>> In general I would discourage from installing the ovirt-node package ona
>>> normal host.
>>> If you still want to try it be aware that the ovirt-node pkg might mess
>>> with your system.
>>
>>
>> I'm pretty sure we are on the same page here. I just checked the ovirt
>> 'quickstart' page and it calls the various hypervisor nodes 'hosts'.
>> ie: Fedora host, EL, host, ovirt node host.
>> If the ovirt node included the qemu-kvm-rhev package - or an updated qemu-kvm
>> - it would mean that both ovirt node hosts and fedora hosts could both
>> support live storage migration. It would only be EL hosts that do not
>> support that feature at this stage. We could have a caveat in the
>> documentation for this perhaps.
>> Fabian, were you think thinking that if not all 'hosts' supported live
>> migration that the cluster could disable that feature? Based on capabilities
>> that the hosts would expose to the ovirt server? This would be another way
>> of avoiding the confusion.
>>
>> Thanks guys for the great work you are doing with ovirt.
>>
>
> Paul,
> this is something that vdsm needs to report to the engine, so the engine will
> know what is / isn't supported. It's a bigger request as today we're mostly
> based on cluster compatibility level.
>
> Additionally it is possible to mix .el hosts with nodes with old (non -rhev) 
> nodes.
> Each of these cases will break live-storage migration.
>
> How do you suggest to mitigate it?
>
Well, when you choose to migrate a VM under Vmware's Vcenter you can choose to 
migrate either the host or the datastore.  For whichever one you choose there 
is a validation step to check the you are able to perform the migration (ie: 
capabilities of the host).  I can see in ovirt that we are showing the KVM 
version on hosts.  This matches the package version of the qemu-kvm package (or 
the qemu-kvm-rhev package if installed?). Could we have some sort of a cutoff 
point where we know which versions of KVM (ie: qemu-kvm or qemu-kvm-rhev) 
support the storage migration feature, and if a version is found that doesn't 
match the required heuristics we just indicate the the validation process for 
the migration has failed?
We could provide some small output indicating why it has failed.
Does this sound like a reasonable approach?

Is there any news on discussions with the CentOS people as to where a 
qemu-kvm-rhev package could be hosted (that we could then take advantage of)?
If the hosting of an updated qemu-kvm (or qemu-kvm-rhev) is not sorted out in 
the short term, I did some quick calculations last night and it seems based on 
previous EL point releases (this is hardly scientific I know) we are not likely 
to see an EL 6.6 for another few months.  We may see an EL7.0 before that 
timeframe.
Ovirt can obviously jump on new EL releases to use as hosts in a new ovirt 
version but it seems this option is still some time away.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] qemu-kvm-rhev for el6

2014-04-23 Thread Paul Jansen
>hello,
>
>does anyone know if there are an existent bugzilla to track the release 
>of qemu-kvm-rhev rpms under el (like centos)?
>Because I've looked at bugzilla and google docs oVirt Planning & 
>Tracking with no luck
>
>best regards
>a
I think this is the best fit that I have found so far: 
https://bugzilla.redhat.com/show_bug.cgi?id=1009100
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Updating nodes

2014-05-08 Thread Paul Heinlein

On Thu, 8 May 2014, Gabi C wrote:


Which is the proper way of keeping nodes up to date?

I tried from WebUI, after putting node on mainetnance 
"[clear.cache.gif] Host is in maintenance mode, you can Activate it 
by pressing the Activate button. If you wish to upgrade or reinstall 
it click here ."


but no effect, so I guess that installing ovirt repo and 
fedora-ovirt-preview repo is the proper way, right?


I'll add that I'm also interested in a discussion of this question.

I just inherited an oVirt cluster at work that's running 3.2 on Fedora 
18 and would dearly love some direction about updating things without 
a system-wide downtime.


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Updating nodes

2014-05-11 Thread Paul Heinlein

On Sun, 11 May 2014, Itamar Heim wrote:


 I just inherited an oVirt cluster at work that's running 3.2 on
 Fedora 18 and would dearly love some direction about updating
 things without a system-wide downtime.


1. no downtime should happen, as you can upgrade hosts by moving
   them to maintenance, which will live migrate VMs running on them.

2. fedora 18 is EOL, so 'yum update' isn't going to help here.

3. re-install host should refresh vdsm and its dependent packages if
   the repo's configured have newer versions. when the host is in
   maint, you can simply run 'yum update' on the host, then
   re-activate it (of course reboot if kernel got updated, etc.)


I've followed those steps, and I can get VMs migrated *to* the updated 
nodes. I have two worries:


 1. VMs migrated to the updated nodes cannot be migrated back to the
old nodes. So once I start, it's all-in or nothing. Is that to be
expected?

 2. Once all the nodes are backed up, is there a fairly sure-fire way
to update the master engine? Is that documented somewhere?

Thanks!

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 1009100 likely be be fixed for 3.5.0?

2014-05-21 Thread Paul Jansen
Hello.
There are a few bugs that are related to live snapshots/storage migrations not 
working.
https://bugzilla.redhat.com/show_bug.cgi?id=1009100 is one of them and is 
targeted for 3.5.0.
According to the bug there is some engine work still required.

I understand that with EL6 based hosts live storage migration will still not 
work (due to a too old QEMU version), but it should work with F20/21 hosts (and 
EL7 hosts when that comes online).
Am I correct in assuming that in a cluster with both EL6 hosts and new hosts 
(described above) that ovirt will allow live storage migration on hosts that 
support it and prevent the option from appearing on hosts that do not?

The possibility of getting a newer QEMU on EL6 appears to be tied up in the 
Centos virt SIG and their proposed repository, which appears to be moving quite 
slowly.


I'm looking forward to ovirt closing the gap to vmware vcenter in regard to 
live storage migrations.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Working but unstable storage domains

2014-06-10 Thread Paul Heinlein


I'm running oVirt Engine 3.2.0-2.fc18 (which I know is out of date) on 
a dedicated physical host; we have 12 hosts split between two clusters 
and nine storage domains, all NFS.


Late last week, a VM that in the scope of our clusters consumes a lot 
of resources failed in migration. Since then the storage domains have 
from the engine's point of view been going up and down (though the 
underlying NFS exports are fine). Key symptoms from the oVirt Manager:


 * two of the storage domains are always marked as having type of
   "Data (Master)" when historically only one was;

 * the Manager reports "Storage Pool Manager runs on $host" then
   "Sync Error on Master Domain..." then "Reconstruct Master Domain
   ...completed" then "Data Center is being initialized" over and
   over and over again.

The Sync Error messages indicate "$pool is marked as Mater in oVirt 
Engine database but not on the Storage side. Please consult with 
Support on how to fix this issue." Note that $pool changes between the 
various domains that get marked as Data (Master).


Clues, anyone? I'm happy to provide logs (though they're all quite 
large).


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [SOLVED] Working but unstable storage domains

2014-06-18 Thread Paul Heinlein

On Tue, 10 Jun 2014, Paul Heinlein wrote:

I'm running oVirt Engine 3.2.0-2.fc18 (which I know is out of date) 
on a dedicated physical host; we have 12 hosts split between two 
clusters and nine storage domains, all NFS.


Late last week, a VM that in the scope of our clusters consumes a 
lot of resources failed in migration. Since then the storage domains 
have from the engine's point of view been going up and down (though 
the underlying NFS exports are fine). Key symptoms from the oVirt 
Manager:


 * two of the storage domains are always marked as having type of
   "Data (Master)" when historically only one was;

 * the Manager reports "Storage Pool Manager runs on $host" then
   "Sync Error on Master Domain..." then "Reconstruct Master Domain
   ...completed" then "Data Center is being initialized" over and
   over and over again.

The Sync Error messages indicate "$pool is marked as Mater in oVirt 
Engine database but not on the Storage side. Please consult with 
Support on how to fix this issue." Note that $pool changes between 
the various domains that get marked as Data (Master).


For the record, here's what I ended up doing to solve the issue. It 
took quite a while to identify the moving parts, but the actual fix 
wasn't terribly hard.


The secondary goal was to keep all VMs running during the process, 
since we had some ongoing benchmarking we didn't want to interrupt.


I'll say ahead of time that I didn't like mucking around in postgres, 
but all my attempts to fix the issue without doing so came to naught.


1. Disable power management on all Hosts: necessary because Hosts
   would be rebooted if the Engine couldn't contact vdsmd after
   a relatively short period of time.

2. Shutdown ovirt-engine.

3. Shutdown vdsmd on all Hosts.

4. Query postresql about current master version:

SELECT master_domain_version FROM storage_pool;

5. Determine which storage pool has metadata file corresponding to
   that master version number; it will become the new master.

find /rhev/... -type f -name metadata -ls -exec grep ^MASTER {} \;

6. Back up all dom_md directories (with metadata files) and master 
directories (with *.ovf files).


7. Run database query to set pool with highest master version number
   to be Data (master).

-- make all Data (master) domains into regular Data domains
UPDATE storage_domain_static
SET storage_domain_type = 1
WHERE storage_domain_type = 0;

-- promote one Data domain to be a Data (master)
UPDATE storage_domain_static
SET
  storage_domain_type = 1,
  _update_date = LOCALTIMESTAMP,
  last_time_used_as_master = extract(epoch from now())::bigint
WHERE
  storage_name = '$pool';

8. Edit metadata files in non-master pools to read "ROLE=Regular"
   and "MASTER_VERSION=0"; also remove all _SHA_CKSUM entries.

9. Restart Engine.

10. Restart vdsmd on high-priority SPM Host.

11. Watch that the storage pools come up and stay cleanly.

12. Restart vdsmd on all other Hosts.

13. Enjoy adult beverage.

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] el7 hosts? el7 node iso?

2014-07-30 Thread Paul Jansen
I see from here - https://fedorahosted.org/ovirt/ticket/123 - that vdsm is now 
building OK on el7.
What are the plans for el7 and oVirt 3.5? I seem to recall hearing that there 
was a hope that there would be some initial support by the time oVirt 3,5 
release comes around.

I understand that there are functional tests for vdsm, but that these tests are 
not complete.
Are these tests running on an el7 jenkins slave at this point?

Is there likely to be an el7 node iso spin in the near future?

I'm super keen to know whether live snapshots/storage migration works with 
oVirt 3.5 and el7 hosts.  Has anyone got any info?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] el7 node iso for 3.5?

2014-08-05 Thread Paul Jansen
Are there plans for an el7 based ovirt node iso for ovirt 3.5?
I see in the announcement for the RC that there is an el6 based node iso.

It looks like support for el7 as a host is coming along pretty well.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] vm install via iso - optical drive eject behaviour?

2014-08-19 Thread Paul Jansen
Hello.
I currently have oVirt 3.4.x set up.
A colleague mentioned that he was having an issue where booting a VM with an 
attached iso and installing via cd/dvd does not allow the contents of the 
'drive' to eject after the install.  Sure enough, I have tested this myself and 
observed the same behaviour.

Installing an EL/fedora iso image with a kickstart that has a 'reboot --eject' 
line in will eject the 'drive' after the installing when doing the exact same 
thing on VMware ESXi (and 'real' hardware).

A suggestion was made that VMware emulates a laptop style optical drive that 
once the disk ejects the system cannot close the drive bay upon reboot - this 
is a manual operation.
Does oVirt emulate a destop style drive where even if the disk is ejected, when 
a reboot occurs the drive will close?

The long an short of this that even though the 'reboot --eject' option is in 
the kickstart, the iso image seems be be reattached when the VM reboots and the 
installs process starts again.  An infinite loop effectively.

I'm told this isn't an issue with an KVM/Qemu VM under virt-manager.

Any suggestions as to how to solve this?
I should point out that I cannot simply extract files and boot via PXE as this 
process is supposed to be testing an install process via generated media.

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


[ovirt-users] MIB files for oVirt SNMP traps

2014-09-02 Thread Andreas Paul
Hello there,

I want to use oVirt's SNMP traps for my Nagios monitoring, but I need the
ovirt MIBs to convert them with snmptt and I can't find them anywhere.

I used the docs available here http://www.ovirt.org/Features/engine-snmp


Does anyone use the SNMP trap feature in oVirt and knows where I can find
the MIB files?

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


[ovirt-users] [RFI] oVirt 3.6 Planning

2014-09-13 Thread Paul Jansen
My vote is for storage load balancing/scheduler.
Vmware's Vcenter has the concept of a 'storage cluster'.   It's essentially a 
logical storage device.
When you configure hosts/vms to use this device vcenter then works out which of 
the actual storage devices underneath this logical device is will send the 
storage requests to.
This works out as a basic form of load balacing by alternating where the 
storage for new vms are created.
This isn't particularly amazing, but what it does allow - with the highest end 
vcenter licensing anyway - is what Vmware calls 'storage distributed resource 
scheduling'.
Much like we already have the ability to have a scheduler that moves the 
execution of vms around on hosts based on load, this does the same thing for 
the storage component of VM.
Imagine having two configured storage locations under a 'storage cluster' and 
then having the ability to put one of the storage locations into 'maintenance 
mode'.  The storage scheduler would then 'live storage migrate' all the storage 
for vms over to the other storage location.  This would then allow the first 
storage location to be taken down for maintenance.
This approach also allows storage to scale over time as more is added.  The 
'storage scheduler' can take inputs such as latency etc into account and manage 
the load across the 'storage cluster' to balance things out and make smart 
decisions so that the avaialble storage is utilized as best as it can be (ie: 
not overloading one storage location while the other location is mainly idle).


I've done a bit a searching to see where Ovirt might be up to in this regard 
and what I've found seems to indicate that we are not anywhere near this 
capability just yet.
An important prerequisite is having the hosts able to actually do a live 
storage migration.  EL7 based hosts under ovirt 3.5 have this, as have Fedora 
19 and 20 hosts.
If the decision is made to use qemu-kvm-rhev on EL6 hosts - as has been talked 
about recently - then the host requirement for supporting live storage 
migration will be met.  This then allows the idea of a storage scheduler to be 
futher considered.

I think this is an important step in reaching feature parity with Vmware's 
vcenter product, and removes a key reason ovirt/rhev can't be considered in 
some instances.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] overt viewer on mac osx

2014-09-24 Thread Paul Heinlein

On Wed, 24 Sep 2014, Bill Dossett wrote:

I have downloaded and installed per the instructions - and then 
downloaded the console.vv file and run the command line to start the 
viewer with the console.vv - the first time it popped up and then 
said that spice needed authentication… tried my virt-engine password 
that didn’t work, hit cancel and it shut down.  Tried it again and 
now it just says it can’t determine the connection type from uri and 
I have to quit.


I am running OSX 10.9.4 and apparently this has only been tested on 
10.9.1… hoping there is a fix to make this work, or am I doing 
something wrong?  The command I am using is


If you're willing to use VNC instead of SPICE, the attached python 
script will parse console.vv and pass the relevant information to the 
Mac Screen Sharing application (or whatever app you use to open vnc:// 
URLs).


Once you've downloaded console.vv, just run the script. By default, 
the script will look for ~/Downloads/console.vv, but that can be 
changed on the command line.


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W#!/usr/bin/python
#
# oVirt Engine 3.3 will send a user requesting a console a little
# ini-style file with the host/port/password information necessary
# for connecting to a VM via VNC. On a Mac, that file (typically
# named console.vv) is useless as-is. This script parses console.vv
# and passes a vnc:// URL to /usr/bin/open.
#
# A reasonable console.vv file will look something like this:
#
# [virt-viewer]
# type=vnc
# host=your.host.com
# port=5907
# password=ZOrRmRBNlzaK
# delete-this-file=1
# title=VNC
#
# From that file, this script will create a vnc url. The Mac
# Screen Sharing application will accept an old-style URL with
# a username:password prepended to the hostname; oVirt doesn't
# provide a username, so we leave that blank. In the example
# above, the resulting URL would be
#
#   vnc://:zorrmrbnl...@your.host.com:5907
#
# Since ovirt-assigned vnc passwords expire after 120 seconds, this
# script by default will delete the ini file after parsing it.
#
# ==

import ConfigParser, argparse, subprocess, sys, os.path

# open(1) knows how to deal with various file and string types
opener = "/usr/bin/open"
# define the correct section name in console.vv
header = "virt-viewer"
# the default location of the ini file; this can be overridden
# by passing the filename to the script
defaultvv = os.path.expandvars( "${HOME}/Downloads/console.vv" )

# set up the ArgumentParser
parser = argparse.ArgumentParser(
  description='Parse and execute virt-viewer VNC ini file',
  epilog='The console.vv file must have a [virt-viewer] heading, a type=vnc 
entry, and entries for host, port, and password to parse correctly.')
parser.add_argument( '-k', '--keep', action='store_true',
  help='keep vvfile after parsing (default is to delete it)')
parser.add_argument( 'vvfile',
  nargs='?',
  default=defaultvv,
  help='console.vv file from oVirt (default: ~/Downloads/console.vv)')
args = parser.parse_args()

# make sure the file is readable
if not os.path.isfile(args.vvfile):
  sys.stderr.write( args.vvfile + " is not readable or doesn't exist.\n" )
  parser.print_usage(file=sys.stderr)
  sys.exit()

### parse the config file
c = ConfigParser.ConfigParser()
try:
  c.read( args.vvfile )
except ConfigParser.Error:
  sys.stderr.write( args.vvfile + " doesn't parse correctly.\n" )
  sys.stderr.write( "Are you sure you got it from the right place?\n" )
  sys.exit()

# make sure we have a virt-viewer section
try:
  c.has_section( header )
except ConfigParser.NoSectionError:
  sys.stderr.write( "Cannot find necessary [" + header + "] section.\n" )
  sys.exit()

# make sure that, within the virt-viewer section, there's a type=vnc
# option
try:
  c.has_option( header, 'type' )
except ConfigParser.NoOptionError:
  sys.stderr.write( "Cannot find necessary 'type' option.\n" )
  sys.exit()

if not 'vnc' == c.get( header, 'type' ):
  sys.stderr.write( "'type' option option is not 'vnc'.\n" )
  sys.exit()

# grab the hostname.
try:
  rhost = c.get( header, 'host' )
except ConfigParser.NoOptionError:
  sys.stderr.write( "Cannot find host definition.\n" )
  sys.exit()

# grab the port value, make sure it's an integer, and test that it's
# roughly in the correct range (5900-5950) for VNC sessions
try:
  strport = c.get( header, 'port' )
except ConfigParser.NoOptionError:
  sys.stderr.write( "Cannot find port definition.\n" )
  sys.exit()

try:
  rport = int(strport)
except ValueError:
  sys.stderr.write( "The listed port is not an integer.\n" )
  sys.exit(

Re: [ovirt-users] overt viewer on mac osx

2014-09-26 Thread Paul Heinlein

On Fri, 26 Sep 2014, Michal Skrivanek wrote:



On 24 Sep 2014, at 22:33, Paul Heinlein wrote:


On Wed, 24 Sep 2014, Bill Dossett wrote:

I have downloaded and installed per the instructions - and then 
downloaded the console.vv file and run the command line to start 
the viewer with the console.vv - the first time it popped up and 
then said that spice needed authentication… tried my virt-engine 
password that didn’t work, hit cancel and it shut down.  Tried it 
again and now it just says it can’t determine the connection type 
from uri and I have to quit. I am running OSX 10.9.4 and 
apparently this has only been tested on 10.9.1… hoping there is a 
fix to make this work, or am I doing something wrong?  The command 
I am using is


If you're willing to use VNC instead of SPICE, the attached python 
script will parse console.vv and pass the relevant information to 
the Mac Screen Sharing application (or whatever app you use to open 
vnc:// URLs).


Once you've downloaded console.vv, just run the script. By default, 
the script will look for ~/Downloads/console.vv, but that can be 
changed on the command line.


Is it ok to add it to the wiki[1] ?


Absolutely! I'll try to get it up on GitHub in the next few days so 
folks can tinker with it.


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] overt viewer on mac osx

2014-09-26 Thread Paul Heinlein

On Fri, 26 Sep 2014, Paul Heinlein wrote:


 Is it ok to add it to the wiki[1] ?


Absolutely! I'll try to get it up on GitHub in the next few days so 
folks can tinker with it.


It's up: https://github.com/heinlein/ovirt-console

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] importing a qcow2 disk into ovirt 3.5?

2014-10-20 Thread Paul Jansen
I've just been doing some searching to try and work out how to get a vmware 
windows VM into ovirt.
It seems that the newest virtv2v has dropped support for importing from an ESXi 
standalone machine - and now only works with vcenter.  I didn't have any 
success with using the current virt-v2v attaching to an ESXi host.


I've prepared the VM by first removing the vmware tools and have installled the 
various virtio drivers, as well as running the 'mergeide' registry file to 
enable IDE.  I've used 'qemu-img' to convirt this VMDK file to QCOW2.  It does 
not appear that there is a straightforward way for me to import this new qcow2 
disk into ovirt.

It seems my best option at the moment is to export the VMware VM as an OVA and 
then try and use a newer virt-v2v to import this into ovirt.
Alternatively I could construct a VM in virt-manager and attach the converted 
qcow2 disk to it, and then use virt-v2v to import this into ovirt.

Can someone suggest an alternative course of action?  It seems strange that I 
can't just import a disk into ovirt,  construct a VM and attach the disk.

Is there anything int he works to make this process easier?

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


[ovirt-users] importing a qcow2 disk into ovirt 3.5?

2014-10-21 Thread Paul Jansen
>On 21/10/14 07:27, Paul Jansen wrote: >>I've just been doing some searching to 
>try and work out how to get a vmware windows VM into ovirt. >>It seems that 
>the newest virtv2v has dropped support for importing from an ESXi standalone 
>machine - and now only works with vcenter.  I didn't have any success with 
>using the current virt-v2v attaching to an ESXi host. >>>>>>I've prepared the 
>VM by first removing the vmware tools and have installled the various virtio 
>drivers, as well as running the 'mergeide' registry file to enable IDE.  I've 
>used 'qemu-img' to convirt this VMDK file to QCOW2.  It does not appear that 
>there is a straightforward way for me to import this new qcow2 disk into 
>ovirt. >>>>It seems my best option at the moment is to export the VMware VM as 
>an OVA and then try and use a newer virt-v2v to import this into ovirt. 
>>>Alternatively I could construct a VM in virt-manager and attach the 
>converted qcow2 disk to it, and then use virt-v2v to
 import this into ovirt. >>>>Can someone suggest an alternative course of 
action?  It seems strange that I can't just import a disk into ovirt,  
construct a VM and attach the disk. >>>>Is there anything int he works to make 
this process easier?  >Did you consult the documentation of virt-v2v ? >Imho 
all the information you need is there, but I didn't test this >myself so ymmv. 
>Here's the link: virt-v2v >HTH >-- >Mit freundlichen Grüßen / Regards >Sven 
Kieske
  
  
virt-v2v
NAME SYNOPSIS DESCRIPTION INPUT AND OUTPUT MODES EXAMPLES Convert from VMware 
vCenter server to local libvirt Convert from ESX to RHEV-M/oVirt Convert disk 
image to OpenStack glance   
View on libguestfs.org Preview by Yahoo  
  


Hi Sven.
Yes, I've had a look at that doco.  I've even built up a Centos 7 machine and 
installed the EL7.1 libguestfs preview, which contains the very recent 1.28 
release of libguestfs.
I'd be most interested to hear peoples experiences doing these kinds of 
operations.
I remeber Sandro was soliciting feedback about how the import process could be 
improved not long ago.  It seems this is still an area that needs a bit of 
polish in ovirt - not to take away from the significant work that Richard Jones 
in doing with libguestfs and the associated tools.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] q35 machine support?

2014-10-23 Thread Paul Jansen
Is there a way to get QEMUs q35 machine in Ovirt?
I've just upgraded my ovirt 3.4.4 install that has a couple of EL6.5 hosts.
If I create a cluster with EL7 or F20 hosts will I get the option to use the 
q35 machine?
If so, how can I select this?

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


[ovirt-users] importing a qcow2 disk into ovirt 3.5?

2014-10-23 Thread Paul Jansen
>>On 21/10/14 02:27, Paul Jansen wrote: >>>I've just been doing some searching 
>>to try and work out how to get a >>>vmware windows VM into ovirt. >>>It seems 
>>that the newest virtv2v has dropped support for importing >>>from an ESXi 
>>standalone machine - and now only works with vcenter.  I >>>didn't have any 
>>success with using the current virt-v2v attaching to >>>an ESXi host. 
>>>>>>>>I've prepared the VM by first removing the vmware tools and have 
>>>>>installled the various virtio drivers, as well as running the 
>>>>>'mergeide' registry file to enable IDE.  I've used 'qemu-img' to 
>>>>>convirt this VMDK file to QCOW2.  It does not appear that there is a 
>>>>>straightforward way for me to import this new qcow2 disk into ovirt. 
>>>>>>>>It seems my best option at the moment is to export the VMware VM as 
>>>>>an OVA and then try and use a newer virt-v2v to import this into ovirt. 
>>>>>Alternatively I could construct a VM in virt-manager and attach the 
>>>>>converted qcow2 disk
 to it, and then use virt-v2v to import this into >>>ovirt. >>>>>>Can someone 
suggest an alternative course of action?  It seems >>>strange that I can't just 
import a disk into ovirt,  construct a VM >>>and attach the disk. >>>>>>Is 
there anything int he works to make this process easier? >>>>>>Thanks, >>>Paul 
>>>
>Wrote this awhile back as a quick qcow to ovf implementation to import 
>into ovirt-engine/rhevm. There are newer options but this does the job 
>really quick. Will wrap the qcow image into an exploded ova structure or 
>zipped. You can then import it directly into engine with 
>engine-image-uploader.
> >https://jboggs.fedorapeople.org/guest-image-ovf-creator.py 
Thanks for all the replies with suggestions on how to tackle this.

I've tried Joey's script above and it does the trick nicely.
Having 'qemu-img', Joey's script referenced above plus engine-image-uploader on 
a machine allowed me to convert a VMDK file to QCOW2 and then push the resulant 
QCOW2 disk - wrapped in a basic VM - up to my ovirt export domain.
From there I was able to import it as a template, and then create a machine 
based on that template.
This was relatively simple.

I'm looking forward to seeing some integration in the oVirt UI that may handle 
this in future.
I have a VMware vcenter installation and often use the 'deploy from OVF 
template' menu item - which I just pass a http URI with the OVF/OVA and have it 
deploy a VM on my cluster.  This would be great to see in ovirt.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] q35 machine support?

2014-10-23 Thread Paul Jansen
  
  
Cluster emulation modes
Contents 1 Cluster emulation mode 1.1 Summary 1.2 Owner 1.3 Current status 1.4 
Detailed Description 1.4.1 New Config value 1.4.2 New Host field 1.4.3 New 
Cluster field 1.4.4 New NON_OPERATIONAL reason   
View on www.ovirt.org Preview by Yahoo  
  
On 23/10/1403:50 , Paul Jansen wrote:
>Is there a way to get QEMUs q35 machine in Ovirt?
>I've just upgraded my ovirt 3.4.4 install that has a couple of EL6.5 hosts.
>If I create a cluster with EL7 or F20 hosts will I get the option to use the 
>q35 machine?
>If so, how can I select this?
>
>Thanks.

After doing some more searching I came across these two pages:
http://www.ovirt.org/Cluster_emulation_modes
http://www.ovirt.org/Features/Cluster_parameters_override

It sounds like this may allow me to achieve what I've described above.
From what I can tell the 'emulated machine type' is tied to the ovirt cluster 
level - ie: 3.5.

Is it a case of waiting for ovirt 3.6 to be able to override this or is there 
some other way to achieve this now?___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] q35 machine support?

2014-10-23 Thread Paul Jansen
On 10/23/2014 16:56 PM, Roy Golan wrote:
>On 10/23/2014 12:13 PM, Paul Jansen wrote: >>>>>>>>>>Cluster emulation modes 
><http://www.ovirt.org/Cluster_emulation_modes> >>Contents 1 Cluster emulation 
>mode 1.1 Summary 1.2 Owner 1.3 Current >>status 1.4 Detailed Description 1.4.1 
>New Config value 1.4.2 New Host >>field 1.4.3 New Cluster field 1.4.4 New 
>NON_OPERATIONAL reason >>>>View on www.ovirt.org 
><http://www.ovirt.org/Cluster_emulation_modes> >>>>Preview by Yahoo >>>>/On 
>23/10/14///  03:50/  , Paul Jansen wrote:/ >>>Is there a way to get QEMUs q35 
>machine in Ovirt? >>>I've just upgraded my ovirt 3.4.4 install that has a 
>couple of EL6.5 hosts. >>>If I create a cluster with EL7 or F20 hosts will I 
>get the option to use the q35 machine? >>>If so, how can I select this? >>> 
>>>>Thanks. >>>>After doing some more searching I came across these two pages: 
>>>http://www.ovirt.org/Cluster_emulation_modes 
>>>http://www.ovirt.org/Features/Cluster_parameters_override >>>>It sounds like 
>this may allow me to
 achieve what I've described above. >>From what I can tell the 'emulated 
machine type' is tied to the ovirt >>cluster level - ie: 3.5. >>>>you can 
switch q35 with pc-1.0 in ClusterEmulatedMachines config value >for version 3.5 
>>   engine-config -s ClusterEmulatedMachines="q35,rhel6.5.0" >>then create a 
new cluster and add that host to it. once the host is up >this emulation mode 
should be set. >>in 3.6 you'd be able to choose an emulation mode per VM.
Thanks Roy.  I will give this a try, create a new cluster and add a new host to 
test this out.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] q35 machine support?

2014-11-02 Thread Paul Jansen

> > > After doing some more searching I came across these two pages:
> > > http://www.ovirt.org/Cluster_emulation_modes
> > > http://www.ovirt.org/Features/Cluster_parameters_override
> > >
> > > It sounds like this may allow me to achieve what I've described above.
> > > From what I can tell the 'emulated machine type' is tied to the ovirt 
> > > cluster 
> > > level - ie: 3.5.
> > >
> >
> > you can switch q35 with pc-1.0 in ClusterEmulatedMachines config value for 
> > version 3.5
> Thanks Paul for asking and Roy for answering. I thought q35 would be the
> default anyway the whole time ;)
> >
> >engine-config -s ClusterEmulatedMachines="q35,rhel6.5.0"
> >
> > then create a new cluster and add that host to it. once the host is up this 
> > emulation mode should be set.
> >
> > in 3.6 you'd be able to choose an emulation mode per VM.
> Paul, since this is really useful would you mind to open an RFE in BZ
> and post the link here, so we can keep track of this feature?

Hi Daniel.
Sorry for the late reply on this.
I'm happy that this feature is currently documented in the wiki pages that I'd 
referenced above and is on the feature plan for 3.6.
The workaround that was specified does what I need for now.
Proper support in 3.6 will need to consider some other things, such as allowing 
attaching of disks to the sata interface on the q35 machine.
3.5s current workflow doesn't provide a way to cater for that.  Perhaps 
allowing atachign 'virtio-scsi disks to this interface woudl work fine, but 
then there's issue with the naming.
Additionally, there have been issues reported with live migration of machines 
that have the ICH9-AHCI controller enabled.
Any RFE should handle these multifaceted issues - and others I'm not aware of - 
so given I don't understand all the ins and outs I'd prefer not to raise this.
I'd be interested to hear Sandro's take on how this should likely proceed 
though.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] storage offload capability

2014-11-13 Thread Paul Jansen
I have an ovirt 3.5 cluster set up with three el7 hosts.  Storage is provided 
by two Fedora 20 machines and the connection is via multipath iscsi.
The performance is quite good.  The Fedora 20 iscsi targets are using the 
'target' (ie: lio) framework, which support the various t.10 scsi offloads.  
Vmware supports a subset of these called VAAI and Microsoft has a subset called 
ODX.
Cloning is one if the t.10 extensions that the lio target framework supports.

I just tried cloning a vm and noticed that during the process there is a lof of 
traffic over the iscsi interfaces on the Storage Pool Manager host and the 
iscsi target machine.
With proper support for t.10 cloning I shoudn't see any traffic on the isci 
links (or very minimal traffic)

Is there some way to enable the storage offload functionality in Ovirt?
If not, is this on the VDSM roadmap?  If support were worked in this should be 
able to be applied to FCP connections as well.  The lio target supports these 
offloads when acting as a Fiber Channel target also.


I've asked this sometime back but there hasn't been much in the way of 
discussion on this users list or the devel list about this feature.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] storage offload capability

2014-12-15 Thread Paul Jansen
Thanks Itamar.I heard the other day that NFS v4.2 is supposed to contain server 
side copy, so it's possible that we might see this kind of support in one of 
more storage domain available to ovirt at some stage perhaps next year (in 
Fedora at least).Is this something that Gluster will also likely provide in a 
subsequent release once we have proper gfapi support?
I'd be interested to hear if others on the list are clamouring for server side 
offload support in some form.

  From: Itamar Heim
 To: Paul Jansen ; users 
 Sent: Saturday, 13 December 2014, 2:16
 Subject: Re: [ovirt-users] storage offload capability
   
On 11/13/2014 06:09 AM, Paul Jansen wrote:


> I have an ovirt 3.5 cluster set up with three el7 hosts.  Storage is
> provided by two Fedora 20 machines and the connection is via multipath
> iscsi.
> The performance is quite good.  The Fedora 20 iscsi targets are using
> the 'target' (ie: lio) framework, which support the various t.10 scsi
> offloads.  Vmware supports a subset of these called VAAI and Microsoft
> has a subset called ODX.
> Cloning is one if the t.10 extensions that the lio target framework
> supports.
> I just tried cloning a vm and noticed that during the process there is a
> lof of traffic over the iscsi interfaces on the Storage Pool Manager
> host and the iscsi target machine.
> With proper support for t.10 cloning I shoudn't see any traffic on the
> isci links (or very minimal traffic)
> Is there some way to enable the storage offload functionality in Ovirt?
> If not, is this on the VDSM roadmap?  If support were worked in this
> should be able to be applied to FCP connections as well.  The lio target
> supports these offloads when acting as a Fiber Channel target also.
>
> I've asked this sometime back but there hasn't been much in the way of
> discussion on this users list or the devel list about this feature.
>

yes, on the roadmap, tbd yet on when. netapp did a plugin enabling this 
for their storage array (VSC plugin)
I hope the ceph integration will provide this, though that doesn't solve 
it for other type of storage domains yet.



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


[ovirt-users] disk ordering

2014-12-16 Thread Paul Jansen
Hello.I've noticed issues with inconsistent disk ordering when doing installs 
from time to time (on VMs with two disks).I came across this post from Itamar 
from October 2013 where 'disk ordering' is mentioned as a roadmap item: [Users] 
oVirt Roadmap feature requests - Summary
I haven't found anything more when doing searches.  Has any work been done on 
this, or is there a workaround?This is a little annoying.  I never run into 
this issue under Vmware's ESXi.

|   |
|   |   |   |   |   |
| [Users] oVirt Roadmap feature requests - Summary[Users] oVirt Roadmap feature 
requests - Summary Itamar Heim iheim at redhat.com Sun Oct 6 15:55:33 EDT 2013 
Previous message: [Users] so, what do you want next in oVirt?  |
|  |
| View on lists.ovirt.org | Preview by Yahoo |
|  |
|   |

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


Re: [ovirt-users] disk ordering

2014-12-17 Thread Paul Jansen
Hello Vered.This is when doing an EL6 install.  Disk 1 - which also has the 
bootable flag turned on in ovirt - sometime does not show up as SDA inside the 
OS.  The secondary disk shows as SDA and the first disk shows as SDB.  This is 
with both disks as virtio -scsi disks.Unfortunately this behaviour is not 
consistent, it does happen every now and then though..  A colleague hit this 
issue again last night.

  From: Vered Volansky 
 To: Paul Jansen  
Cc: users  
 Sent: Wednesday, 17 December 2014, 22:10
 Subject: Re: [ovirt-users] disk ordering
   
Hi Paul,

Please explain what disk ordering you are referring to.
Disk ordering displayed when and where exactly?

Thanks,
Vered



- Original Message -
> From: "Paul Jansen" 
> To: "users" 
> Sent: Wednesday, December 17, 2014 3:12:50 AM
> Subject: [ovirt-users] disk ordering
> 
> Hello.
> I've noticed issues with inconsistent disk ordering when doing installs from
> time to time (on VMs with two disks).
> I came across this post from Itamar from October 2013 where 'disk ordering'
> is mentioned as a roadmap item: [Users] oVirt Roadmap feature requests -
> Summary
> 
> I haven't found anything more when doing searches. Has any work been done on
> this, or is there a workaround?
> This is a little annoying. I never run into this issue under Vmware's ESXi.
> 
>     
>     
>     
>     
> 
> [Users] oVirt Roadmap feature requests - Summary
> [Users] oVirt Roadmap feature requests - Summary Itamar Heim iheim at
> redhat.com Sun Oct 6 15:55:33 EDT 2013 Previous message: [Users] so, what do
> you want next in oVirt?
> 
> 
> View on lists.ovirt.org
>     
> Preview by Yahoo
> 
> 
> 
> ___
> 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] SSH error while adding host

2015-01-30 Thread Paul Heinlein

On Fri, 30 Jan 2015, RASTELLI Alessandro wrote:


I’m trying to use oVirt 3.5 for glusterFS management.

I installed the package on a Centos6.5 VM following the procedure, 
and everything went fine.


When I add any host to the Cluster, I get the message:

Host gluster01-mi installation failed. Command returned failure code 1
during SSH session 'root@gluster01-mi'.

In the engine.log I see: []

2015-01-30 11:04:33,402 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(VdsDeploy) Correlation ID: 251a7b21, Call Stack: null, Custom Event ID: -1,
Message: Failed to install Host gluster01-mi. Failed to execute stage 'Setup
validation': Cannot locate gluster packages, possible cause is incorrect
channels.


I suggest launching an ssh session to gluster01-mi and trying a manual 
installation of a couple gluster packages, e.g.,


  yum install glusterfs glusterfs-cli

Chances are, you'll see the error that's causing the problem.

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] UI problem with Edit NIC

2016-01-08 Thread Staniforth, Paul
Hello,

   we are using ovirt 3.6.0 and have a private network switch installed 
that we would like users to be able to attach VMs to but we don't want them to 
have access the the ovirtmgnt network.


When we take away the permission VnicProfileUser on Vnic Profile ovirtmgmt the 
is no Profiles listed in the Edit Network Interface profile drop down menu in 
the User Portal.


Once we put the VnicProfileUser on Vnic Profile ovirtmgmt the list of available 
profiles is listed.


Thanks for any help.


Paul S.

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


[ovirt-users] quota consumer

2017-05-10 Thread Staniforth, Paul
Hello,

I can create quotas with the SDK ( python) and make a user a 
consumer of the quota in the admin portal but don't know how to do it with the 
SDK or API.


Any help appreciated.



Thanks,

 Paul S.

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Migrate VirtualBox Vm into

2017-05-12 Thread Staniforth, Paul
Hi Gajendra,

  virt-v2v didn't support Debian/Ubuntu guests, it is 
apparently in a later version that is due to be included in RHEL/Centos 7.4


What I did to get a Metasploitable2 image into oVirt was.




1. convert vmdk disk

   qemu-img convert -f vmdk Metasploitable.vmdk -O raw Metasploitable.img

2. Find size of disk 8GB in this case

qemu-img info Metasploitable.img

3. Create VM O/S Linux with disk of that size and of interface type IDE thin 
provision

4.  In engine in the DATA_DOMAIN record the id of the disk just created

5. in the DATA_DOMAIN on one the hosts/nodes go to the images directory
  e.g. mount_point/UUID/images

6. cd to directory of the id of the disk recorded at step 5 (also probably last 
directory created)
 there should be 3 files and the one without an extension should be 8GB
 they should all start with the same UUID in this case  
1805e3a4-0697-4c0a-8dfb-0c0011490bd2

7. dd if=/path/Metasploitable.img  of=1805e3a4-0697-4c0a-8dfb-0c0011490bd2 bs=4M

8.  Boot VM.

It may be easier converting the disk and creating a new VM with it or seeing if 
Fedora has a more modern virt-v2v

Regards,
   Paul S.



From: users-boun...@ovirt.org  on behalf of Gajendra 
Ravichandran 
Sent: 09 May 2017 11:01
To: users@ovirt.org
Subject: [ovirt-users] Migrate VirtualBox Vm into


Hi,


I am running a ovirt engine and ovirt host on a single machine for testing 
purpose. I trying to convert and move Debian virtualbox vm which is created 
using vagrant into ovirt engine as template.


I tried to convert using virt-v2v as http://libguestfs.org/virt-v2v.1.html. 
However, I get error as (Debian/ Linux cannot be converted).


I have exported the vm from virtualbox and have the image as .ova. Is there any 
way to migrate?


Thanks

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Need Support - Engine VM Down

2017-06-13 Thread Staniforth, Paul

Hello Rizwan,

  The upgrade from 3.6 to 4.0 involves installing a new O/S 
for the engine and restoring from a backup of the 3.6 system, could you set up 
a new machine (physical or VM) and restore from backups then migrate later into 
hosted engine setup?


http://www.ovirt.org/documentation/upgrade-guide/chap-Upgrading_to_oVirt_4.0/


Regards,

   Paul S.


From: users-boun...@ovirt.org  on behalf of Rizwan 
Qureshi 
Sent: 12 June 2017 09:50
To: users@ovirt.org
Subject: [ovirt-users] Need Support - Engine VM Down

Hello Developers,
We are new to ovirt. We unfortunately managed to break our oVirt installation. 
The engine VM does not seem to start after we updated to 4.0 from 3.6 and did a 
restart.

We are looking for someone specialized to fix this kind of issues. I have 
failed to find anyone who provides support for oVirt so resorting to the users 
list now. Already tried using the users list and someone did try to help but 
could not get it to work. You can see the thread below for reference and logs 
that I posted:

http://lists.ovirt.org/pipermail/users/2017-May/082309.html

Can anyone help please?


--
Best Regards,
Rizwan Qureshi
VoIP Admin
Ph: 01482427836

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted Engine/NFS Troubles

2017-07-19 Thread Staniforth, Paul
I used the troubleshooting guide at


documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/


and exported using


(rw,sync,no_subtree_check,all_squash,anonuid=36,anongid=36)


This was for the DATA_DOMAIN not hosted storage but it may help.


Regards,


Paul S.


From: users-boun...@ovirt.org  on behalf of Phillip 
Bailey 
Sent: 17 July 2017 20:05
To: users
Subject: [ovirt-users] Hosted Engine/NFS Troubles

Hi,

I'm having trouble with my hosted engine setup (v4.0) and could use some help. 
The problem I'm having is that whenever I try to add additional hosts to the 
setup via webadmin, the operation fails due to storage-related issues.

webadmin shows the following error messages:

"Host  cannot access the Storage Domain(s) hosted_storage attached 
to the Data Center Default. Setting Host state to Non-Operational.
Failed to connect Host ovirt-node-1 to Storage Pool Default"


The VDSM log from the host shows the following error message:

"Thread-18::ERROR::2017-07-17 
13:01:11,483::sdc::146::Storage.StorageDomainCache::(_findDomain) domain 
ca044720-e5cf-40a8-8b21-57a17026db7c not found
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/sdc.py", line 144, in _findDomain
dom = findMethod(sdUUID)
  File "/usr/share/vdsm/storage/sdc.py", line 174, in _findUnfetchedDomain
raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist: 
(u'ca044720-e5cf-40a8-8b21-57a17026db7c',)"


The engine log shows the following error messages:

"2017-07-17 18:32:11,409 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData] 
(org.ovirt.thread.pool-6-thread-34) [] Domain 
'ca044720-e5cf-40a8-8b21-57a17026db7c:hosted_storage' was reported with error 
code '358'
2017-07-17 18:32:11,410 ERROR [org.ovirt.engine.core.bll.InitVdsOnUpCommand] 
(org.ovirt.thread.pool-6-thread-34) [] Storage Domain 'hosted_storage' of pool 
'Default' is in problem in host 'ovirt-node-1'
2017-07-17 18:32:11,487 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(org.ovirt.thread.pool-6-thread-34) [] Correlation ID: null, Call Stack: null, 
Custom Event ID: -1, Message: Host ovirt-node-1 reports about one of the Active 
Storage Domains as Problematic."


I have ownership set to vdsm/kvm and full rwx rights enabled on both 
directories. I have successfully mounted both the master domain and the 
hosted_storage manually on one of the hosts I'm trying to add. I have attached 
the engine log and the VDSM log for that host.

Could someone please help me figure out what's causing this?

-Phillip Bailey
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] NullPointerException when changing compatibility version to 4.0

2017-07-24 Thread Staniforth, Paul
Hello,
   I had trouble changing the compatibility level when VMs had HA 
enabled, I can't remember what the error message was but it was quite obscure. 
I had to disable HA for any VMs while I upgraded the compatibility level.

Regards,
  Paul S.

From: users-boun...@ovirt.org  on behalf of Marcel 
Hanke 
Sent: 24 July 2017 07:37
To: Michal Skrivanek
Cc: users
Subject: Re: [ovirt-users] NullPointerException when changing compatibility 
version to 4.0

Hi,
no there are no pending changes. The current cluster is 3.6 right.
The strange thing is, that the change to 4.0 worked on 6 other clusters before
without a problem.

On Monday, July 24, 2017 08:53:40 AM Michal Skrivanek wrote:
> > On 24 Jul 2017, at 08:23, Marcel Hanke  wrote:
> >
> > Hi,
> > i'm currently running on 4.0.6.3-1.el7.centos
>
> it’s quite an old thing it’s crashing on. I wonder what is the original
> version where those VMs were created? The current cluster is 3.6, right?
> Does any of those VMs have pending changes to be applied?
>
> Thanks,
> michal
>
> > On Saturday, July 22, 2017 12:21:17 PM Michal Skrivanek wrote:
> >>> On 20 Jul 2017, at 15:56, Marcel Hanke  wrote:
> >>>
> >>> Hi,
> >>> the Log is >400MB heres a part with the Errors.
> >>
> >> ok
> >> and which exact version do you have?
> >>
> >>> thanks Marcel
> >>>
> >>> On Thursday, July 20, 2017 02:43:57 PM Eli Mesika wrote:
> >>>> Hi
> >>>>
> >>>> Please attach full engine.log
> >>>>
> >>>> On Wed, Jul 19, 2017 at 12:33 PM, Marcel Hanke 
> >>>>
> >>>> wrote:
> >>>>> Hi,
> >>>>> i currently have a problem with changing one of our clusters to
> >>>>> compatibility
> >>>>> version 4.0.
> >>>>> The Log shows a NullPointerException after several successful vms:
> >>>>> 2017-07-19 11:19:45,886 ERROR
> >>>>> [org.ovirt.engine.core.bll.UpdateVmCommand]
> >>>>> (default task-31) [1acd2990] Error during ValidateFailure.:
> >>>>> java.lang.NullPointerException
> >>>>>
> >>>>>   at
> >>>>>
> >>>>> org.ovirt.engine.core.bll.UpdateVmCommand.validate(
> >>>>> UpdateVmCommand.java:632)
> >>>>> [bll.jar:]
> >>>>>
> >>>>>   at
> >>>>>
> >>>>> org.ovirt.engine.core.bll.CommandBase.internalValidate(
> >>>>> CommandBase.java:886)
> >>>>> [bll.jar:]
> >>>>>
> >>>>>   at
> >>>>>
> >>>>> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:3
> >>>>> 91
> >>>>> )
> >>>>> [bll.jar:]
> >>>>>
> >>>>>   at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:493)
> >>>>>
> >>>>> [bll.jar:]
> >>>>> .
> >>>>>
> >>>>> On other Clusters with the exect same configuration the change to 4.0
> >>>>> was
> >>>>> successfull without a problem.
> >>>>> Turning off the cluster for the change is also not possible because of
> >>>>>
> >>>>>> 1200
> >>>>>
> >>>>> Vms running on it.
> >>>>>
> >>>>> Does anyone have an idea what to do, or that to look for?
> >>>>>
> >>>>> Thanks
> >>>>> Marcel
> >>>>> ___
> >>>>> 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
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt memory quota

2017-07-25 Thread Staniforth, Paul
Hello,

when I restart the ovirt engine all quotas show 100% usage for 
memory, if I open the quota in edit mode and close it again it updates memory 
used.

I'm using  4.1.3.5-1.el7.centos


Regards,

   Paul S.

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Python errors with ovirt 4.1.4

2017-08-04 Thread Staniforth, Paul
Hello,

   I have 3 nodes and used the engine to update them to


ovirt-node-ng-4.1.4-0.20170728.0


but the engine still reported a new update which I tried but it failed.


On the nodes yum check-update showed an update for


ovirt-node-ng-nodectl.noarch4.1.4-0.20170728.0.el7


installing this produces the same errors when logging into the node or running 
nodectl motd.

nodectl check and info where fine but the engine produced errors when checking 
for updates.


I used yum history to rollback the ovirt-node-ng-nodectl.noarch.


I now have no errors but strangely the engine reports 2 nodes have updates 
available but not the 3rd which wasn't the one I did a nodectl update on.


Regards,

   Paul S.



From: users-boun...@ovirt.org  on behalf of david 
caughey 
Sent: 02 August 2017 10:48
To: Users@ovirt.org
Subject: [ovirt-users] Python errors with ovirt 4.1.4

Hi Folks,

I'm testing out the new version with the 4.1.4 ovirt iso and am getting errors 
directly after install:

Last login: Wed Aug  2 10:17:56 2017
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File "/usr/lib/python2.7/site-packages/nodectl/__main__.py", line 42, in 

CliApplication()
  File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 200, in 
CliApplication
return cmdmap.command(args)
  File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 118, in 
command
return self.commands[command](**kwargs)
  File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 102, in motd
machine_readable=True).output, self.machine).write()
  File "/usr/lib/python2.7/site-packages/nodectl/status.py", line 51, in 
__init__
self._update_info(status)
  File "/usr/lib/python2.7/site-packages/nodectl/status.py", line 78, in 
_update_info
if "ok" not in status.lower():
AttributeError: Status instance has no attribute 'lower'
Admin Console: https://192.168.122.61:9090/

The admin console seems to work fine.

Are these issues serious or can they be ignored.

BR/David
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot set a quota to limit resources for each user

2017-08-04 Thread Staniforth, Paul
Hi Soumya,
You can copy  quotas, what I can't figure out is how to set 
a consumer from the API.

In table 7.263 Attributes Summary at
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html/rest_api_guide/types#types-quota

it show a users attribute but I only get


testcli



20
80

20
80


Regards,
   Paul S.


From: users-boun...@ovirt.org  on behalf of Soumya 
Koduri 
Sent: 03 August 2017 15:16
To: Artyom Lukianov
Cc: users
Subject: Re: [ovirt-users] Cannot set a quota to limit resources for each   
user

Hi Artyom,

On 08/03/2017 04:07 PM, Artyom Lukianov wrote:
> Hi Soumya,
>
>  1. Yes, you correct a quota is shared among all quota consumers.
>  2. No, it not possible, the single possibility as you said is to create
> a separate quota for each user. I believe it was designed to make
> quota for group of users at first place, but I think it can be a
> good RFE :)

Thanks for confirming. I shall file a RFE then.

Regards,
Soumya

>
> Best Regards
>
> On Thu, Aug 3, 2017 at 10:54 AM, Soumya Koduri  <mailto:skod...@redhat.com>> wrote:
>
> Hi,
>
> We have a use-case to limit VM resources for each user and were
> following guidelines specified in the admin guide to set quota and
> limit resources for each user [section:  16.8. Using Quota to Limit
> Resources by User]. However looks like that quota is shared by all
> the users added as consumers.
>
> Suppose I have created a quota (say quota1) to limit the storage
> capacity to 100GB for each user. Once I add user1 and user2 as
> consumers to that quota, seems like both users combined are entitled
> to 100GB. Is my understanding correct?
>
> Please let me know if there is any way to configure a single quota
> which could be applied for each user individually (i.e, in the above
> eg., each user should be limited to 100GB storage capacity).
>
> Or is the only way this can be done is by creating separate quota
> for each user [which seems like tedious process and cannot scale]?
>
>
> Thanks,
> Soumya
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Python errors with ovirt 4.1.4

2017-08-07 Thread Staniforth, Paul
Thanks,

  That works but I still have the engine reporting 1 node has an 
update available, strange.


"Check for available updates on host x.xxx.xxx was completed successfully 
with message 'found updates for packages 
ovirt-node-ng-image-update-4.1.4-1.el7.centos'."


Regards,

  Paul S.


From: Yuval Turgeman 
Sent: 07 August 2017 13:37
To: Staniforth, Paul
Cc: david caughey; Users@ovirt.org
Subject: Re: [ovirt-users] Python errors with ovirt 4.1.4

Hi,

The problem should be solved here:

http://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.1_build-artifacts-el7-x86_64/lastSuccessfulBuild/artifact/exported-artifacts/

Thanks,
Yuval.


On Fri, Aug 4, 2017 at 12:37 PM, Staniforth, Paul 
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:

Hello,

   I have 3 nodes and used the engine to update them to


ovirt-node-ng-4.1.4-0.20170728.0


but the engine still reported a new update which I tried but it failed.


On the nodes yum check-update showed an update for


ovirt-node-ng-nodectl.noarch4.1.4-0.20170728.0.el7


installing this produces the same errors when logging into the node or running 
nodectl motd.

nodectl check and info where fine but the engine produced errors when checking 
for updates.


I used yum history to rollback the ovirt-node-ng-nodectl.noarch.


I now have no errors but strangely the engine reports 2 nodes have updates 
available but not the 3rd which wasn't the one I did a nodectl update on.


Regards,

   Paul S.



From: users-boun...@ovirt.org<mailto:users-boun...@ovirt.org> 
mailto:users-boun...@ovirt.org>> on behalf of david 
caughey mailto:djc...@gmail.com>>
Sent: 02 August 2017 10:48
To: Users@ovirt.org<mailto:Users@ovirt.org>
Subject: [ovirt-users] Python errors with ovirt 4.1.4

Hi Folks,

I'm testing out the new version with the 4.1.4 ovirt iso and am getting errors 
directly after install:

Last login: Wed Aug  2 10:17:56 2017
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File "/usr/lib/python2.7/site-packages/nodectl/__main__.py", line 42, in 

CliApplication()
  File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 200, in 
CliApplication
return cmdmap.command(args)
  File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 118, in 
command
return self.commands[command](**kwargs)
  File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 102, in motd
machine_readable=True).output, self.machine).write()
  File "/usr/lib/python2.7/site-packages/nodectl/status.py", line 51, in 
__init__
self._update_info(status)
  File "/usr/lib/python2.7/site-packages/nodectl/status.py", line 78, in 
_update_info
if "ok" not in status.lower():
AttributeError: Status instance has no attribute 'lower'
Admin Console: https://192.168.122.61:9090/

The admin console seems to work fine.

Are these issues serious or can they be ignored.

BR/David
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html

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


To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Install ovirt on Azure

2017-08-08 Thread Staniforth, Paul
Although I haven't had time to try it HVX in ravello can do nested 
virtualization for KVM.


https://www.ravellosystems.com/technology/nested-virtualization


Regards,

 Paul S.



From: users-boun...@ovirt.org  on behalf of Yaniv Kaul 

Sent: 07 August 2017 19:51
To: Karli Sjöberg
Cc: Ovirt Users
Subject: Re: [ovirt-users] Install ovirt on Azure



On Mon, Aug 7, 2017 at 1:52 PM, Karli Sjöberg 
mailto:ka...@inparadise.se>> wrote:
On mån, 2017-08-07 at 12:46 +0200, Johan Bernhardsson wrote:
> There is no point on doing that as azure is a cloud in itself and
> ovirt
> is to build your own virtual environment to deploy on local hardware.

Yeah, of course and I think Grzegorz knows that. But for people in the
testing, evaluating stage, making it a virtualized environment gives a
greater flexibility. Easier to test without having to buy any metal.

The Engine can be installed anywhere. The hosts - a bit more tricky. Does Azure 
expose virtualization capable CPU?

Note you can use Lago[1], which we use as our CI tool (with 
ovirt-system-tests[2]) - which uses nested virtualization on top of a single 
host (my laptop with 8GB runs it).

There's a hyper-converged suite and a regular suite there. They support 
Gluster, NFS, iSCSI and many many features can be evaluated on it.
Y.

[1] http://lago.readthedocs.io/en/latest/README.html
[2] http://ovirt-system-tests.readthedocs.io/en/latest/


>
> /Johan
>
> On Mon, 2017-08-07 at 12:32 +0200, Grzegorz Szypa wrote:
> >
> > Hi.
> >
> > Did anyone try to install ovirt on Azure Environment?

No idea if Azure VM's support nested virtualization, sorry.

/K

> >
> > --
> > G.Sz.
> > ___
> >
> > Users mailing list
> > Users@ovirt.org<mailto:Users@ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org<mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirtmgmt network security

2017-10-30 Thread Staniforth, Paul
Yes you don't need ovirtmgmt on the VMs and I think if you use passthrough it 
will pin it to the host, probably better to create a DMZ logical network and 
attach the hosts in the cluster to the DMZ VLAN which will allow them to 
migrate and be setup for HA.


Regards,

   Paul S.


From: users-boun...@ovirt.org  on behalf of Alona 
Kaplan 
Sent: 30 October 2017 09:50
To: Luca 'remix_tj' Lorenzetto
Cc: users
Subject: Re: [ovirt-users] ovirtmgmt network security

Hi Istvan,

I agree with Luca. You can remove nic1.
'ovirtmgmt' network is not mandatory on the vm, you can run the vm with no 
vnics (vitrual nics) at all.
The 'ovirtmgmt' network is used for communication between the engine and the 
host.
Whether the vm using the 'ovirtmgmt' network or not won't affect the management 
capabilities.

You said that the vm nic with 'ovirtmgmt' was automatically added when you 
added the vm.
It is strange and shouldn't behave this way. Are you sure that in the add vm 
dialog you didn't choose it as the network of nic1? (you could leave this 
section in the dialog unfilled, it is not mandatory).

BTW, if you don't want any VM to use the 'ovirtmgmt' network you can go to the 
edit network dialog of 'ovirtmgmt' (in the Network main tab) and uncheck the 
'vm network' checkbox.

Hope it helps you,
Alona.

On Mon, Oct 30, 2017 at 11:26 AM, Luca 'remix_tj' Lorenzetto 
mailto:lorenzetto.l...@gmail.com>> wrote:
On Mon, Oct 30, 2017 at 8:45 AM, Istvan Buki 
mailto:buki.ist...@gmail.com>> wrote:
> Hello,
>
> thank you for your patience for trying to let me see the light.
>
> Indeed I don't understand what you are explaining. Maybe if I give you more
> concrete details it will help.
>
> My internal network is 192.168.196.0
> My DMZ network is 192.168.188.0
>
> ovirt-engine is running on a centos server with IP 192.168.186.3
> ovirt host is on a centos server with IP 192.168.186.4
>
> On the host I created a VM that I want to be in the DMZ. When I created the
> VM, nic 1 was automatically added and is linked to the ovirtmgmt network.
> In the VM nic1 becomes eth0 and was assigned an IP address with DHCP
> 192.168.186.167.
>
> After that I added a host device to that VM using passthrough. This device
> is called ens7 in the VM and I gave IP 192.186.188.4.
> That device is directly connected to my physical DMZ switch and from there
> to the firewall.
> This part is OK.
>
> My problem is that through eth0 my VM has access to my internal network.
> Removing the device seems impossible because this is ovirtmgmt network.
> I can not change or remove the IP of my host because it would not be
> reachable anymore on my internal network.
>
> Maybe the solution is obvious but I can't see it. I'm running in circle with
> this problem and it makes me crazy.
>



Hi Istvan,

why are you using device passthrough?

Anyway. If you don't need the VM to access to ovirtmgmt, remove nic1.
As far as i can understand, you're directly communicating through DMZ.

Luca


--
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
mailto:lorenzetto.l...@gmail.com>>
___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] HEVM root reset?

2017-10-30 Thread Staniforth, Paul
Some useful commands for the host running the hosted-engine



/usr/sbin/hosted-engine --add-console-passw..d

/usr/sbin/hosted-engine  --console


Put it in maintenance, then start an alternate configuration




/usr/sbin/hosted-engine --vm-start --vm-conf=

Load an alternative vm.conf file as a recovery action


Regards,

 Paul S.



To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.2 Lab on ESXi

2017-10-31 Thread Staniforth, Paul
We had a system some nodes on VMware in nested mode, I think they may have 
worked in 3.6 and VMware 6.0, when they were upgraded to VMware 6.5 and oVirt 
4.1 when the VMs were started they hung at the SeaBIOS prompt, if they were 
migrated to a oVirt bare metal node the VM would finish booting.


I had a Centos KVM VM on the VMware host in nested mode and it would boot VMs 
without a problem.


Regards,

  Paul S.


From: users-boun...@ovirt.org  on behalf of Mustapha 
Aissat 
Sent: 31 October 2017 14:01
To: users@ovirt.org
Subject: [ovirt-users] Ovirt 4.2 Lab on ESXi

Dears,

I'm trying to setup a lab for Ovirt 4.2 on VMware ESXi 6.5.
I checked "Expose hardware assisted virtualization to the guest OS" and "Enable 
virtualized CPU performance counters" options to activate the nested 
virtualization.

I installed Ovirt node and I try to setup a self hosted engine on it.
All pre-configrations were done successfully. But when arriving to step  
"Running engine-setup on the appliance", the Hosted engine VM wouldn't start.

I open the VM console, it stuck a bios level. It display the following :

SeaBIOS (Version 1.10.2-3.el7_4.1)
Machine UUID ced5025d-eec1-458a-991c-cc3bba9392dd

Does anybody already encountered this issue? Is there any more parameters to 
set in the ESXi for it to work?

Thanks for your help
Regards,
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 4.2 host not compatible

2017-12-22 Thread Paul Dyer
It seems that I am using net_persistence = ifcfg, and that I have lost the
definitions for the logical networks.

I have recovered these, and was able to do setup logical networks.

It is all working now.

Paul

On Fri, Dec 22, 2017 at 1:46 PM, Paul Dyer  wrote:

> My setup is RHEL 7.4, with the host separate from the engine.
>
> The ovirt-release42 rpm was added to the engine host, but not to the
> virtualization host.   The vhost was still running v4.1 rpms.   I installed
> ovirt-release42 on the vhost, then updated the rest of the rpms with "yum
> update".I am still getting an error on activation of the vhost...
>
>  Host parasol does not comply with the cluster Intel networks, the
> following networks are missing on host: 'data30,data40,ovirtmgmt'
>
> It seems like the networks bridges are not there anymore??
>
> Paul
>
>
>
> On Fri, Dec 22, 2017 at 12:46 PM, Paul Dyer  wrote:
>
>> Hi,
>>
>> I have upgraded to ovirt 4.2 without issue.   But I cannot find a way to
>> upgrade the host compatibility in the new OVirt Manager.
>>
>> I get this error when activiating the host...
>>
>> host parasol is compatible with versions (3.6,4.0,4.1) and cannot join
>> Cluster Intel which is set to version 4.2.
>>
>> Thanks,
>> Paul
>>
>>
>> --
>> Paul Dyer,
>> Mercury Consulting Group, RHCE
>> 504-302-8750 <(504)%20302-8750>
>>
>
>
>
> --
> Paul Dyer,
> Mercury Consulting Group, RHCE
> 504-302-8750 <(504)%20302-8750>
>



-- 
Paul Dyer,
Mercury Consulting Group, RHCE
504-302-8750
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt 4.1 change ovirtmgmt to enable VLAN tagging

2018-01-22 Thread Staniforth, Paul
Hello,

 We have an oVirt 4.1  cluster of 3 ovirt-nodes that currently on the 
management network don't have VLAN tagging enabled, we would like to enable 
VLAN tagging and so would be grateful of anyone had an information or 
experience doing this.


The management engine is running on a separate host and the 3 hosts are running 
oVirt Node 4.1.6


Thanks,

 Paul S.

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.1 change ovirtmgmt to enable VLAN tagging

2018-01-22 Thread Staniforth, Paul
Thanks Luca,
 I'll talk to our network team.
Paul S.

On 22 Jan 2018 19:10, Luca 'remix_tj' Lorenzetto  
wrote:


Il 22 gen 2018 7:49 PM, "Staniforth, Paul" 
mailto:p.stanifo...@leedsbeckett.ac.uk>> ha 
scritto:

Hello,

 We have an oVirt 4.1  cluster of 3 ovirt-nodes that currently on the 
management network don't have VLAN tagging enabled, we would like to enable 
VLAN tagging and so would be grateful of anyone had an information or 
experience doing this.


The management engine is running on a separate host and the 3 hosts are running 
oVirt Node 4.1.6

Hi Paul, i did the same with the same release.

The trick was to set the tagging also of the default vlan on the switch during 
the change from untagged to tagged.

In example, if you have to move your ovirtmgmt to vlan 10, you can set your 
port for serving the network both native and tagged so while changing the 
ovirtmgmt setup you will not lose the connectivity.

Luca

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.1 change ovirtmgmt to enable VLAN tagging

2018-01-23 Thread Staniforth, Paul
Hello Luca,

 We are keeping the VLAN ID the same so would this work, not 
being a network expert can the same VLAN be tagged and native on the same port?


Thanks,

Paul S.


From: Luca 'remix_tj' Lorenzetto 
Sent: 22 January 2018 19:10
To: Staniforth, Paul
Cc: users
Subject: Re: [ovirt-users] oVirt 4.1 change ovirtmgmt to enable VLAN tagging



Il 22 gen 2018 7:49 PM, "Staniforth, Paul" 
mailto:p.stanifo...@leedsbeckett.ac.uk>> ha 
scritto:

Hello,

 We have an oVirt 4.1  cluster of 3 ovirt-nodes that currently on the 
management network don't have VLAN tagging enabled, we would like to enable 
VLAN tagging and so would be grateful of anyone had an information or 
experience doing this.


The management engine is running on a separate host and the 3 hosts are running 
oVirt Node 4.1.6

Hi Paul, i did the same with the same release.

The trick was to set the tagging also of the default vlan on the switch during 
the change from untagged to tagged.

In example, if you have to move your ovirtmgmt to vlan 10, you can set your 
port for serving the network both native and tagged so while changing the 
ovirtmgmt setup you will not lose the connectivity.

Luca
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.1 change ovirtmgmt to enable VLAN tagging

2018-01-23 Thread Staniforth, Paul
Thanks Luca,
   FYI we have an Avaya network infrastructure.

Paul S.

From: Luca 'remix_tj' Lorenzetto 
Sent: 23 January 2018 10:00
To: Staniforth, Paul
Cc: users
Subject: Re: [ovirt-users] oVirt 4.1 change ovirtmgmt to enable VLAN tagging

On Tue, Jan 23, 2018 at 10:59 AM, Staniforth, Paul
 wrote:
> Hello Luca,
>
>  We are keeping the VLAN ID the same so would this work, not
> being a network expert can the same VLAN be tagged and native on the same
> port?

Hello Paul,

I think yes, depends on your switches. I'm working with lenovo
chassis' I/O modules that provide a configuration option called
network default-tag that does exactly this.

Luca


--
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 4.1 slot user portal vm creation

2018-01-29 Thread Staniforth, Paul
Hello,

  We are experiences slow response when trying to create a new vm in 
the user portal (for some users the New Virtual Machine page doesn't get 
created). Also in the Templates page of the user portal it doesn't list the 
templates, just has the 3 waiting to load icons flashing.

In the admin portal it lists the templates with no problem.


We are running 4.1.9 on the engine and nodes.


Any help appreciated.


Thanks,

     Paul S.

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.1 slot user portal vm creation

2018-01-29 Thread Staniforth, Paul
Hi Michal,

At the moment there aren't many people logged in and it seems 
to be able to list the templates in the admin portal but with admin logged in 
to the user portal it hangs when trying to list the templates.


It's sad if we lose features as we find it useful for students to hot-plug 
vnics and select different vNic profiles amongst other features.




Thanks,

     Paul S.


From: Michal Skrivanek 
Sent: 29 January 2018 14:58
To: Staniforth, Paul
Cc: users@ovirt.org
Subject: Re: [ovirt-users] 4.1 slot user portal vm creation



On 29 Jan 2018, at 15:16, Staniforth, Paul 
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:

Hello,
  We are experiences slow response when trying to create a new vm in 
the user portal (for some users the New Virtual Machine page doesn't get 
created). Also in the Templates page of the user portal it doesn't list the 
templates, just has the 3 waiting to load icons flashing.
In the admin portal it lists the templates with no problem.

How many users using that user portal do you have? It may be just that slow 
because it's too many
Note it's completely removed from 4.2 and teh ovirt-web-ui does provide only 
limited New VM capabilities - but it should perform much better

Thanks,
michal


We are running 4.1.9 on the engine and nodes.

Any help appreciated.

Thanks,
 Paul S.
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html

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

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 4.1 slot user portal vm creation

2018-02-07 Thread Staniforth, Paul
Hello,

   After further testing and restoring the engine to a test system it 
seems that even when listing templates using the web API  it is very slow 
whereas listing VMs isn't slow.

Even if using admin@internal and  --header 'Filter:True' it's slow whereas 
without the header it's fast.

As our test system has no storage or hosts is it possible to delete templates 
from the database as a restore from October doesn't seem to have the problem.


Thanks,

Paul S.


From: Michal Skrivanek 
Sent: 29 January 2018 14:58
To: Staniforth, Paul
Cc: users@ovirt.org
Subject: Re: [ovirt-users] 4.1 slot user portal vm creation



On 29 Jan 2018, at 15:16, Staniforth, Paul 
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:

Hello,
  We are experiences slow response when trying to create a new vm in 
the user portal (for some users the New Virtual Machine page doesn't get 
created). Also in the Templates page of the user portal it doesn't list the 
templates, just has the 3 waiting to load icons flashing.
In the admin portal it lists the templates with no problem.

How many users using that user portal do you have? It may be just that slow 
because it's too many
Note it's completely removed from 4.2 and teh ovirt-web-ui does provide only 
limited New VM capabilities - but it should perform much better

Thanks,
michal


We are running 4.1.9 on the engine and nodes.

Any help appreciated.

Thanks,
 Paul S.
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html

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

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Maximum time node can be offline.

2018-02-08 Thread Staniforth, Paul
Hello,

   you should be able to use the power saving cluster scheduling policy.


https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2-beta/html/administration_guide/sect-Scheduling_Policies


Regards,

  Paul S.


From: users-boun...@ovirt.org  on behalf of Thomas 
Letherby 
Sent: 08 February 2018 05:51
To: users@ovirt.org
Subject: [ovirt-users] Maximum time node can be offline.

Hello all,

Is there a maximum length of time an Ovirt Node 4.2 based host can be offline 
in a cluster before it would have issues when powered back on?

The reason I ask is in my lab I currently have a three node cluster that works 
really well, however a lot of the time I only actually need the resources of 
one host, so to save power I'd like to keep the other two offline until needed.

I can always script them to boot once a week or so if I need to.

Thanks,

Thomas
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issues with ZFS volume creation

2018-04-03 Thread Staniforth, Paul
Hello Tal,

 ZFS is probably detecting a partition table on the disks, you 
could delete the partition tables on /dev/sda,/dev/sdb  ... etc, or you could 
use the force option of ZFS create making sure they aren't mounted somewhere.


Regards,

   Paul S.


From: users-boun...@ovirt.org  on behalf of Tal Bar-Or 

Sent: 25 March 2018 15:54
To: users
Subject: [ovirt-users] Issues with ZFS volume creation


Hello All,
I know this question is might be out of Ovirt scope, but I don't have anywhere 
else to ask for this issue (ZFS users mailing doesn't work), so I am trying my 
luck here anyway
so the issues go as follows :

Installed ZFS on top of CentOs 7.4 with Ovirt 4.2 , on physical Dell R720 with 
15 sas  10 k 1.2TB each attached to PERC H310 adapter, disks are configured to 
non-raid, all went OK, but when I am trying to create new zfs pool using the 
following command:

zpool create -m none -o ashift=12 zvol raidz2 sda sdb sdc sdd sde sdf sdg sdh 
sdi sdj sdk sdl sdm
I get the following error below:
/dev/sda is in use and contains a unknown filesystem.
/dev/sdb is in use and contains a unknown filesystem.
/dev/sdc is in use and contains a unknown filesystem.
/dev/sdd is in use and contains a unknown filesystem.
/dev/sde is in use and contains a unknown filesystem.
/dev/sdf is in use and contains a unknown filesystem.
/dev/sdg is in use and contains a unknown filesystem.
/dev/sdh is in use and contains a unknown filesystem.
/dev/sdi is in use and contains a unknown filesystem.
/dev/sdj is in use and contains a unknown filesystem.
/dev/sdk is in use and contains a unknown filesystem.
/dev/sdl is in use and contains a unknown filesystem.
/dev/sdm is in use and contains a unknown filesystem.

When typing command lsblk I get the following output below, all seems ok, any 
idea what could be wrong?
Please advice
Thanks

# lsblk
NAMEMAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
sda   8:00  1.1T  0 disk
??35000cca07245c0ec 253:20  1.1T  0 mpath
sdb   8:16   0  1.1T  0 disk
??35000cca072463898 253:10   0  1.1T  0 mpath
sdc   8:32   0  1.1T  0 disk
??35000cca0724540e8 253:80  1.1T  0 mpath
sdd   8:48   0  1.1T  0 disk
??35000cca072451b68 253:70  1.1T  0 mpath
sde   8:64   0  1.1T  0 disk
??35000cca07245f578 253:30  1.1T  0 mpath
sdf   8:80   0  1.1T  0 disk
??35000cca07246c568 253:11   0  1.1T  0 mpath
sdg   8:96   0  1.1T  0 disk
??35000cca0724620c8 253:12   0  1.1T  0 mpath
sdh   8:112  0  1.1T  0 disk
??35000cca07245d2b8 253:13   0  1.1T  0 mpath
sdi   8:128  0  1.1T  0 disk
??35000cca07245f0e8 253:40  1.1T  0 mpath
sdj   8:144  0  1.1T  0 disk
??35000cca072418958 253:50  1.1T  0 mpath
sdk   8:160  0  1.1T  0 disk
??35000cca072429700 253:10  1.1T  0 mpath
sdl   8:176  0  1.1T  0 disk
??35000cca07245d848 253:90  1.1T  0 mpath
sdm   8:192  0  1.1T  0 disk
??35000cca0724625a8 253:00  1.1T  0 mpath
sdn   8:208  0  1.1T  0 disk
??35000cca07245f5ac 253:60  1.1T  0 mpath


--
Tal Bar-or
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How it is oVirt used in your Department?

2018-04-09 Thread Staniforth, Paul
Have you tried ManageIQ ? It's in the ovirt-image-repository

Regards,
  Paul S.

From: users-boun...@ovirt.org  on behalf of ~Stack~ 

Sent: 08 April 2018 15:33
To: users@ovirt.org
Subject: Re: [ovirt-users] How it is oVirt used in your Department?

On 03/28/2018 05:31 AM, Fedele Stabile Nuovo Server wrote:
> My question is mainly addressed at those of you who use oVirt not only
> for creating services on virtual machines.
> What is your experience and what did you made?

Still consider myself an oVirt newb. Only been using it for a few months
but I'm liking it so far. I don't have the hardware specs in front of me
but I have a 4 node Hypervisor setup with a physical Engine host. All
running on Scientific Linux 7.

> Is there anyone who virtualized an HPC cluster?

I'm still not convinced that virtualized HPC is a good idea for those
who need compute performance. Though it is getting better than when I
first heard someone say they were doing it at Supercomputing14!

> What is for you the advantage on virtualizing a cluster?

Um. As a 14year HPC admin, I still say none for compute. However, I am
using oVirt to support a ton of my infrastructure services: Frontends,
Log-ins, Scheduler, Database, LDAP, ect.

I'm still learning how to set up something where my users can click a
button on a webpage and get a VM spun up for a Graphical session on
oVirt. I'm also still debating on the pros/cons for setting up oVirt
VM's for things like JupyterNotebooks/RStudio Server/ect for the "I just
want a web page to develop my code on and will submit to the cluster for
the job run" crowd.

It is a huge learning process for me. Most of the tools I've been using
have worked great for years, but it is time to update and refresh those
skills. Most of the provisioning tools I've used in the past don't work
so well with oVirt. So now I'm exploring other tools.

Foreman is and overcomplicated buggy headache, IMO. Every time I or a
coworker has tried to get it going it has been a massive
time-suck-crash-and-burn. Add to it that my current security team has
HUGE issues with Puppet (don't get me started - I like Puppet) and
building Foreman by hand with Salt is just an awful awful awful
experience I wouldn't wish on an enemy...just no. :-)
DigitalRebar was looking SUPER promising, but they recently went to a
model that MUST chat out to the Internet or it breaks itself (a complete
no-go for me). A complete shame.
So I'm back to Cobbler which is simple and works fantastically well, but
doesn't really have any integrations into oVirt (that I'm aware of). I'm
probably going to have to write something with the two API's.


> Or, having a class with PC or Raspberry is better to use LTSP or PiNet
> or virtualize desktops?
Can't say. Don't mess with Raspberry Pi's much.

~Stack~

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Failed to upgrade from 4.1 to 4.2 - Postgre version required

2018-04-26 Thread Staniforth, Paul
I'm having this problem as well.


It's suggested here to backup the databases and install new clean version of 
postgresql with the correct encoding,collation, etc and restore the databases.


https://www.mail-archive.com/users@ovirt.org/msg47854.html


I hope to try this today or tomorrow on a test system.


Regards,

  Paul S.


From: users-boun...@ovirt.org  on behalf of Aziz 

Sent: 26 April 2018 12:15
To: Marcelo Leandro
Cc: users
Subject: Re: [ovirt-users] Failed to upgrade from 4.1 to 4.2 - Postgre version 
required

This is similar to the below bug :

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

Any ideas on how to fix it without losing the existing config ?

Thank you.



On Thu, Apr 26, 2018 at 11:54 AM, Aziz 
mailto:azizgst...@gmail.com>> wrote:
There you are :


[root@CTL1 tmp]# su - postgresql
su: user postgresql does not exist
[root@CTL1 tmp]# su - postgres
Last login: Thu Apr 26 12:25:01 CEST 2018 on pts/0
nodectl must be run as root!
nodectl must be run as root!
nodectl must be run as root!
nodectl must be run as root!
-bash-4.2$ psql
psql (9.2.23)
Saisissez « help » pour l'aide.

postgres=# \l
   Liste des bases de données
 Nom  | Propriétaire | Encodage | Collationnement | 
Type caract. |Droits d'accès
--+--+--+-+--+---
 dwh  | postgres | UTF8 | fr_FR.UTF-8 | 
fr_FR.UTF-8  | =Tc/postgres +
  |  |  | | 
 | postgres=CTc/postgres
 engine   | engine   | UTF8 | en_US.UTF-8 | 
en_US.UTF-8  |
 ovirt_engine_history | ovirt_engine_history | UTF8 | en_US.UTF-8 | 
en_US.UTF-8  |
 postgres | postgres | UTF8 | fr_FR.UTF-8 | 
fr_FR.UTF-8  |
 template0| postgres | UTF8 | fr_FR.UTF-8 | 
fr_FR.UTF-8  | =c/postgres  +
  |  |  | | 
 | postgres=CTc/postgres
 template1| postgres | UTF8 | fr_FR.UTF-8 | 
fr_FR.UTF-8  | =c/postgres  +
  |  |  | | 
 | postgres=CTc/postgres
(6 lignes)

postgres=#

Thanks

On Thu, Apr 26, 2018 at 11:49 AM, Marcelo Leandro 
mailto:marcelol...@gmail.com>> wrote:

Show this information:

1 - su - postgresql
2 - psql
3 - \l


Thanks,

2018-04-26 7:38 GMT-03:00 Marcelo Leandro 
mailto:marcelol...@gmail.com>>:
What show in the /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log ?

command:
cat /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log

Marcelo Leandro

Em qui, 26 de abr de 2018 07:34, Aziz 
mailto:azizgst...@gmail.com>> escreveu:
Hi Ovirt users,

I'm trying to upgrade my Ovirt from version 4.1 to 4.2, but I'm stuck when 
issuing the command  engine-setup which returns the following errors :

Upgrading PostgreSQL
[ ERROR ] Failed to execute stage 'Misc configuration': Command 
'/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Rolling back to the previous PostgreSQL instance (postgresql).
[ INFO  ] Stage: Clean up Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20180426122630-rpkrel.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20180426122823-setup.co<http://20180426122823-setup.co>nf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed


Can anyone help to resolve this ?


Thank you in advance.

BR.
___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users



To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] User portal permissions

2018-05-02 Thread Staniforth, Paul
Hello Kristian,


I haven't upgraded to 4.2 yet but in 4.1


I create a Directory services group and add the user to it

Then I give the user roles


VmCreator

DiskProfileUser

VnicProfileUser


These can be added to a DC, storage domain, cluster, etc.


The  VnicProfileUser means that you can restrict networks and impose QOS, 
Network Filters,etc.


We then add UserTemplateBasedVm permission to give them access to specific 
templates.


For users we allow to create templates we add TemplateCreator permission to 
their group.


These are all user permissions so they can't login to the admin portal.


Regards,

     Paul S.





From: users-boun...@ovirt.org  on behalf of Kristian 
Petersen 
Sent: 01 May 2018 16:36
To: users
Subject: [ovirt-users] User portal permissions

I have a user that I want to be able to create VMs, create and attach disks to 
the new VM, add a network interface to the VM, and get the OS installed so it 
is ready to use.  I am completely confused on which role (or roles) this user 
would need to do that without making them an admin.  Can someone give me some 
guidance here?

--
Kristian Petersen
System Administrator
BYU Dept. of Chemistry and Biochemistry
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Re: oVirt Orb 4.2.3 is now available

2018-05-08 Thread Staniforth, Paul
Hello Sandro,

   On the last version when trying to run it on Fedora 
instead of Centos it fails because it only installs version3 of the Python SDK. 
The workaround is to download the version4 SDK rpm and install that.


Thanks,

 Paul S.




From: Sandro Bonazzola 
Sent: 08 May 2018 10:45
To: users; devel
Subject: [ovirt-users] oVirt Orb 4.2.3 is now available

oVirt Orb image has been updated with oVirt 4.2.3 content[1]
oVirt Orb is a project that allows anyone to easily take an oVirt for a
ride, test and play with it.

See oVirt Orb documentation for using it[2]

[1] http://resources.ovirt.org/pub/ovirt-4.2/ovirt-orb/
[2] https://ovirt.org/documentation/ovirt-orb/

--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA<https://www.redhat.com/>

sbona...@redhat.com<mailto:sbona...@redhat.com>

[https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig>
[https://www.redhat.com/files/brand/email/sig-summit.png]<https://redhat.com/summit>

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] oVIrt 4.2 could not boot up old < 4.2 image or new boot from virtual CD ROM

2018-05-09 Thread paul . lkw
Hi anyone:
Any one success in booting up FreeBSD 10.4 from oVIrt 4.2, seems a bug in oVirt 
!
However FreeBSD earlier than 10.4 (eg. 10.3, 10.2) is fine for booting up.

BR,
Paul.LKW
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Does Mailing List DEAD ?

2018-05-14 Thread paul . lkw
It seems since the upgrade of Mailing List I do not receive any mail from oVirt 
Mailing List, I also tried to post and do not receive any ?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Re: User & Roles

2018-05-21 Thread Staniforth, Paul
Hi Simon,

select resource ( datacenter or host), then select the 
permissions tab, then add the permission to the user or group.


Regards,

 Paul S.


From: Simon Coter 
Sent: 17 May 2018 16:48
To: users
Subject: [ovirt-users] User & Roles

Hi,

I'm looking how-to create roles/users and give them access to specific 
datacenter/host(s).
I looked on the documentation but I hadn't been able to find the proper 
section; anyone that can give me an help ?
Thanks

Simon
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


Re: [ovirt-users] oVirt Console on Windows 7

2017-01-18 Thread Staniforth, Paul
The virt-manager package has a number of programs but the one you should use is 
remote-viewer. In your clients browser associate the console.vv file with 
remote-viewer and then it will start remote-viewer passing the console.vv file 
with the connection details including the OTP (one time p...word).

Regards,
  Paul S.

From: users-boun...@ovirt.org  on behalf of Brett 
Holcomb 
Sent: 17 January 2017 23:10
To: users
Subject: [ovirt-users] oVirt Console on Windows 7

On my Windows machine I can run the web portal without issues but I
would like to use the console from the portal on the VMs.  I installed
the virt-manager but it if I do

spice://myengine.my.domain:5900 it tells me I can't connect.

I've found a lot of contradictory advice (big surprise! ). Some say I
need to install spice.cab (link does not work and a working link lead to
a site with malware which got blocked).

So what do I need to use a console in the portal in Windows 7?

Also, when will the portal work with Chrome?

Thanks.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virt-manager not able to connect to my ovirt-instance

2017-03-16 Thread Staniforth, Paul
Hello,

  The VM is running on one of your nodes/hosts and the client 
should be connecting to a port on that machine. The web portal is likely on the 
machine that has the oVirt Engine running on.






From: John Joseph 
Sent: 16 March 2017 08:54
To: Staniforth, Paul; users@ovirt.org
Subject: Re: [ovirt-users] virt-manager not able to connect to my ovirt-instance

Thanks Paul,
I have tried opening it using "remote-viewer", but I get error message as

"Unable to connect to the graphic server /tmp/mozilla_saji0/console.vv
Could not connect to 192.168.59.95: No route to host"

This has something to do with the permission than, route issues, because I can 
access the server through the browser as well as I can ping it also
I have to see what permissions or port blocked at the ovirt server level
Thanks
Joseph John



On Thursday, 16 March 2017 12:32 PM, "Staniforth, Paul" 
 wrote:


You should use remote-viewer to connect to the console of the VM, it's in the 
same package and you should pass the connection details to it from the 
portal(the console.vv file gets created including the otp).

Regards,
Paul S.


On 16 Mar 2017 07:36, John Joseph  wrote:
Hi ,
I was able to install ovirt, and I am able to create virtual machines and it is 
running fine, I can see the instance using browser
But when I try connecting to the ovirt machine using virt-manager I am getting 
the following error

"Unable to connect to libvirt.
authentication failed: authentication failed
Verify that the 'libvirtd' daemon is running
on the remote host."

Through the browser I am able to see the virtual machines running, is there 
anything else for me to do, for allowing "Virtual Machine Manager" to work
thanks
Joseph John



To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html


To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] virt-manager not able to connect to my ovirt-instance

2017-03-16 Thread Staniforth, Paul
You should use remote-viewer to connect to the console of the VM, it's in the 
same package and you should pass the connection details to it from the 
portal(the console.vv file gets created including the otp).

Regards,
    Paul S.


On 16 Mar 2017 07:36, John Joseph  wrote:
Hi ,
I was able to install ovirt, and I am able to create virtual machines and it is 
running fine, I can see the instance using browser
But when I try connecting to the ovirt machine using virt-manager I am getting 
the following error

"Unable to connect to libvirt.
authentication failed: authentication failed
Verify that the 'libvirtd' daemon is running
on the remote host."

Through the browser I am able to see the virtual machines running, is there 
anything else for me to do, for allowing "Virtual Machine Manager" to work
thanks
Joseph John



To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Bulk move vm disks?

2017-03-24 Thread Staniforth, Paul
Hello Christian,
   I have recently moved around 700 VM disks between 
storage domains, you can select multiple disks in the GUI and move them. I did 
this on oVirt 3.6 most of these were dependant on template disks so I had to 
copy the template disks to the destination domain once all the dependant VM 
disks were moved I could remove the template disk from the source domain.
If the VMs are up it automatically creates a snapshot, in version 3.6 these 
aren't automatically removed.
Regards,
 Paul S.

On 24 Mar 2017 10:12, gflwqs gflwqs  wrote:
Hi list,
I need to move 600+ vms:from one data domain to another, however from what i 
can see in the GUI i can only move one vm disk at the time which would be very 
time consuming.

I there any way i can bulk move those vm disks?
By the way, I can't stop the vms they have to be online during the migration..

Regards
Christian

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Moving Hosted Engine NFS storage domain

2016-05-31 Thread Staniforth, Paul
Hello,

 we would like to move our NFS storage used for the HostedEngine.


Plan would be

  *   enable global maintenance
  *   shut-down HostedEngine VM
  *   edit  /etc/ovirt-hosted-engine/hosted-engine.conf on hosts
 *   storage=newnfs:/newnfsvolume
  *   copy storage domain from old to new nfs server
  *   start HostedEngine VM
  *   run engine-setup on HostedEngine VM
  *   disable global maintenance

Has anyone had any experience doing this?

Have I missed any steps out

we are currently running oVirt 3.6.2


Thanks,

  Paul S.

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] quota creation from ovirt-shell

2016-09-12 Thread Staniforth, Paul
Hello,

   I am trying to create user quotas from the command line via the 
shell.


I am using ovirt 3.6.7 and the command


add quota --parent-datacenter-name Default --name testcli


creates a quota but without quotaclusterlimit or quotastoragelimit


I can't find the correct syntax to create these.


Also how would I add a consumer and change the values when created?


Any examples or pointers to documentation would be appreciated.


Thanks,

  Paul S.

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] quota creation from ovirt-shell

2016-09-20 Thread Staniforth, Paul
Thanks Andrej,
it gives me another reason to learn python. I 
will try but things are a little hectic at the moment as it's induction week at 
our University.

Regards,
 Paul S.

From: Andrej Krejcir 
Sent: 20 September 2016 10:44
To: Staniforth, Paul
Cc: users@ovirt.org
Subject: Re: [ovirt-users] quota creation from ovirt-shell

Hi,

there is a bug in the ovirt-cli, which makes creating quotaclusterlimit and 
quotastoragelimit impossible.

The correct syntax would be:
add quotastoragelimit --parent-datacenter-name Default --parent-quota-name 
testcli ...

You could use a python script with the SDK instead.
For example:


from ovirtsdk.api import API
from ovirtsdk.xml.params import Quota
from ovirtsdk.xml.params import QuotaStorageLimit

api = API('IP:PORT/ovirt-engine/api', 'admin@internal', 'pass')
dc = api.datacenters.list()[0]
quota = dc.quotas.add(Quota(name="quota1"))
quota.quotastoragelimits.add(QuotaStorageLimit(limit=100))



Regards,
Andrej

- Original Message -
From: "Paul Staniforth" 
To: users@ovirt.org
Sent: Monday, September 12, 2016 6:00:50 PM
Subject: [ovirt-users] quota creation from ovirt-shell



Hello,

I am trying to create user quotas from the command line via the shell.




I am using ovirt 3.6.7 and the command




add quota --parent-datacenter-name Default --name testcli




creates a quota but without quotaclusterlimit or quotastoragelimit




I can't find the correct syntax to create these.




Also how would I add a consumer and change the values when created?




Any examples or pointers to documentation would be appreciated.




Thanks,

Paul S.
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] quota creation from ovirt-shell

2016-09-25 Thread Staniforth, Paul
Thanks, I've got it to work in python, just need to work out how to 
change/update them now.
I'm in just get the job done mode at present so it's not the most elegant code.

Paul S.

From: Doron Fediuck [dfedi...@redhat.com]
Sent: 25 September 2016 07:30
To: Staniforth, Paul
Cc: Andrej Krejcir; users@ovirt.org
Subject: Re: [ovirt-users] quota creation from ovirt-shell

On Tue, Sep 20, 2016 at 2:00 PM, Staniforth, Paul 
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:
Thanks Andrej,
it gives me another reason to learn python. I 
will try but things are a little hectic at the moment as it's induction week at 
our University.

Paul. you can also use Java or Ruby instead of Python.


Regards,
 Paul S.

From: Andrej Krejcir mailto:akrej...@redhat.com>>
Sent: 20 September 2016 10:44
To: Staniforth, Paul
Cc: users@ovirt.org<mailto:users@ovirt.org>
Subject: Re: [ovirt-users] quota creation from ovirt-shell

Hi,

there is a bug in the ovirt-cli, which makes creating quotaclusterlimit and 
quotastoragelimit impossible.

The correct syntax would be:
add quotastoragelimit --parent-datacenter-name Default --parent-quota-name 
testcli ...

You could use a python script with the SDK instead.
For example:


from ovirtsdk.api import API
from ovirtsdk.xml.params import Quota
from ovirtsdk.xml.params import QuotaStorageLimit

api = API('IP:PORT/ovirt-engine/api', 'admin@internal', 'pass')
dc = api.datacenters.list()[0]
quota = dc.quotas.add(Quota(name="quota1"))
quota.quotastoragelimits.add(QuotaStorageLimit(limit=100))



Regards,
Andrej

- Original Message -
From: "Paul Staniforth" 
mailto:p.stanifo...@leedsbeckett.ac.uk>>
To: users@ovirt.org<mailto:users@ovirt.org>
Sent: Monday, September 12, 2016 6:00:50 PM
Subject: [ovirt-users] quota creation from ovirt-shell



Hello,

I am trying to create user quotas from the command line via the shell.




I am using ovirt 3.6.7 and the command




add quota --parent-datacenter-name Default --name testcli




creates a quota but without quotaclusterlimit or quotastoragelimit




I can't find the correct syntax to create these.




Also how would I add a consumer and change the values when created?




Any examples or pointers to documentation would be appreciated.




Thanks,

Paul S.
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html



___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org<mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Group permissions at cluster level

2016-10-26 Thread Woodward, Paul
Hi,

This could be a bug or a configuration issue, I'm not too sure yet. At the 
moment if I apply group permissions using the PowerUserRole to the cluster 
itself, then any VMs created in the user portal by users in that group don't 
get the UserVmManager role applied correctly. The user, authorization provider 
and namespace fields are all blank meaning that VM is visible to all users on 
the platform.

If you do this with individual users' permissions though, it works as expected 
and they get the UserVmManager role assigned to their username on the VM.

Thanks,
Paul

NHSGG&C Disclaimer

The information contained within this e-mail and in any attachment is
confidential and may be privileged. If you are not the intended
recipient, please destroy this message, delete any copies held on your
systems and notify the sender immediately; you should not retain, copy
or use this e-mail for any purpose, nor disclose all or any part of its
content to any other person.

All messages passing through this gateway are checked for viruses, but
we strongly recommend that you check for viruses using your own virus
scanner as NHS Greater Glasgow & Clyde will not take responsibility for
any damage caused as a result of virus infection.

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


[ovirt-users] oVirt / ROM images / PXE

2015-03-06 Thread Paul Heinlein
Summary: To get oVirt-managed VMs to boot using PXE, I had to replace 
the rhel6-*.rom files with their ipxe equivalents.


Setup: Nodes running CentOS 7, fully current. Engine 3.5.0.1 running 
on Fedora 19. Storage via NFS. 1GB ethernet network. DHCP server on 
separate subnet, relying on dhcp-relay switch settings.


PXE is our preferred method for installing VMs. We rarely use 
templates.


I recently upgraded our oVirt hypervisor nodes from Fedora 19 to 
CentOS 7 (where "upgrade" obviously implies a full OS 
re-installation). I failed to test creating VMs using PXE in this 
setup because -- and this is crucial -- it worked fine on our 
non-oVirt CentOS 7 hypervisors, which are managed using virsh and 
virt-install.


So PXE booting a new VM failed. The symptom was the dreaded "dhcp 
connection timeout" at the seabios prompt. The timout would persist 
even when I pressed Ctrl-B and re-tried "dhcp net0" several times over 
the course of the next few minutes.


Significantly, existing VMs experienced no DHCP troubles at all, in 
the sense that dhclient or its equivalent within the VM could get 
and renew leases as expected.


I poked around the forward-delay settings on the oVirt-managed 
bridges, but they had the same charactistics of the bridges on our 
non-oVirt hypervisors. Lots of other network-oriented troubleshooting 
likewise failed.


It got to the point that I took one of my oVirt nodes, removed it from 
oVirt, and reinstalled it with plain CentOS 7. Its physical 
connections and IP addresses stayed exactly the same. Without oVirt, 
virt-install used PXE without a hitch. I re-added that machine to the 
oVirt cluster, and PXE failed once again.


I noticed that the BIOS PXE prompt was slightly different in the ovirt 
and non-ovirt environment, which led me to poke around the ROM images 
in /usr/share/qemu-kvm.


I think the rhel6-*.rom images are those used by oVirt, while the 
pxe-*.rom images (actually symlinks into ../ipxe/) are used by, e.g., 
the local virt-install utility.


My workaround is to replace the rhel6-*.rom files with the same 
symlinks used by the pxe-*.rom files:


- %< -
# short version of script, minus error checking
cd /usr/share/qemu-kvm
for NIC in e1000 ne2k_pci pcnet rtl8139 virtio; do
  mv rhel6-${NIC}.rom rhel6-${NIC}.rom.dist
  ln -s $(readlink pxe-${NIC}.rom) rhel6-${NIC}.rom
done
- %< -

Now oVirt VMs can boot from PXE without any issue.

I'm wildly curious about what's going on here.

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt / ROM images / PXE

2015-03-06 Thread Paul Heinlein

On Fri, 6 Mar 2015, Chris Adams wrote:


Once upon a time, Paul Heinlein  said:
Summary: To get oVirt-managed VMs to boot using PXE, I had to 
replace the rhel6-*.rom files with their ipxe equivalents.


I'm PXE booting oVirt VMs with no trouble.  I have CentOS 7 nodes, 
running oVirt 3.5.1 (hosted engine on CentOS 6).  Each node has a 
pair of NICs in a LACP bond to a switch stack, running 802.1q on top 
of that, with several VLANs (only one VLAN has a DHCP server and a 
local CentOS repo, so I put VMs on that VLAN for install).


Good data point! Can you tell me the compatibility version of your 
data center and its cluster(s)? How about the cluster CPU type?


I'm just trying to figure out what moving parts are at issue.

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt / ROM images / PXE

2015-03-06 Thread Paul Heinlein

On Fri, 6 Mar 2015, Chris Adams wrote:

If the DHCP requests are making it to the server, the next thing to 
see is if there is any difference in the DHCP options requested 
between the different ROM images (maybe your DHCP config isn't 
matching up correctly in some case that works on mine?).


I'd done a bunch of tcpdump-ing (which went unmentioned in my post to 
the list). The DHCP requests are indeed making it to the server, and 
the server makes an OFFER, which never makes it back to VM ROM.


To reiterate, however, DHCP clients from working VMs are able to get 
leases, so the network itself is functioning. The issue is definitely 
tied to the ROM that's used.


So it might be helpful to look at the DHCP options, but the server is 
making OFFERs, so I'm not really sure what bits might be suspect.


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt / ROM images / PXE

2015-03-06 Thread Paul Heinlein

On Fri, 6 Mar 2015, Chris Adams wrote:


Once upon a time, Paul Heinlein  said:

So it might be helpful to look at the DHCP options, but the server
is making OFFERs, so I'm not really sure what bits might be suspect.


Do you see a difference between the DHCP options with the "bad" and 
"good" ROMs?


It might be a while before I can set things up to get a good capture, 
but I do appreciate your pointers. I'll reply to the list once I can 
free up the time for the tests.


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Live migration fails - domain not found -

2015-03-18 Thread Paul Heinlein

On Wed, 18 Mar 2015, Markus Stockhausen wrote:

although we already upgraded several hypervisor nodes to Ovirt 3.5.1 
the newest upgrade has left the host in a very strang state. We did:


- Host was removed from cluster
- Ovirt 3.5 repo was activated on host
- Host was "reinstalled" from enging

And we got:
- A host that is active and looks nice in the engine
- We can start/stop VMs on the host
- But we cannot live migrate machines to (or even away from) the host


Are the source and destination hypervisor hosts running the OS 
revision (e.g., both running CentOS 6.6)?


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] making use of an existing NFS exported iso repository

2015-03-24 Thread Paul Jansen
Hello.I've done some searching through the mail archives on this and haven't 
come up with a suitable answer as of yet.I have a 3.5 cluster with currently no 
iso domain attached.I am unable to add an iso domain of type 'ISO / Local on 
host' as the 'host' drop down box is empty.
I thought about exporting an iso directory on the engine machine via NFS and 
then symlinking into it a mount to the actual iso store, but the 're-exporting 
an NFS mounted filesystem' issue bit me there.  When I looked inside the 
directory it was empty on hosts that had mounted the new iso share.
Is there a solution to this problem at the moment?  I don't want to have to 
copy iso files somewhere else on the network.  I notice there have been quite a 
few requests over the years for being able to use an existing iso repository.

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


Re: [ovirt-users] PXE boot issue

2015-04-09 Thread Paul Heinlein

On Thu, 9 Apr 2015, Michal Skrivanek wrote:



On Apr 9, 2015, at 10:49 , Brandon Merjil  wrote:

I looked at that as well but ovirt is using gPXE, and I my 
situation there is no loop. it just stops after trying once. Is 
there an api reference for the run once option. I'd like to have 
some thing to point to if I start asking the foreman group about 
this.


I believe Sven is right; RunOnce is not relevant if you speak about 
reboot within the guest OS. I suppose that's the case. It is the 
same QEMU process then and the only difference might be in PXE 
bootrom, possibly a gPXE bug.


We're still running oVirt Engine 3.5.0 on Fedora 19, but I recently 
upgraded our hypervisor nodes to CentOS 7 (and then 7.1). I've had no 
end of trouble with the boot rom images available for CentOS 7.1 
nodes. There are two sets of files and one set of symlinks:


  * /usr/share/qemu-kvm/rhel6-*.rom
-> actual files
-> installed by qemu-kvm-rhev package
-> the default images used by oVirt-installed qemu-kvm

  * /usr/share/ipxe/*.rom
-> actual files
-> installed by ipxe-roms-qemu package

  * /usr/share/qemu-kvm/pxe-*.rom
-> symlinks pointing to ../ipxe/*rom images
-> installed by qemu-kvm-rhev package

I'll note that the qemu-kvm-rhev package is provided by the oVirt 
team; it's not part of the stock CentOS repository.


In our environment, the rhel6-*.rom images won't accept responses from 
our DHCP server (dhcpd on CentOS 6), while the iPXE images fail when 
loading the 64-bit installation kernels for very new distributions: 
CentOS 7.1, Ubuntu 1410 and 1404, and Debian sid.


In the end, I punted. I extracted the iPXE images from the Fedora 20 
ipxe-roms-qemu and tasked cfengine with pushing them into place:


10222000.rom -> /usr/share/qemu-kvm/rhel6-pcnet.rom
10ec8029.rom -> /usr/share/qemu-kvm/rhel6-ne2k_pci.rom
10ec8139.rom -> /usr/share/qemu-kvm/rhel6-rtl8139.rom
1af41000.rom -> /usr/share/qemu-kvm/rhel6-virtio.rom
8086100e.rom -> /usr/share/qemu-kvm/rhel6-e1000.rom

That's the only solution that works for me.

NOTE: The ROM images must be the same on all your hypervisor nodes; if 
they aren't, live migrations will fail.


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


  1   2   3   4   5   >