Re: [ovirt-users] Best setup for nfs domain and 1gbs adapters on hosts

2017-02-17 Thread Gianluca Cecchi
On Feb 17, 2017 7:22 PM, "Karli Sjöberg"  wrote:



Den 17 feb. 2017 6:30 em skrev Gianluca Cecchi :

Hello,
I'm going to setup an environment where I will have 2 hosts and each with 2
adapters to connect to storage domain(s). This will be a test environment,
not a production one.
The storage domain(s) will be NFS, provided by a Netapp system.
The hosts have 4 x 1Gb/s adapters and I think to use 2 for ovirtmgmt and
VMs (through bonding and VLANs) and to dedicate the other 2 adapters to the
NFS domain connectivity.
What would be the best setup to have both HA on the connection and also
using the whole 2Gb/s in normal load scenario?
Is it better to make more storage domains (and more svm on Netapp side) or
only one?
What would be the suitable bonding mode to put on adapters? I normally
use 802.3ad provided by the switches, but I'm not sure if in this
configuration I can use both the network adapters for the overall load of
the different VMs that I would have in place...

Thanks in advance for every suggestion,

Gianluca


Hey G!

If it was me doing this, I would make one 4x1Gb/s 802.3ad bond on filer and
hosts to KISS. Then, if bandwidth is of concern, I would set up two VLANs
for storage interfaces with addresses on separate subnets (10.0.0.1 and
10.0.1.1 on filer. 10.0.0.(2,3) and 10.0.1.(2,3) on hosts) and then on the
filer set up only two NFS exports where you try to as evenly as possible
provision your VMs. This way the network load would evenly spread over all
interfaces for simplest config and best fault tolerance, while keeping
storage traffic at max 2Gb/s. You only need one SVM with several addresses
to achieve this. We have our VMWare environment set up similar to this
towards our NetApp. We also have our oVirt environment set up like this,
but towards a different NFS storage, with great success.

/K


Thanks for your answer, K!
So you mean to make a unique bond composed by all 4 network adapters and
put all the networks on it, comprised ovirtmgmt and such, through clans?
How do you configure 802.3ad on 4 adapters? How many switches do you have
to connect to, from these 4 adapters? Or do you use round robin bonding
(but I presume it is not supported in court this bond)?
Thanks!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ova conversion errors: where to search?

2017-02-17 Thread Tomáš Golembiovský
Hi,

On Fri, 17 Feb 2017 17:54:28 +0100
Gianluca Cecchi  wrote:

> Hello,
> testing some VMware ova imports.
> In a test that I'm doing I get failure in conversion; in engine.log
> 
> 2017-02-17 17:39:02,992+01 INFO
>  [org.ovirt.engine.core.bll.exportimport.ConvertVmCallback]
> (DefaultQuartzScheduler4) [59adde47] Conversion of VM from external
> environment failed: Job u'cdb31877-3ebb-400d-88da-1f645b1261ae' process
> failed exit-code: 1
> 
> where to find more details regarding reasons for failure? Other files on
> engine or should I see at host side?

There are two places you should look. One is vdsm.log on the host
performing the import. And if you have oVirt 4.1 another place to look
at is /var/log/vdsm/import where the import logs are stored.


> In case I have to import a windows VM ova, which iso should I attach near
> the "Attach VirtIO-Drivers" checkbox? Any "official" iso? I
> downloaded oVirt-toolsSetup-4.1-3.fc24.iso but I don't know if it is the
> right iso for this.

Install virtio-win package somewhere. In it, inside
/usr/share/virtio-win directory, you will find virtio-win-*.iso file.


> Thanks,
> Gianluca


-- 
Tomáš Golembiovský 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Best setup for nfs domain and 1gbs adapters on hosts

2017-02-17 Thread Karli Sjöberg


Den 17 feb. 2017 6:30 em skrev Gianluca Cecchi :
Hello,
I'm going to setup an environment where I will have 2 hosts and each with 2 
adapters to connect to storage domain(s). This will be a test environment, not 
a production one.
The storage domain(s) will be NFS, provided by a Netapp system.
The hosts have 4 x 1Gb/s adapters and I think to use 2 for ovirtmgmt and VMs 
(through bonding and VLANs) and to dedicate the other 2 adapters to the NFS 
domain connectivity.
What would be the best setup to have both HA on the connection and also using 
the whole 2Gb/s in normal load scenario?
Is it better to make more storage domains (and more svm on Netapp side) or only 
one?
What would be the suitable bonding mode to put on adapters? I normally use 
802.3ad provided by the switches, but I'm not sure if in this configuration I 
can use both the network adapters for the overall load of the different VMs 
that I would have in place...

Thanks in advance for every suggestion,

Gianluca

Hey G!

If it was me doing this, I would make one 4x1Gb/s 802.3ad bond on filer and 
hosts to KISS. Then, if bandwidth is of concern, I would set up two VLANs for 
storage interfaces with addresses on separate subnets (10.0.0.1 and 10.0.1.1 on 
filer. 10.0.0.(2,3) and 10.0.1.(2,3) on hosts) and then on the filer set up 
only two NFS exports where you try to as evenly as possible provision your VMs. 
This way the network load would evenly spread over all interfaces for simplest 
config and best fault tolerance, while keeping storage traffic at max 2Gb/s. 
You only need one SVM with several addresses to achieve this. We have our 
VMWare environment set up similar to this towards our NetApp. We also have our 
oVirt environment set up like this, but towards a different NFS storage, with 
great success.

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


[ovirt-users] Best setup for nfs domain and 1gbs adapters on hosts

2017-02-17 Thread Gianluca Cecchi
Hello,
I'm going to setup an environment where I will have 2 hosts and each with 2
adapters to connect to storage domain(s). This will be a test environment,
not a production one.
The storage domain(s) will be NFS, provided by a Netapp system.
The hosts have 4 x 1Gb/s adapters and I think to use 2 for ovirtmgmt and
VMs (through bonding and VLANs) and to dedicate the other 2 adapters to the
NFS domain connectivity.
What would be the best setup to have both HA on the connection and also
using the whole 2Gb/s in normal load scenario?
Is it better to make more storage domains (and more svm on Netapp side) or
only one?
What would be the suitable bonding mode to put on adapters? I normally
use 802.3ad provided by the switches, but I'm not sure if in this
configuration I can use both the network adapters for the overall load of
the different VMs that I would have in place...

Thanks in advance for every suggestion,

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


[ovirt-users] ova conversion errors: where to search?

2017-02-17 Thread Gianluca Cecchi
Hello,
testing some VMware ova imports.
In a test that I'm doing I get failure in conversion; in engine.log

2017-02-17 17:39:02,992+01 INFO
 [org.ovirt.engine.core.bll.exportimport.ConvertVmCallback]
(DefaultQuartzScheduler4) [59adde47] Conversion of VM from external
environment failed: Job u'cdb31877-3ebb-400d-88da-1f645b1261ae' process
failed exit-code: 1

where to find more details regarding reasons for failure? Other files on
engine or should I see at host side?

In case I have to import a windows VM ova, which iso should I attach near
the "Attach VirtIO-Drivers" checkbox? Any "official" iso? I
downloaded oVirt-toolsSetup-4.1-3.fc24.iso but I don't know if it is the
right iso for this.

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


Re: [ovirt-users] VNC console extremely slow on windows 10

2017-02-17 Thread Michal Skrivanek

> On 17 Feb 2017, at 14:34, Nelson Lameiras  
> wrote:
> 
> Yaniv,
> 
> I've done some extensive investigation, and my conclusions so far bring some 
> new light to this issue :
> 
> As you have hinted, this is not a problem related to windows 10, as I was 
> able to reproduce it with any laptop/system with windows 7 or 10. In fact, I 
> do not find any evidence that VNC console works OK with any windows (maybe is 
> our hardware?? => we use DELL). I'm not sure anymore it did work in the 
> past...
> 
> This is a problem related only with VNC consoles on virtual machines using 
> windows client. SPICE works great under windows. VNC console works OK with 
> remote viewer under centos.
> 
> I found out something interesting : as I said, console is so slow that it 
> bearebly useable (1 refresh every 10 seconds) but if I alt+tab twice (change 
> focus off and on) it will refresh immediatly. This seems to me as a client 
> issue... not a oVirt issue. So maybe I should take this issue with remote 
> viewer team ?

sounds like a good idea, SPICE people will be likely able to help

> 
> To answer your last question : "What oVirt installation needs VNC? " Indeed, 
> oVirt hosted-engine installation needs a console and it proposes VNC and 
> SPICE (vnc is default). SPICE console asks for a certificate configuration 
> that I did not spent the necessary time to make it work as VNC works right 
> out of the box (even if there is the refresh rate problem).

ok, we’re finally adding  headless VM option, but indeed for now you do not 
have any better choice for HE. But at least you do not really have to use it, 
right? You should be able to work with it over ssh.

Thanks,
michal

> 
> any information or hint to find a solution would be appreciated. thanks
> 
> cordialement, regards,
> 
> 
>  
> Nelson LAMEIRAS
> Ingénieur Systèmes et Réseaux / Systems and Networks engineer
> Tel: +33 5 32 09 09 70
> nelson.lamei...@lyra-network.com 
> www.lyra-network.com  | www.payzen.eu 
> 
>  
> 
>  
> 
>  
>  
> Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE
> 
> 
> From: "Yaniv Kaul" 
> To: "Nelson Lameiras" 
> Cc: "Ovirt Users" 
> Sent: Monday, February 13, 2017 7:21:36 PM
> Subject: Re: [ovirt-users] VNC console extremely slow on windows 10
> 
> 
> 
> On Mon, Feb 13, 2017 at 7:24 PM, Nelson Lameiras 
> > 
> wrote:
> Hello,
> 
> Since my company laptop has been migrated to from windows 7 to windows 10, 
> launching a console on oVirt 4.0 (and 4.1) VMs which are configured with VNC 
> graphics is extremely slow (around one refresh every 10 seconds). This is 
> painfully slow and barely usable. The same console on SPICE graphics works 
> perfectly.
> 
> So you suspect the issue is on the client side? Can you verify with a Windows 
> 7 laptop that the performance is good?
>  
> 
> This is specially annoying since oVirt engine installation console works only 
> with VNC in my build. I'm installing oVirt 4.1 on a test cluster, this makes 
> my life very hard :(
> 
> What oVirt installation needs VNC? 
>  Y.
> 
> 
> So, now I'm not sure this is an issue with oVirt, remote-viewer (for windows) 
> or windows 10.
> 
> Does anybody else have this problem? any advice?
> 
> cordialement, regards,
> 
> 
>  
> Nelson LAMEIRAS
> Ingénieur Systèmes et Réseaux / Systems and Networks engineer
> Tel: +33 5 32 09 09 70 
> nelson.lamei...@lyra-network.com 
> www.lyra-network.com  | www.payzen.eu 
> 
>  
> 
>  
> 
>  
>  
> Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE
> 
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] VNC console extremely slow on windows 10

2017-02-17 Thread Nelson Lameiras
Yaniv, 

I've done some extensive investigation, and my conclusions so far bring some 
new light to this issue : 

As you have hinted, this is not a problem related to windows 10, as I was able 
to reproduce it with any laptop/system with windows 7 or 10. In fact, I do not 
find any evidence that VNC console works OK with any windows (maybe is our 
hardware?? => we use DELL). I'm not sure anymore it did work in the past... 

This is a problem related only with VNC consoles on virtual machines using 
windows client. SPICE works great under windows. VNC console works OK with 
remote viewer under centos. 

I found out something interesting : as I said, console is so slow that it 
bearebly useable (1 refresh every 10 seconds) but if I alt+tab twice (change 
focus off and on) it will refresh immediatly. This seems to me as a client 
issue... not a oVirt issue. So maybe I should take this issue with remote 
viewer team ? 

To answer your last question : "What oVirt installation needs VNC? " Indeed, 
oVirt hosted-engine installation needs a console and it proposes VNC and SPICE 
(vnc is default). SPICE console asks for a certificate configuration that I did 
not spent the necessary time to make it work as VNC works right out of the box 
(even if there is the refresh rate problem). 

any information or hint to find a solution would be appreciated. thanks 

cordialement, regards, 


Nelson LAMEIRAS 
Ingénieur Systèmes et Réseaux / Systems and Networks engineer 
Tel: +33 5 32 09 09 70 
nelson.lamei...@lyra-network.com 

www.lyra-network.com | www.payzen.eu 





Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE 



From: "Yaniv Kaul"  
To: "Nelson Lameiras"  
Cc: "Ovirt Users"  
Sent: Monday, February 13, 2017 7:21:36 PM 
Subject: Re: [ovirt-users] VNC console extremely slow on windows 10 



On Mon, Feb 13, 2017 at 7:24 PM, Nelson Lameiras < 
nelson.lamei...@lyra-network.com > wrote: 



Hello, 

Since my company laptop has been migrated to from windows 7 to windows 10, 
launching a console on oVirt 4.0 (and 4.1) VMs which are configured with VNC 
graphics is extremely slow (around one refresh every 10 seconds). This is 
painfully slow and barely usable. The same console on SPICE graphics works 
perfectly. 



So you suspect the issue is on the client side? Can you verify with a Windows 7 
laptop that the performance is good? 


BQ_BEGIN


This is specially annoying since oVirt engine installation console works only 
with VNC in my build. I'm installing oVirt 4.1 on a test cluster, this makes my 
life very hard :( 

BQ_END

What oVirt installation needs VNC? 
Y. 


BQ_BEGIN


So, now I'm not sure this is an issue with oVirt, remote-viewer (for windows) 
or windows 10. 

Does anybody else have this problem? any advice? 

cordialement, regards, 


Nelson LAMEIRAS 
Ingénieur Systèmes et Réseaux / Systems and Networks engineer 
Tel: +33 5 32 09 09 70 

nelson.lamei...@lyra-network.com 

www.lyra-network.com | www.payzen.eu 





Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE 


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


BQ_END


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


Re: [ovirt-users] How to manage to update the Quota limits parameters (cpu, memory and disk)

2017-02-17 Thread Juan Hernández
On 02/17/2017 01:21 PM, Manuel Luis Aznar wrote:
> Hello there,
> 
> I want to update the quota limit parameters for vcpu, memory and disk,
> but I dont find the way.
> 
> I manage to get the actual values but I am unable to manage how to
> update this values.
> 
> I am doing the following (I ommit the imports and conection stuff):
> 
>   system_service = connection.system_service()
> 
>   data_centers_service = system_service.data_centers_service()
> 
>   data_center = data_centers_service.list(search='name=Prueba2')[0]
> 
>   data_center_service =
> data_centers_service.data_center_service(id=data_center.id
> )
> 
>   quotas_service = data_center_service.quotas_service()
> 
>   quota = quotas_service.list()[0]
> 
>   quota_service = quotas_service.quota_service(id=quota.id
> )
> 
>   quota_cluster_limits_service =
> quota_service.quota_cluster_limits_service()
> 
>   quotaclusterlimit = quota_cluster_limits_service.list()[0]
> 
>   quota_storage_limits_service =
> quota_service.quota_storage_limits_service()
> 
> quotastoragelimit = quota_storage_limits_service.list()[0]
> 
> if after that I print the following:
>   quotaclusterlimit.memory_limit
>   quotaclusterlimit.vcpu_limit
>   quotastoragelimit.limit
> 
> i see the actual values of the limits, but, I m not able to update that
> values (I have been testing on how to do it). It seems that the only
> method that let you update anything on a quota is using:
> 
>quota_service.add(quota=...)
> 
> I start creating a new quota object with these new limits by doing the
> following:
> 
>   new_quotastoragelimit = ovirtsdk4.types.QuotaStorageLimit(limit=100)
>   new_quotaclusterlimit =
> ovirtsdk4.types.QuotaClusterLimit(memory_limit=100,vcpu_limit=10)
> 
>   new_quota =
> ovirtsdk4.types.Quota(quota_cluster_limits=new_quotaclusterlimit,
> quota_storage_limits=new_quotastoragelimit)
> 
>   quota_service.update(quota=new_quota)
> 
> I have directly tried to edit the printed values directly and then doing
> the update but I got nothing (got event in the engine but the limit did
> not change)
> 
>   quotaclusterlimit.memory_limit =100
>   quotaclusterlimit.vcpu_limit = 10
>   quotastoragelimit.limit = 100
>   quota_service.update(quota=quota) # updating quota with itself
> 
> I suppose that there would be a way on how to this, so if you can help,
> i will really appreciate you.
> 
> Thanks for all in advance to all
> Manuel
> 

The API doesn't currently have a method to update a quota limit, so you
will have to remove the existing one and add a new one. For example, if
you want to change the storage quota of the 'mydata' storage domain to
100 GiB, you can do something like this:

---8<---
# Find the reference to the root of services:
system_service = connection.system_service()

# Find the data center and the service that manages it:
dcs_service = system_service.data_centers_service()
dc = dcs_service.list(search='name=mydc')[0]
dc_service = dcs_service.data_center_service(dc.id)

# Find the storage domain and the service that manages it:
sds_service = system_service.storage_domains_service()
sd = sds_service.list(search='name=mydata')[0]
sd_service = sds_service.storage_domain_service(sd.id)

# Find the quota and the service that manages it. Note that the service
# that manages the quota doesn't support search, so we need to retrieve
# all the quotas and filter explicitly. If the quota doesn't exist,
# create it.
quotas_service = dc_service.quotas_service()
quotas = quotas_service.list()
quota = next(
(q for q in quotas if q.name == 'myquota'),
None
)
if quota is None:
quota = quotas_service.add(
quota=types.Quota(
name='myquota',
description='My quota',
cluster_hard_limit_pct=20,
cluster_soft_limit_pct=80,
storage_hard_limit_pct=20,
storage_soft_limit_pct=80
)
)
quota_service = quotas_service.quota_service(quota.id)

# Find the quota limits for the storage domain that we are interested
# on. If that limit exists we will delete it, and create it again with
# the desired limit, in this example it will be 100 GiB.
limits_service = quota_service.quota_storage_limits_service()
limits = limits_service.list()
limit = next(
(l for l in limits if l.id == sd.id),
None
)
if limit is not None:
limit_service = limits_service.limit_service(limit.id)
limit_service.remove()
limit = limits_service.add(
limit=types.QuotaStorageLimit(
name='mydatalimit',
description='My storage domain limit',
limit=100,
storage_domain=types.StorageDomain(
id=sd.id
)
),
)
--->8---

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


[ovirt-users] How to manage to update the Quota limits parameters (cpu, memory and disk)

2017-02-17 Thread Manuel Luis Aznar
Hello there,

I want to update the quota limit parameters for vcpu, memory and disk, but
I dont find the way.

I manage to get the actual values but I am unable to manage how to update
this values.

I am doing the following (I ommit the imports and conection stuff):

  system_service = connection.system_service()

  data_centers_service = system_service.data_centers_service()

  data_center = data_centers_service.list(search='name=Prueba2')[0]

  data_center_service = data_centers_service.data_center_service(id=
data_center.id)

  quotas_service = data_center_service.quotas_service()

  quota = quotas_service.list()[0]

  quota_service = quotas_service.quota_service(id=quota.id)

  quota_cluster_limits_service =
quota_service.quota_cluster_limits_service()

  quotaclusterlimit = quota_cluster_limits_service.list()[0]

  quota_storage_limits_service =
quota_service.quota_storage_limits_service()

quotastoragelimit = quota_storage_limits_service.list()[0]

if after that I print the following:
  quotaclusterlimit.memory_limit
  quotaclusterlimit.vcpu_limit
  quotastoragelimit.limit

i see the actual values of the limits, but, I m not able to update that
values (I have been testing on how to do it). It seems that the only method
that let you update anything on a quota is using:

   quota_service.add(quota=...)

I start creating a new quota object with these new limits by doing the
following:

  new_quotastoragelimit = ovirtsdk4.types.QuotaStorageLimit(limit=100)
  new_quotaclusterlimit =
ovirtsdk4.types.QuotaClusterLimit(memory_limit=100,vcpu_limit=10)

  new_quota =
ovirtsdk4.types.Quota(quota_cluster_limits=new_quotaclusterlimit,
quota_storage_limits=new_quotastoragelimit)

  quota_service.update(quota=new_quota)

I have directly tried to edit the printed values directly and then doing
the update but I got nothing (got event in the engine but the limit did not
change)

  quotaclusterlimit.memory_limit =100
  quotaclusterlimit.vcpu_limit = 10
  quotastoragelimit.limit = 100
  quota_service.update(quota=quota) # updating quota with itself

I suppose that there would be a way on how to this, so if you can help, i
will really appreciate you.

Thanks for all in advance to all
Manuel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VMs are not running/booting on one host

2017-02-17 Thread Peter Hudec
As I'm deeping into the problem, your is described here

o   Booting Linux using a console connection that is too slow to
keep up with the boot-time console-message rate.  For example,
a 115Kbaud serial console can be -way- too slow to keep up
with boot-time message rates, and will frequently result in
RCU CPU stall warning messages.  Especially if you have added
debug printk()s.

https://www.kernel.org/doc/Documentation/RCU/stallwarn.txt

Peter

On 16/02/2017 06:09, Karli Sjöberg wrote:
> 
> Den 15 feb. 2017 9:06 em skrev Peter Hudec :
>>
>> Hi,
>>
>> so theproblem is little bit different. When I wait for a long time, the
>> VM boots ;(
> 
> Does the VM have VirtIO serial console activated? I had the same problem
> and removing that fixed it.
> 
> /K
> 
>>
>> But ... /see the log/. I'm invetigating the reason.
>> The difference between the dipovirt0{1,2} and the dipovirt03 isthe
>> installation time. The first 2 was migrated last week, the last one
>> yesterday. There some newer packages, but nothing related to KVM.
>>
>> [  292.429622] INFO: rcu_sched self-detected stall on CPU { 0}  (t=72280
>> jiffies g=393 c=392 q=35)
>> [  292.430294] sending NMI to all CPUs:
>> [  292.430305] NMI backtrace for cpu 0
>> [  292.430309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.16.0-4-amd64
>> #1 Debian 3.16.39-1
>> [  292.430311] Hardware name: oVirt oVirt Node, BIOS 0.5.1 01/01/2011
>> [  292.430313] task: 8181a460 ti: 8180 task.ti:
>> 8180
>> [  292.430315] RIP: 0010:[]  []
>> native_write_msr_safe+0x6/0x10
>> [  292.430323] RSP: 0018:88001fc03e08  EFLAGS: 0046
>> [  292.430325] RAX: 0400 RBX:  RCX:
>> 0830
>> [  292.430326] RDX:  RSI: 0400 RDI:
>> 0830
>> [  292.430327] RBP: 818e2a80 R08: 818e2a80 R09:
>> 01e8
>> [  292.430329] R10:  R11: 88001fc03b96 R12:
>> 
>> [  292.430330] R13: a0ea R14: 0002 R15:
>> 0008
>> [  292.430335] FS:  () GS:88001fc0()
>> knlGS:
>> [  292.430337] CS:  0010 DS:  ES:  CR0: 8005003b
>> [  292.430339] CR2: 01801000 CR3: 1c6de000 CR4:
>> 06f0
>> [  292.430343] Stack:
>> [  292.430344]  8104b30d 0002 0082
>> 88001fc0d6a0
>> [  292.430347]  81853800  818e2fe0
>> 0023
>> [  292.430349]  81853800 81047d63 88001fc0d6a0
>> 810c73fa
>> [  292.430352] Call Trace:
>> [  292.430354]  
>>
>> [  292.430360]  [] ? __x2apic_send_IPI_mask+0xad/0xe0
>> [  292.430365]  [] ?
>> arch_trigger_all_cpu_backtrace+0xc3/0x140
>> [  292.430369]  [] ? rcu_check_callbacks+0x42a/0x670
>> [  292.430373]  [] ? account_process_tick+0xde/0x180
>> [  292.430376]  [] ? tick_sched_handle.isra.16+0x60/0x60
>> [  292.430381]  [] ? update_process_times+0x40/0x70
>> [  292.430404]  [] ? tick_sched_handle.isra.16+0x20/0x60
>> [  292.430407]  [] ? tick_sched_timer+0x3c/0x60
>> [  292.430410]  [] ? __run_hrtimer+0x67/0x210
>> [  292.430412]  [] ? hrtimer_interrupt+0xe9/0x220
>> [  292.430416]  [] ? smp_apic_timer_interrupt+0x3b/0x50
>> [  292.430420]  [] ? apic_timer_interrupt+0x6d/0x80
>> [  292.430422]  
>>
>> [  292.430425]  [] ? sched_clock_local+0x15/0x80
>> [  292.430428]  [] ? mwait_idle+0xa0/0xa0
>> [  292.430431]  [] ? native_safe_halt+0x2/0x10
>> [  292.430434]  [] ? default_idle+0x19/0xd0
>> [  292.430437]  [] ? cpu_startup_entry+0x374/0x470
>> [  292.430440]  [] ? start_kernel+0x497/0x4a2
>> [  292.430442]  [] ? set_init_arg+0x4e/0x4e
>> [  292.430445]  [] ? early_idt_handler_array+0x120/0x120
>> [  292.430447]  [] ? x86_64_start_kernel+0x14d/0x15c
>> [  292.430448] Code: c2 48 89 d0 c3 89 f9 0f 32 31 c9 48 c1 e2 20 89 c0
>> 89 0e 48 09 c2 48 89 d0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 89 f0 89 f9
>> 0f 30 <31> c0 c3 0f 1f 80 00 00 00 00 89 f9 0f 33 48 c1 e2 20 89 c0 48
>> [  292.430579] Clocksource tsc unstable (delta = -289118137838 ns)
>>
>>
>> On 15/02/2017 20:39, Peter Hudec wrote:
>> > Hi,
>> >
>> > I did already, but not find any suspicious, see attached logs and the
>> > spice screenshot.
>> >
>> > Actually the VM is booting, but is stacked in some  bad state.
>> > When migrating, the migration is sucessfull, but the vm is not acessible
>> > /even on network/
>> >
>> > Right now I found one VM, which is working well.
>> >
>> > In logs look for diplci01 at 2017-02-15 20:23:00,420, the VM ID is
>> > 7ddf349b-fb9a-44f4-9e88-73e84625a44e
>> >
>> >thanks
>> >Peter
>> >
>> > On 15/02/2017 19:40, Nir Soffer wrote:
>> >> On Wed, Feb 15, 2017 at 8:11 PM, Peter Hudec  wrote:
>> >>> Hi,
>> >>>
>> >>> I'm preparing to migrate from 3.5 to 3.6
>> >>> The first step is the CentOS6 -> CentOS7 for hosts.
>> >>>

Re: [ovirt-users] HA and poweroff of VM

2017-02-17 Thread Michal Skrivanek

> On 17 Feb 2017, at 11:29, Gianluca Cecchi  wrote:
> 
> Hello,
> after setting a VM as HA I run poweroff from inside the VM.
> Is it supposed to be automatically restarted in this scenario with oVirt 4.1?

no, not in case of user initiated shutdown. The feature is intended to 
unplanned poweroffs, crashes and such.

> 
> In engine I see:
> 
> VM c7service is down. Exit message: User shut down from within the guest
> 
> Apparently no restart
> 
> How to test eventually HA functionality?

kill the qemu process on host

Thanks,
michal

> Tanks,
> Gianluca
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


[ovirt-users] HA and poweroff of VM

2017-02-17 Thread Gianluca Cecchi
Hello,
after setting a VM as HA I run poweroff from inside the VM.
Is it supposed to be automatically restarted in this scenario with oVirt
4.1?

In engine I see:

VM c7service is down. Exit message: User shut down from within the guest

Apparently no restart

How to test eventually HA functionality?
Tanks,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change Vlan ID's which are connected to the Host/VM's

2017-02-17 Thread Matt .
OK, I just found out that it's not possible to change the network name
when the network is attached to VM's as well. I wonder why that is
because for VM's it's only DB stuff being done.

Can't this be changed ?

Thanks,

Matt

2017-02-16 13:58 GMT+01:00 Matt . :
> Hi,
>
> OK good to know. Why would it not be possible to change the name as
> well ? I think it's not that difficult in the same command ?
>
> Cheers,
>
> Matt
>
> 2017-02-16 13:54 GMT+01:00 Michael Burman :
>> Hi Matt
>>
>> Are you trying to change the network's name? if this is the case, then it
>> doesn't allowed while network is attached to host/s.
>>
>> Yes, it is a bug in the error message when trying to rename network while it
>> is attached to multiple hosts. I will report a bug for this issue.
>>
>> Thanks!
>>
>> On Thu, Feb 16, 2017 at 2:41 PM, Matt .  wrote:
>>>
>>> Hi Micheal,
>>>
>>> I trying pro process the change the issue is that I still get the
>>> message (with some variable bug in it) that some hosts have the
>>> logical network in usage. Is this Only on the name of the network ?
>>>
>>> I'm on Ovirt 4.0.6
>>>
>>> Error while executing action: Cannot edit Network. This logical
>>> network is used by hosts:
>>> (${ACTION_TYPE_FAILED_NETWORK_IN_ONE_USE_LIST_COUNTER}):
>>> ${ACTION_TYPE_FAILED_NETWORK_IN_ONE_USE_LIST}
>>> - Please detach hosts using this logical network and try again.
>>>
>>> Thanks,
>>>
>>> Matt
>>>
>>> 2017-02-15 9:46 GMT+01:00 Matt . :
>>> > HI Micheal,
>>> >
>>> > Thanks! it looks like it's what I need, checking out!
>>> >
>>> > Thank you very much!
>>> >
>>> > Matt
>>> >
>>> > 2017-02-15 7:12 GMT+01:00 Michael Burman :
>>> >> Check this feature page as well)
>>> >>
>>> >>
>>> >> http://www.ovirt.org/develop/release-management/features/network/multihostnetworkconfiguration/
>>> >>
>>> >>
>>> >>
>>> >> On Wed, Feb 15, 2017 at 8:06 AM, Michael Burman 
>>> >> wrote:
>>> >>>
>>> >>> Hello Matt
>>> >>>
>>> >>> Yes, there is a way, it can be done as part of our MultiHost Network
>>> >>> feature(since 3.4).
>>> >>> If you have the same logical network attached to multiple hosts in
>>> >>> your
>>> >>> DC, you can update their vlan IDs via the 'Networks' main tab and this
>>> >>> will
>>> >>> send a setup networks command through all of your hosts in the DC and
>>> >>> update
>>> >>> the logical network with the new vlan ID.
>>> >>> - Note that this can be done when the VMs are running on the host/s as
>>> >>> well.
>>> >>>
>>> >>> Good luck)
>>> >>>
>>> >>> On Tue, Feb 14, 2017 at 11:51 PM, Matt . 
>>> >>> wrote:
>>> 
>>>  Hi Guys,
>>> 
>>>  Is there a way to change Vlan ID's which are connected to the Hosts
>>>  when the VM's on it are down ?
>>> 
>>>  As i need to change a lot of them it would be create if the engine
>>>  can
>>>  perform some process which allows me to hammer my hosts with the new
>>>  vlan ID's for their bridges.
>>> 
>>>  I hope someone has an idea.
>>> 
>>>  Thanks!
>>> 
>>>  Matt
>>>  ___
>>>  Users mailing list
>>>  Users@ovirt.org
>>>  http://lists.ovirt.org/mailman/listinfo/users
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Michael Burman
>>> >>> RedHat Israel, RHV-M Network QE
>>> >>>
>>> >>> Mobile: 054-5355725
>>> >>> IRC: mburman
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Michael Burman
>>> >> RedHat Israel, RHV-M Network QE
>>> >>
>>> >> Mobile: 054-5355725
>>> >> IRC: mburman
>>
>>
>>
>>
>> --
>> Michael Burman
>> RedHat Israel, RHV-M Network QE
>>
>> Mobile: 054-5355725
>> IRC: mburman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] What is the libcacard-ev.x86_64 ??

2017-02-17 Thread Arman Khalatyan
Ok looks it is working, now we have no ovirt-4.0 packages after update.

[root@cloud03 ~]# yum install centos-release-qemu-ev
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.rrzn.uni-hannover.de
 * extras: ftp.halifax.rwth-aachen.de
 * ovirt-4.1: ftp.nluug.nl
 * ovirt-4.1-epel: ftp.fau.de
 * updates: centos.mirrors.psw.services
Resolving Dependencies
--> Running transaction check
---> Package centos-release-qemu-ev.noarch 0:1.0-1.el7 will be installed
--> Processing Dependency: centos-release-virt-common for package:
centos-release-qemu-ev-1.0-1.el7.noarch
--> Running transaction check
---> Package centos-release-virt-common.noarch 0:1-1.el7.centos will be
installed
--> Finished Dependency Resolution

Dependencies Resolved

==
 Package
Arch  Version
Repository Size
==
Installing:
 centos-release-qemu-ev
noarch1.0-1.el7
extras 11 k
Installing for dependencies:
 centos-release-virt-common
noarch1-1.el7.centos
extras4.5 k

Transaction Summary
==
Install  1 Package (+1 Dependent package)

Total download size: 15 k
Installed size: 19 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2):
centos-release-virt-common-1-1.el7.centos.noarch.rpm
| 4.5 kB  00:00:00
(2/2):
centos-release-qemu-ev-1.0-1.el7.noarch.rpm
|  11 kB  00:00:00
--
Total
133 kB/s |  15 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing :
centos-release-virt-common-1-1.el7.centos.noarch
1/2
  Installing :
centos-release-qemu-ev-1.0-1.el7.noarch
2/2
  Verifying  :
centos-release-virt-common-1-1.el7.centos.noarch
1/2
  Verifying  :
centos-release-qemu-ev-1.0-1.el7.noarch
2/2

Installed:
  centos-release-qemu-ev.noarch
0:1.0-1.el7


Dependency Installed:
  centos-release-virt-common.noarch
0:1-1.el7.centos


Complete!
[root@cloud03 ~]# yum update
Loaded plugins: fastestmirror
centos-qemu-ev
| 2.9 kB  00:00:00
centos-qemu-ev/7/x86_64/primary_db
|  50 kB  00:00:00
Loading mirror speeds from cached hostfile
 * base: ftp.rrzn.uni-hannover.de
 * extras: ftp.halifax.rwth-aachen.de
 * ovirt-4.1: ftp.nluug.nl
 * ovirt-4.1-epel: ftp.fau.de
 * updates: centos.mirrors.psw.services
Resolving Dependencies
--> Running transaction check
---> Package libcacard-ev.x86_64 10:2.3.0-31.el7.16.1 will be updated
---> Package libcacard-ev.x86_64 10:2.3.0-31.0.el7_2.21.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==
 PackageArch
Version
RepositorySize
==
Updating:
 libcacard-ev   x86_64
10:2.3.0-31.0.el7_2.21.1
centos-qemu-ev   237 k

Transaction Summary
==
Upgrade  1 Package

Total download size: 237 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning:
/var/cache/yum/x86_64/7/centos-qemu-ev/packages/libcacard-ev-2.3.0-31.0.el7_2.21.1.x86_64.rpm:
Header V4 RSA/SHA1 Signature, key ID 61e8806c: NOKEY
Public key for libcacard-ev-2.3.0-31.0.el7_2.21.1.x86_64.rpm is not
installed
libcacard-ev-2.3.0-31.0.el7_2.21.1.x86_64.rpm
| 237 kB  00:00:00
Retrieving key from
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization
Importing GPG key 0x61E8806C:
 Userid : "CentOS Virtualization SIG (
http://wiki.centos.org/SpecialInterestGroup/Virtualization) <
secur...@centos.org>"
 Fingerprint: a7c8 e761 309d 2f1c 92c5 0b62 7aeb be82 61e8 806c
 Package: centos-release-virt-common-1-1.el7.centos.noarch (@extras)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   :
10:libcacard-ev-2.3.0-31.0.el7_2.21.1.x86_64
1/2
  Cleanup  

Re: [ovirt-users] What is the libcacard-ev.x86_64 ??

2017-02-17 Thread Sandro Bonazzola
On Thu, Feb 16, 2017 at 3:35 PM, Sandro Bonazzola 
wrote:

>
>
> On Thu, Feb 16, 2017 at 3:33 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Thu, Feb 16, 2017 at 2:38 PM, Miroslav Rezanina 
>> wrote:
>>
>>>
>>> > >
>>> > How to solve on already installed hosts?
>>> > [root@ractor ~]# yum install libcacard
>>>
>>> What happened when you try yum update libcacard?
>>>
>>
>> It was the first try I executed. Nothing to be updated
>>
>> - with yum update libcacard
>> Package(s) libcacard available, but not installed.
>> No packages marked for update
>>
>> - with yum update libcacard-ev
>> No packages marked for update
>>
>
> Give me a couple of days, I'll fix this.
>

Can you please test the fix?

# yum install centos-release-qemu-ev
# yum-config-manager --enable centos-qemu-ev-test
# yum update

If libcacard has not yet reached
https://buildlogs.centos.org/centos/7/virt/x86_64/kvm-common/ , please use
https://cbs.centos.org/repos/virt7-kvm-common-testing/x86_64/os/ instead





>
>
>>
>> Gianluca
>>
>>
>>
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>



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