[ovirt-users] oVirt 4.0.2 RC

2016-08-11 Thread Fernando Fuentes
So I went to do an update to my ovirt system and found that the RC is
coming down to my production box... IE: 4.0.2

I did a repo list and found - centos-ovirt40-candidate


Than found that 4.0.2 its also coming down from the ovirt-4.0 repo...

 ovirt-engine-sdk-python  noarch  3.6.8.0-1.el7 
   centos-ovirt40-candidate  480 k
 ovirt-release40noarch  4.0.2-2 
 ovirt-4.0  
 8.3 k
 ovirt-vmconsole noarch  1.0.4-1.el7
   centos-ovirt40-candidate   29 k
 ovirt-vmconsole-proxy noarch  1.0.4-1.el7  
 centos-ovirt40-candidate   17 k
 python-ovirt-engine-sdk4x86_64  4.0.0-0.5.a5.el7   
   centos-ovirt40-candidate  308 k

Is this safe to upgrade?

Regards,

-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt4.0.1 and new node, migration fails

2016-08-11 Thread Bill James

just fyi, I tried updating to ovirt-engine-4.0.2.6-1.el7.centos.noarch
and still same story, it won't let me select a specific host to deploy a 
VM to, and doesn't tell me why not.


However I can migrate the VM from one node to the other one just fine.

Any ideas why?

I provided logs earlier.



On 08/03/2016 02:32 PM, Bill James wrote:

opened bug 1363900.
It also includes recent logs from all 3 servers.

Also tried updating vdsm to 4.18.10-1 and restarted ovirt-engine.
No change in results.

I can migrate VMs to new node but not initially assign VMs to that node.


On 07/29/2016 09:31 AM, Bill James wrote:
ok, I will raise a bug. Yes it is very frustrating just having button 
not work without explanation.
I don't know if this is related, the new host that I am having 
troubles with is running 4.0.1.1-1,

other other host is running 4.0.0.6-1

I was planning on migrating VMs then upgrade the older host.
Also Cluster is still in 3.6 mode, also waiting for upgrade of older 
node.

All storage domains are on older node, its the NFS server.


hmm, just retried migration so I could get vdsm logs from both hosts.
1 VM worked, the other 3 failed.
And I still can't assign VMs to new node.

VM that worked: f4cd4891-977d-44c2-8554-750ce86da7c9

Not sure what's special about it.
It and 45f4f24b-2dfa-401b-8557-314055a4662c are clones from same 
template.



Attaching logs from 2 nodes and engine now.



On 7/29/16 4:00 AM, Michal Skrivanek wrote:

On 28 Jul 2016, at 18:37, Bill James  wrote:

I'm trying to test out ovirt4.0.1.
I added a new hardware node to the cluster. Its status is Up.
But for some reason when I create a new VM and try to select 
"Specific Host" the radio button doesn't let me select it so I 
can't assign a VM to new node.

please raise that as a bug if there is no explanation why


When I try to migrate a VM to new node it fails with:

MigrationError: Domain not found: no domain with matching uuid 
'45f4f24b-2dfa-401b-8557-314055a4662c'



What did I miss?
for migration issues you always need to include vdsm logs from both 
source and destination host. Hard to say otherwise. Anything special 
about your deployment?



ovirt-engine-4.0.1.1-1.el7.centos.noarch
vdsm-4.18.6-1.el7.centos.x86_64

storage is NFS.

Attached logs.

___ 


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] Missing vdsm-vhostmd-hook for oVirt 4.x

2016-08-11 Thread Arsène Gschwind

Thanks a lot for the information and for your great job.

Regards,
Arsène

On 08/11/2016 08:13 PM, Sandro Bonazzola wrote:


There's a patch on vdsm master which is pending merge to re add it. In 
4.0.3 it should be back.



Il 09/Ago/2016 19:40, "Arsène Gschwind" > ha scritto:


Hi,

I'm missing vdsm-vhostmd-hook for oVirt 4, will this hook not be
available for this version?

Regards,
Arsène

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




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


Re: [ovirt-users] oVirt upgrade

2016-08-11 Thread Yedidyah Bar David
On Thu, Aug 11, 2016 at 5:02 PM, Gianluca Cecchi
 wrote:
>
> On Wed, Aug 10, 2016 at 12:38 PM, Yedidyah Bar David 
> wrote:
>>
>>
>> >
>> > Ok, thanks for the update and clarifications.
>> > From an operational point of view, what will change?
>> > RIght now, in 4.0, if I select Default cluster and try to edit it and
>> > upgrade its Compatibility Version to 4.0, it seems I don't get any
>> > message
>> > in the gui, or at least I don't see it; it's something similar to when
>> > you
>> > have sort of syntactical or incomplete error in your input) ...
>> > and in engine.log I see
>> > 2016-08-10 11:59:43,780 WARN
>> > [org.ovirt.engine.core.bll.storage.pool.UpdateStoragePoolCommand]
>> > (default
>> > task-11) [6f626a79] Validation of action 'UpdateStoragePool' failed for
>> > user
>> > admin@internal-authz. Reasons:
>> > VAR__TYPE__STORAGE__POOL,VAR__ACTION__UPDATE,$ClustersList
>> >
>> > Default,ERROR_CANNOT_UPDATE_STORAGE_POOL_COMPATIBILITY_VERSION_BIGGER_THAN_CLUSTERS
>> >
>> > Instead in 4.0.2 it should allow me to do it so that I should see all
>> > running VMs, inlcluded the hosted engine VM, marked with configuration
>> > change needed symbol?
>>
>> That's what I understand too.
>>
>> > In this case for engine VM would it be sufficient to run something like
>> > thsi
>> > to commit its modifications?
>> >
>> > hosted-engine --set-maintenance --mode=global
>> > shutdown engine VM from os console
>> > hosted-engine --set-maintenance --mode=none
>> > verify engine VM is automatically started and without the flag about
>> > configuration changes needed?
>>
>> Looks ok to me, didn't try this myself.
>>
>> Best,
>> --
>> Didi
>
>
> Hello,
> so I upgraded from 4.0 to 4.0.2 RC4 both engine and host.
> I successfully verified the cluster upgrade workflow; see here the dialogue:
> https://drive.google.com/file/d/0BwoPbcrMv8mvSVFFVzE5RTh5ZFU/view?usp=sharing
>
> Then the virtual machines pane appears like this:
> https://drive.google.com/file/d/0BwoPbcrMv8mvTXFnTDFVSllPaVk/view?usp=sharing
>
> Tried to start a previously powered off VM and it appears running without
> mark.
> Tried to shutdown and then powered on a VM with the configuration mark (c6
> VM) and after correct start it doesn't have it
>
> The only doubt is related to hosted engine VM... it doesn't show any mark
> ... does this mean that actually I don't need to shutdown and power on the
> engine VM itself or is it an error that no configuration message icon is
> shown aside of engine VM?

Not sure, adding Michal.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] edit gluster storage domain

2016-08-11 Thread Edward Clay
Looks like I found the answer.

http://200.1.19.60/ovirt-engine/docs/manual/en_US/html/Administration_Guide/sect-Storage_Tasks.html



On 08/11/2016 12:38 PM, Nir Soffer wrote:
> On Thu, Aug 11, 2016 at 9:22 PM, Edward Clay  wrote:
>> Hello,  I need to edit a glusterfs storage domain to add the mount
>> option " backupvolfile-server=SERVER" So when the primary servers IP is
>> not accessible the remaining servers will be used to retrieve data
>> stored on the gluster volume.  Right now when I try to edit the storage
>> domain the mount options box is grayed out and not editable.  I recently
>> had to take all vms down so I put the HV in maintenance mode and the
>> edit options wasn't present.
>>
>>
>> I need to understand if this is the correct option to make a glusterfs
>> volume fault tolerant?
> Yes.
>
>> Also I need to understand how to make this edit in the ovirt web
>> interface or other method.
> You need to put the storage domain in maintenance mode, and then
> you can edit the gluster mount options.
>
> This requires either shutting down all the vms using this storage, or
> if you cannot afford any downtime, you can live-migrate the disks to
> another storage domain, edit gluster options, and live-migrate the disks
> back.
>
> Nir

-- 
Best regards,
Edward Clay
Systems Administrator
UK2 Group - US Operations
Phone: 1-800-222-2165
FAX: 435-755-3449
E-mail: edward.c...@uk2group.com
 
Believe in Better Hosting
http://www.westhost.com

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


Re: [ovirt-users] edit gluster storage domain

2016-08-11 Thread Edward Clay
Thanks for the prompt reply.  I'm still a bit new to ovirt, so how do I
actually put the storage domain into maintenance mode in v3.6.7.5-1?


On 08/11/2016 12:38 PM, Nir Soffer wrote:
> On Thu, Aug 11, 2016 at 9:22 PM, Edward Clay  wrote:
>> Hello,  I need to edit a glusterfs storage domain to add the mount
>> option " backupvolfile-server=SERVER" So when the primary servers IP is
>> not accessible the remaining servers will be used to retrieve data
>> stored on the gluster volume.  Right now when I try to edit the storage
>> domain the mount options box is grayed out and not editable.  I recently
>> had to take all vms down so I put the HV in maintenance mode and the
>> edit options wasn't present.
>>
>>
>> I need to understand if this is the correct option to make a glusterfs
>> volume fault tolerant?
> Yes.
>
>> Also I need to understand how to make this edit in the ovirt web
>> interface or other method.
> You need to put the storage domain in maintenance mode, and then
> you can edit the gluster mount options.
>
> This requires either shutting down all the vms using this storage, or
> if you cannot afford any downtime, you can live-migrate the disks to
> another storage domain, edit gluster options, and live-migrate the disks
> back.
>
> Nir

-- 
Best regards,
Edward Clay
Systems Administrator
UK2 Group - US Operations
Phone: 1-800-222-2165
FAX: 435-755-3449
E-mail: edward.c...@uk2group.com
 
Believe in Better Hosting
http://www.westhost.com

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


Re: [ovirt-users] edit gluster storage domain

2016-08-11 Thread Nir Soffer
On Thu, Aug 11, 2016 at 9:22 PM, Edward Clay  wrote:
> Hello,  I need to edit a glusterfs storage domain to add the mount
> option " backupvolfile-server=SERVER" So when the primary servers IP is
> not accessible the remaining servers will be used to retrieve data
> stored on the gluster volume.  Right now when I try to edit the storage
> domain the mount options box is grayed out and not editable.  I recently
> had to take all vms down so I put the HV in maintenance mode and the
> edit options wasn't present.
>
>
> I need to understand if this is the correct option to make a glusterfs
> volume fault tolerant?

Yes.

> Also I need to understand how to make this edit in the ovirt web
> interface or other method.

You need to put the storage domain in maintenance mode, and then
you can edit the gluster mount options.

This requires either shutting down all the vms using this storage, or
if you cannot afford any downtime, you can live-migrate the disks to
another storage domain, edit gluster options, and live-migrate the disks
back.

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


Re: [ovirt-users] LVM2 Thinprovisioned

2016-08-11 Thread Fernando Frediani

Ok Chris, got what you mean.

Thanks for clarifying.

Fernando


Em 11/08/2016 15:12, Chris Adams escreveu:

Once upon a time, Fernando Frediani  said:

I use LVM2 and Thinprovisioned LVs to put Filesystems and it works
with no issues. It's just a question of handling it correctly to
tell it how to create each storage chunk that way. The same way
those LVs can be used to run VMs as they are in traditional LVM.

Not sure what you mean by cote Linux not supporting it.

To do that with multiple access, you have to be running in clustered LVM
mode, and thin provisioning is not supported with CLVM.


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


[ovirt-users] edit gluster storage domain

2016-08-11 Thread Edward Clay
Hello,  I need to edit a glusterfs storage domain to add the mount
option " backupvolfile-server=SERVER" So when the primary servers IP is
not accessible the remaining servers will be used to retrieve data
stored on the gluster volume.  Right now when I try to edit the storage
domain the mount options box is grayed out and not editable.  I recently
had to take all vms down so I put the HV in maintenance mode and the
edit options wasn't present. 


I need to understand if this is the correct option to make a glusterfs
volume fault tolerant? 


Also I need to understand how to make this edit in the ovirt web
interface or other method.


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


Re: [ovirt-users] Missing vdsm-vhostmd-hook for oVirt 4.x

2016-08-11 Thread Sandro Bonazzola
There's a patch on vdsm master which is pending merge to re add it. In
4.0.3 it should be back.

Il 09/Ago/2016 19:40, "Arsène Gschwind"  ha
scritto:

> Hi,
>
> I'm missing vdsm-vhostmd-hook for oVirt 4, will this hook not be available
> for this version?
>
> Regards,
> Arsène
>
> ___
> 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] LVM2 Thinprovisioned

2016-08-11 Thread Chris Adams
Once upon a time, Fernando Frediani  said:
> I use LVM2 and Thinprovisioned LVs to put Filesystems and it works
> with no issues. It's just a question of handling it correctly to
> tell it how to create each storage chunk that way. The same way
> those LVs can be used to run VMs as they are in traditional LVM.
> 
> Not sure what you mean by cote Linux not supporting it.

To do that with multiple access, you have to be running in clustered LVM
mode, and thin provisioning is not supported with CLVM.
-- 
Chris Adams 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] LVM2 Thinprovisioned

2016-08-11 Thread Fernando Frediani
I use LVM2 and Thinprovisioned LVs to put Filesystems and it works with 
no issues. It's just a question of handling it correctly to tell it how 
to create each storage chunk that way. The same way those LVs can be 
used to run VMs as they are in traditional LVM.


Not sure what you mean by cote Linux not supporting it.

Fernando


Em 11/08/2016 14:43, Chris Adams escreveu:

Once upon a time, Fernando Frediani  said:

Thanks for the answer anyway. Hopefully at least LVM2
Thinprovisioning comes up anytime soon.

This has nothing to do with oVirt; it is something the core Linux LVM
code does not support.  Last time I looked, nobody was working on it
upstream.

You can still thin-provision VMs in oVirt, there's just not a way to
release space if a VM image shrinks significantly.


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


Re: [ovirt-users] time zone

2016-08-11 Thread Fernando Fuentes

To All,

Thanks for the reply. You might be right on the old out dated guest
tools.

Updating them now.

Regards,

-- 
Fernando Fuentes
ffuen...@txweather.org
http://www.txweather.org

On Thu, Aug 11, 2016, at 03:05 AM, Vinzenz Feenstra wrote:
> 
> > On Aug 11, 2016, at 8:39 AM, Michal Skrivanek  
> > wrote:
> > 
> > 
> >> On 10 Aug 2016, at 21:15, Fernando Fuentes  wrote:
> >> 
> >> Team,
> >> 
> >> My vms are coming up with an exclamation mark saying that the guest time
> >> zone differs from the configuration.
> >> 
> >> My linux vms are not doing this. Only my windows vm.
> >> 
> >> On windows I have it set for CST just like the configuration.
> > 
> > sounds ok
> > 
> >> The hosts are on CST as well.
> > 
> > host TZ doesn’t matter, it’s comparing setting in oVirt VM dialog with what 
> > the guest agent sees inside the VM
> > 
> >> Any ideas?
> > 
> > Most often it’s obsolete/old/outdated guest tools 
> or missing
> > 
> > Thanks,
> > michal
> > 
> >> 
> >> This is Ovirt 4.0.1
> >> 
> >> Regards,
> >> 
> >> 
> >> -- 
> >> Fernando Fuentes
> >> ffuen...@txweather.org
> >> http://www.txweather.org
> >> ___
> >> 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] LVM2 Thinprovisioned

2016-08-11 Thread Chris Adams
Once upon a time, Fernando Frediani  said:
> Thanks for the answer anyway. Hopefully at least LVM2
> Thinprovisioning comes up anytime soon.

This has nothing to do with oVirt; it is something the core Linux LVM
code does not support.  Last time I looked, nobody was working on it
upstream.

You can still thin-provision VMs in oVirt, there's just not a way to
release space if a VM image shrinks significantly.
-- 
Chris Adams 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] LVM2 Thinprovisioned

2016-08-11 Thread Fernando Frediani

Really ? That's pretty bad and another downside unfortunately.

The fact that the only option for block storage is LVM (so there is not 
suitable Clustered Filesystem to run QCOW2 files) and now that LVM2 
Thinprovisioned is not supported can be a real issue where 
Thinprovisioned LUNs are not available in the Storage Controller.


Have these topics ever came up in the feature/product management 
meetings are any of them something being considered ?
The same way CPU and Memory overprovision are key features in order to 
justify the overall solution cost Storage Thinprovision equally 
necessary otherwise the Storage stuff end up costing more than half of 
whole platform solution.


Thanks for the answer anyway. Hopefully at least LVM2 Thinprovisioning 
comes up anytime soon.


Fernando


Em 11/08/2016 12:54, Nir Soffer escreveu:

On Tue, Aug 9, 2016 at 3:16 PM, Fernando Frediani
 wrote:

Hello all.

When you use oVirt with a Block Storage the only option available to store
de VMs is LVM.

Does LVM in oVirt use Thinprovisoned (supported in LVM2) instead of having
to use the SAN Thinprovisioned features ?

No, we use regular lvs. thin pool are not supported in a cluster.

Using thin provisioned LUN for ovirt storage domain is the best option
(supported
since 4.0). We discard removed lvs, so you get back the storage on the storage
server and can use it for other thin provisioned LUNs.

Nir


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


Re: [ovirt-users] ovirt-Guest-agent CPU usage

2016-08-11 Thread Tadas

Thank you again. Recompiling to latest ovirt agent solved issue.

-Original Message- 
From: Vinzenz Feenstra

Sent: Thursday, August 11, 2016 4:24 PM
To: Tadas
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage



On Aug 11, 2016, at 3:08 PM, Tadas  wrote:

I've used 
http://resources.ovirt.org/pub/ovirt-3.6/iso/oVirt-toolsSetup/3.6-3/oVirt-toolsSetup_3.6-3.fc23.iso


Well this one has not the fixed issue

But also, i've compiled ovirt guest agent from sources from github and had 
the same result.


The github version starting from March 15th 2016 (master / ovirt-4.0 / 
ovirt-3.6 branches) should actually not cause 100% CPU usage since there’s a 
sleep in case of an error, which seems to be happening here.


So you installed and started it how then? Are you sure that it doesn’t 
execute the other one?




-Original Message- From: Vinzenz Feenstra
Sent: Thursday, August 11, 2016 3:39 PM
To: ta...@ring.lt
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage



On Aug 11, 2016, at 2:20 PM, Tadas  wrote:

Sorry, managed to send corrupted message.

I do not think there's problems with virtio console drivers. I've
installed ovirt guest tools iso from http://resources.ovirt.org/pub.
Also I can read data from ovirt agent on hypervisor side by using
socat:
"socat pathtosocketfile  -"
This gives me all information about VM from ovirtagent. But as soon as
i close reading socket, ovirt agent loops in itself and uses whole
single core. If i socat again - load drops and I can see information
from agent again. So problem is that you allways need to have socket
open for read or write on hypervisor side. If not - ovirt agent will
consume one cpu thread. And this happens only in Windows VM.


Can you please give me the exact version of the ISO you’re using?
I need to determine if you have the fixed one or if there’s another bug, 
the latest version should have this fixed already.




On Thu, 2016-08-11 at 15:13 +0300, Tadas wrote:

"socat pathtosocketfile  -"
This gives me all information about VM from ovirtagent. But as soon
as
i close reading socket, ovirt agent loops in itself and uses whole
single core. If i socat again - load drops and I can see information
from agent again. So problem is that you allways need to have socket
open for read or write on hypervisor side. If not - ovirt agent will
consume one cpu thread. And this happens only in Windows VM.


On Thu, 2016-08-11 at 14:01 +0200, Vinzenz Feenstra wrote:





On Aug 11, 2016, at 12:21 PM, Tadas  wrote:

It seems, that if socket is not opened at hypervisor side, ovirt
agent
starts to loop with loads of "VirtIoCHannel::200::root::Written"
messages per second.


You probably don’t have the virtio drivers for the channel
communication installed

please install the VirtIO Console  drivers on that machine and
restart the agent service




If hypervisor opens ovirt socket, then cpu usage drops to normal
state.
Is this intentional? This does not happen on Linux guest.
On Thu, 2016-08-11 at 13:05 +0300, Tadas wrote:



Hello groups,

we are having problem with ovirt-guest agent on Windows os.
When
started, agent fully utilizes one core (if machine has single
core,
then you will see 100% CPU usage, if there are two cores, then
you
will
get 50% usage etc). Usage does not drop and persists for a
whole
time
ovirt agent is running. This happens on windows 7 32 and 64
versions
and also on windows 10. Have anybody had the same issue?
Thank you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

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



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

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


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


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


Re: [ovirt-users] LVM2 Thinprovisioned

2016-08-11 Thread Nir Soffer
On Tue, Aug 9, 2016 at 3:16 PM, Fernando Frediani
 wrote:
> Hello all.
>
> When you use oVirt with a Block Storage the only option available to store
> de VMs is LVM.
>
> Does LVM in oVirt use Thinprovisoned (supported in LVM2) instead of having
> to use the SAN Thinprovisioned features ?

No, we use regular lvs. thin pool are not supported in a cluster.

Using thin provisioned LUN for ovirt storage domain is the best option
(supported
since 4.0). We discard removed lvs, so you get back the storage on the storage
server and can use it for other thin provisioned LUNs.

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


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-11 Thread Gianluca Cecchi
On Thu, Aug 11, 2016 at 4:40 PM, Amit Aviram  wrote:

>
> On Thu, Aug 11, 2016 at 5:39 PM, Amit Aviram  wrote:
>
>> Due to bug:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1365451
>>
>> There will need to be special configurations to do, in order to run
>> ovirt-imageio-proxy after upgrade. we are making best efforts to publish
>> this fix asap
>>
>
> ​(patch is merged in master, will be available in the next build)​
>
>
>>
>>
Ok, I read the bug. for the missing pki. In fact in conf file I see
reference to missing

# Key file for SSL connections
ssl_key_file = /etc/pki/ovirt-engine/keys/imageio-proxy.key.nopass

# Certificate file for SSL connections
ssl_cert_file = /etc/pki/ovirt-engine/certs/imageio-proxy.cer


In the mean time I see that if I change the default in
 /etc/ovirt-imageio-proxy/ovirt-imageio-proxy.conf
from

# Wrap incoming connections with SSL
use_ssl = true

to

# Wrap incoming connections with SSL
use_ssl = false

The service starts and it seems it listens to tcp port 54323.
Could it be a workaround (wit the limitations of not secure trasnport) or
is it anyway designed to only work through SSL?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-11 Thread Amit Aviram
On Thu, Aug 11, 2016 at 5:39 PM, Amit Aviram  wrote:

> Due to bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1365451
>
> There will need to be special configurations to do, in order to run
> ovirt-imageio-proxy after upgrade. we are making best efforts to publish
> this fix asap
>

​(patch is merged in master, will be available in the next build)​


>
> On Thu, Aug 11, 2016 at 4:39 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Wed, Aug 10, 2016 at 4:20 PM, Amit Aviram  wrote:
>>
>>> It seems like you have an early version of ovirt-4.0, if you'll update
>>> your version it might solve some of your problems (such as the exception in
>>> the screenshot). soon, the size and format will be deduced from the image
>>> as well, so many things will be clearer.
>>>
>>> If you want to stay with your version, you'll need to do the following
>>> steps in order to upload the file:
>>> - At the engine's host, yum install ovirt-imageio-proxy
>>> - Then, run engine-setup.
>>> - Add the engine's CA to the Authorities list in your browser. (you can
>>> download it from https://%your_engine%/ovirt-engine/services/pki-resourc
>>> e?resource=ca-certificate=X509-PEM-CA
>>> 
>>> )
>>>
>>> regarding the size- you can choose a bigger size than the original
>>> file's size.
>>>
>>> Hope that works out for you!
>>>
>>>
>>>
>> Hello,
>> I updated both engine and host to 4.0.2 RC4 and during the engine-setup
>> phase I indeed see this:
>>
>> ...
>>
>>   PACKAGE: [install] ovirt-imageio-common-0.3.0-1.el7.noarch
>>   PACKAGE: [install] ovirt-imageio-proxy-0.3.0-0.20
>> 1606191345.git9f3d6d4.el7.centos.noarch
>>   PACKAGE: [install] ovirt-imageio-proxy-setup-0.3.
>> 0-0.201606191345.git9f3d6d4.el7.centos.noarch
>>
>> and the configuration preview appeared as
>>
>>
>>   --== CONFIGURATION PREVIEW ==--
>>
>>   Default SAN wipe after delete   : False
>>   Firewall manager: firewalld
>>   Update Firewall : True
>>   Host FQDN   : ractorshe.mydomain
>>   Upgrade packages: True
>>   Engine database secured connection  : False
>>   Engine database host: localhost
>>   Engine database user name   : engine
>>   Engine database name: engine
>>   Engine database port: 5432
>>   Engine database host name validation: False
>>   DWH database secured connection : False
>>   DWH database host   : localhost
>>   DWH database user name  : ovirt_engine_history
>>   DWH database name   : ovirt_engine_history
>>   DWH database port   : 5432
>>   DWH database host name validation   : False
>>   Engine installation : True
>>   PKI organization: mydomain
>>   DWH installation: True
>>   Backup DWH database : True
>>   Engine Host FQDN: ractorshe.mydomain
>>   Configure VMConsole Proxy   : True
>>   Configure WebSocket Proxy   : True
>>
>>
>> Should I have seen anything related to image proxy in engine-setup
>> configuration preview above?
>>
>> The version installed is:
>> ovirt-imageio-proxy-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch
>>
>> I don't get anymore the exception in the GUI but again the upload goes
>> into paused mode as soon as it starts
>>
>> I see that part of the new package there is also a service
>>
>> [root@ractorshe log]# systemctl status ovirt-imageio-proxy.service
>> ● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
>>Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service;
>> disabled; vendor preset: disabled)
>>Active: inactive (dead)
>> [root@ractorshe log]#
>>
>> Do I have to enable and start it?
>> What TCP ports does the upload use? Does the client communicate with the
>> engine or directly with the host?
>>
>
> ​The client uploads directly to ovirt-imageio-proxy, not through the
> engine. this proxy writes to the host.
>
>
>>
>> Thanks,
>> Gianluca
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-11 Thread Amit Aviram
Due to bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1365451

There will need to be special configurations to do, in order to run
ovirt-imageio-proxy after upgrade. we are making best efforts to publish
this fix asap

On Thu, Aug 11, 2016 at 4:39 PM, Gianluca Cecchi 
wrote:

> On Wed, Aug 10, 2016 at 4:20 PM, Amit Aviram  wrote:
>
>> It seems like you have an early version of ovirt-4.0, if you'll update
>> your version it might solve some of your problems (such as the exception in
>> the screenshot). soon, the size and format will be deduced from the image
>> as well, so many things will be clearer.
>>
>> If you want to stay with your version, you'll need to do the following
>> steps in order to upload the file:
>> - At the engine's host, yum install ovirt-imageio-proxy
>> - Then, run engine-setup.
>> - Add the engine's CA to the Authorities list in your browser. (you can
>> download it from https://%your_engine%/ovirt-engine/services/pki-resourc
>> e?resource=ca-certificate=X509-PEM-CA
>> 
>> )
>>
>> regarding the size- you can choose a bigger size than the original file's
>> size.
>>
>> Hope that works out for you!
>>
>>
>>
> Hello,
> I updated both engine and host to 4.0.2 RC4 and during the engine-setup
> phase I indeed see this:
>
> ...
>
>   PACKAGE: [install] ovirt-imageio-common-0.3.0-1.el7.noarch
>   PACKAGE: [install] ovirt-imageio-proxy-0.3.0-0.
> 201606191345.git9f3d6d4.el7.centos.noarch
>   PACKAGE: [install] ovirt-imageio-proxy-setup-0.3.
> 0-0.201606191345.git9f3d6d4.el7.centos.noarch
>
> and the configuration preview appeared as
>
>
>   --== CONFIGURATION PREVIEW ==--
>
>   Default SAN wipe after delete   : False
>   Firewall manager: firewalld
>   Update Firewall : True
>   Host FQDN   : ractorshe.mydomain
>   Upgrade packages: True
>   Engine database secured connection  : False
>   Engine database host: localhost
>   Engine database user name   : engine
>   Engine database name: engine
>   Engine database port: 5432
>   Engine database host name validation: False
>   DWH database secured connection : False
>   DWH database host   : localhost
>   DWH database user name  : ovirt_engine_history
>   DWH database name   : ovirt_engine_history
>   DWH database port   : 5432
>   DWH database host name validation   : False
>   Engine installation : True
>   PKI organization: mydomain
>   DWH installation: True
>   Backup DWH database : True
>   Engine Host FQDN: ractorshe.mydomain
>   Configure VMConsole Proxy   : True
>   Configure WebSocket Proxy   : True
>
>
> Should I have seen anything related to image proxy in engine-setup
> configuration preview above?
>
> The version installed is:
> ovirt-imageio-proxy-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch
>
> I don't get anymore the exception in the GUI but again the upload goes
> into paused mode as soon as it starts
>
> I see that part of the new package there is also a service
>
> [root@ractorshe log]# systemctl status ovirt-imageio-proxy.service
> ● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
>Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service;
> disabled; vendor preset: disabled)
>Active: inactive (dead)
> [root@ractorshe log]#
>
> Do I have to enable and start it?
> What TCP ports does the upload use? Does the client communicate with the
> engine or directly with the host?
>

​The client uploads directly to ovirt-imageio-proxy, not through the
engine. this proxy writes to the host.


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


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-11 Thread Gianluca Cecchi
On Thu, Aug 11, 2016 at 3:39 PM, Gianluca Cecchi 
wrote:

> On Wed, Aug 10, 2016 at 4:20 PM, Amit Aviram  wrote:
>
>> It seems like you have an early version of ovirt-4.0, if you'll update
>> your version it might solve some of your problems (such as the exception in
>> the screenshot). soon, the size and format will be deduced from the image
>> as well, so many things will be clearer.
>>
>> If you want to stay with your version, you'll need to do the following
>> steps in order to upload the file:
>> - At the engine's host, yum install ovirt-imageio-proxy
>> - Then, run engine-setup.
>> - Add the engine's CA to the Authorities list in your browser. (you can
>> download it from https://%your_engine%/ovirt-engine/services/pki-resourc
>> e?resource=ca-certificate=X509-PEM-CA
>> 
>> )
>>
>> regarding the size- you can choose a bigger size than the original file's
>> size.
>>
>> Hope that works out for you!
>>
>>
>>
> Hello,
> I updated both engine and host to 4.0.2 RC4 and during the engine-setup
> phase I indeed see this:
>
> ...
>
>   PACKAGE: [install] ovirt-imageio-common-0.3.0-1.el7.noarch
>   PACKAGE: [install] ovirt-imageio-proxy-0.3.0-0.
> 201606191345.git9f3d6d4.el7.centos.noarch
>   PACKAGE: [install] ovirt-imageio-proxy-setup-0.3.
> 0-0.201606191345.git9f3d6d4.el7.centos.noarch
>
> and the configuration preview appeared as
>
>
>   --== CONFIGURATION PREVIEW ==--
>
>   Default SAN wipe after delete   : False
>   Firewall manager: firewalld
>   Update Firewall : True
>   Host FQDN   : ractorshe.mydomain
>   Upgrade packages: True
>   Engine database secured connection  : False
>   Engine database host: localhost
>   Engine database user name   : engine
>   Engine database name: engine
>   Engine database port: 5432
>   Engine database host name validation: False
>   DWH database secured connection : False
>   DWH database host   : localhost
>   DWH database user name  : ovirt_engine_history
>   DWH database name   : ovirt_engine_history
>   DWH database port   : 5432
>   DWH database host name validation   : False
>   Engine installation : True
>   PKI organization: mydomain
>   DWH installation: True
>   Backup DWH database : True
>   Engine Host FQDN: ractorshe.mydomain
>   Configure VMConsole Proxy   : True
>   Configure WebSocket Proxy   : True
>
>
> Should I have seen anything related to image proxy in engine-setup
> configuration preview above?
>
> The version installed is:
> ovirt-imageio-proxy-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch
>
> I don't get anymore the exception in the GUI but again the upload goes
> into paused mode as soon as it starts
>
> I see that part of the new package there is also a service
>
> [root@ractorshe log]# systemctl status ovirt-imageio-proxy.service
> ● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
>Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service;
> disabled; vendor preset: disabled)
>Active: inactive (dead)
> [root@ractorshe log]#
>
> Do I have to enable and start it?
> What TCP ports does the upload use? Does the client communicate with the
> engine or directly with the host?
>
> Thanks,
> Gianluca
>
>

Probably I have to run engine-setup two times: the first installs the
package and the second configures it.
But, at the second run, I do get a new answer

  --== PRODUCT OPTIONS ==--

  Configure Image I/O Proxy on this host? (Yes, No) [Yes]:

then

  --== CONFIGURATION PREVIEW ==--

  Default SAN wipe after delete   : False
  Firewall manager: firewalld
  Update Firewall : True
  Host FQDN   : ractorshe.mydomain
  Engine database secured connection  : False
  Engine database host: localhost
  Engine database user name   : engine
  Engine database name: engine
  Engine database port: 5432
  Engine database host name validation: False
  DWH database secured connection : False
  DWH database host   : localhost
  DWH database 

Re: [ovirt-users] oVirt Node 3.6

2016-08-11 Thread Michael Cooper

Hello Douglas,

I was able to get this version 
(ovirt-node-iso-3.6-0.999.201608101021.el7.centos 
) 
to work, I have added the link for the one I used for other folks to use.



Thank you for responding and I have dled that one as well to try it 
because the one I have works on my Dell SC1435s but not on my HP DL385 G5


Thank you,
--
*Michael Cooper*
http://www.coopfire.com
Linux/VMWare Certified Professional
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Node 3.6

2016-08-11 Thread Douglas Schilling Landgraf

Hi Michael,


On 08/11/2016 09:25 AM, Michael Cooper wrote:

Hey Guys

New to the group, I have got the controller installed and it's
working fine. Now I have burned an ISO of oVirt Node 3.6 this one is the
one I used ovirt-node-ng-installer-ovirt-3.6-2016052403. I am getting an
error when I try to install it on the server it fails during the install
the first time the script it self failed, the second time it couldn't
find the hard drive to install on. I am not sure what's going on I am
very confused now.



What's the hardware? In the installer fail screen, could you please 
press F2 go to shell and grab/see the logs in /var/log/ ?


You can also test the last available image from jenkins:
http://jenkins.ovirt.org/job/ovirt-node_ovirt-3.6_create-iso-el7_merged/

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


Re: [ovirt-users] oVirt upgrade

2016-08-11 Thread Gianluca Cecchi
On Wed, Aug 10, 2016 at 12:38 PM, Yedidyah Bar David 
wrote:

>
> >
> > Ok, thanks for the update and clarifications.
> > From an operational point of view, what will change?
> > RIght now, in 4.0, if I select Default cluster and try to edit it and
> > upgrade its Compatibility Version to 4.0, it seems I don't get any
> message
> > in the gui, or at least I don't see it; it's something similar to when
> you
> > have sort of syntactical or incomplete error in your input) ...
> > and in engine.log I see
> > 2016-08-10 11:59:43,780 WARN
> > [org.ovirt.engine.core.bll.storage.pool.UpdateStoragePoolCommand]
> (default
> > task-11) [6f626a79] Validation of action 'UpdateStoragePool' failed for
> user
> > admin@internal-authz. Reasons:
> > VAR__TYPE__STORAGE__POOL,VAR__ACTION__UPDATE,$ClustersList
> > Default,ERROR_CANNOT_UPDATE_STORAGE_POOL_COMPATIBILITY_
> VERSION_BIGGER_THAN_CLUSTERS
> >
> > Instead in 4.0.2 it should allow me to do it so that I should see all
> > running VMs, inlcluded the hosted engine VM, marked with configuration
> > change needed symbol?
>
> That's what I understand too.
>
> > In this case for engine VM would it be sufficient to run something like
> thsi
> > to commit its modifications?
> >
> > hosted-engine --set-maintenance --mode=global
> > shutdown engine VM from os console
> > hosted-engine --set-maintenance --mode=none
> > verify engine VM is automatically started and without the flag about
> > configuration changes needed?
>
> Looks ok to me, didn't try this myself.
>
> Best,
> --
> Didi
>

Hello,
so I upgraded from 4.0 to 4.0.2 RC4 both engine and host.
I successfully verified the cluster upgrade workflow; see here the dialogue:
https://drive.google.com/file/d/0BwoPbcrMv8mvSVFFVzE5RTh5ZFU/view?usp=sharing

Then the virtual machines pane appears like this:
https://drive.google.com/file/d/0BwoPbcrMv8mvTXFnTDFVSllPaVk/view?usp=sharing

Tried to start a previously powered off VM and it appears running without
mark.
Tried to shutdown and then powered on a VM with the configuration mark (c6
VM) and after correct start it doesn't have it

The only doubt is related to hosted engine VM... it doesn't show any mark
... does this mean that actually I don't need to shutdown and power on the
engine VM itself or is it an error that no configuration message icon is
shown aside of engine VM?

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


Re: [ovirt-users] import qcow2 image to ovirt

2016-08-11 Thread Gianluca Cecchi
On Wed, Aug 10, 2016 at 4:20 PM, Amit Aviram  wrote:

> It seems like you have an early version of ovirt-4.0, if you'll update
> your version it might solve some of your problems (such as the exception in
> the screenshot). soon, the size and format will be deduced from the image
> as well, so many things will be clearer.
>
> If you want to stay with your version, you'll need to do the following
> steps in order to upload the file:
> - At the engine's host, yum install ovirt-imageio-proxy
> - Then, run engine-setup.
> - Add the engine's CA to the Authorities list in your browser. (you can
> download it from https://%your_engine%/ovirt-engine/services/pki-
> resource?resource=ca-certificate=X509-PEM-CA
> 
> )
>
> regarding the size- you can choose a bigger size than the original file's
> size.
>
> Hope that works out for you!
>
>
>
Hello,
I updated both engine and host to 4.0.2 RC4 and during the engine-setup
phase I indeed see this:

...

  PACKAGE: [install] ovirt-imageio-common-0.3.0-1.el7.noarch
  PACKAGE: [install]
ovirt-imageio-proxy-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch
  PACKAGE: [install]
ovirt-imageio-proxy-setup-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch

and the configuration preview appeared as


  --== CONFIGURATION PREVIEW ==--

  Default SAN wipe after delete   : False
  Firewall manager: firewalld
  Update Firewall : True
  Host FQDN   : ractorshe.mydomain
  Upgrade packages: True
  Engine database secured connection  : False
  Engine database host: localhost
  Engine database user name   : engine
  Engine database name: engine
  Engine database port: 5432
  Engine database host name validation: False
  DWH database secured connection : False
  DWH database host   : localhost
  DWH database user name  : ovirt_engine_history
  DWH database name   : ovirt_engine_history
  DWH database port   : 5432
  DWH database host name validation   : False
  Engine installation : True
  PKI organization: mydomain
  DWH installation: True
  Backup DWH database : True
  Engine Host FQDN: ractorshe.mydomain
  Configure VMConsole Proxy   : True
  Configure WebSocket Proxy   : True


Should I have seen anything related to image proxy in engine-setup
configuration preview above?

The version installed is:
ovirt-imageio-proxy-0.3.0-0.201606191345.git9f3d6d4.el7.centos.noarch

I don't get anymore the exception in the GUI but again the upload goes into
paused mode as soon as it starts

I see that part of the new package there is also a service

[root@ractorshe log]# systemctl status ovirt-imageio-proxy.service
● ovirt-imageio-proxy.service - oVirt ImageIO Proxy
   Loaded: loaded (/usr/lib/systemd/system/ovirt-imageio-proxy.service;
disabled; vendor preset: disabled)
   Active: inactive (dead)
[root@ractorshe log]#

Do I have to enable and start it?
What TCP ports does the upload use? Does the client communicate with the
engine or directly with the host?

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


Re: [ovirt-users] ovirt-Guest-agent CPU usage

2016-08-11 Thread Tadas
I will try to compile it again. I've installed via ovirt commandline 
"OVirtGuestService.exe -install". Maybe i've managed to put wrong daemon. 
Will try this again.

Thank you.

-Original Message- 
From: Vinzenz Feenstra

Sent: Thursday, August 11, 2016 4:24 PM
To: Tadas
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage



On Aug 11, 2016, at 3:08 PM, Tadas  wrote:

I've used 
http://resources.ovirt.org/pub/ovirt-3.6/iso/oVirt-toolsSetup/3.6-3/oVirt-toolsSetup_3.6-3.fc23.iso


Well this one has not the fixed issue

But also, i've compiled ovirt guest agent from sources from github and had 
the same result.


The github version starting from March 15th 2016 (master / ovirt-4.0 / 
ovirt-3.6 branches) should actually not cause 100% CPU usage since there’s a 
sleep in case of an error, which seems to be happening here.


So you installed and started it how then? Are you sure that it doesn’t 
execute the other one?




-Original Message- From: Vinzenz Feenstra
Sent: Thursday, August 11, 2016 3:39 PM
To: ta...@ring.lt
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage



On Aug 11, 2016, at 2:20 PM, Tadas  wrote:

Sorry, managed to send corrupted message.

I do not think there's problems with virtio console drivers. I've
installed ovirt guest tools iso from http://resources.ovirt.org/pub.
Also I can read data from ovirt agent on hypervisor side by using
socat:
"socat pathtosocketfile  -"
This gives me all information about VM from ovirtagent. But as soon as
i close reading socket, ovirt agent loops in itself and uses whole
single core. If i socat again - load drops and I can see information
from agent again. So problem is that you allways need to have socket
open for read or write on hypervisor side. If not - ovirt agent will
consume one cpu thread. And this happens only in Windows VM.


Can you please give me the exact version of the ISO you’re using?
I need to determine if you have the fixed one or if there’s another bug, 
the latest version should have this fixed already.




On Thu, 2016-08-11 at 15:13 +0300, Tadas wrote:

"socat pathtosocketfile  -"
This gives me all information about VM from ovirtagent. But as soon
as
i close reading socket, ovirt agent loops in itself and uses whole
single core. If i socat again - load drops and I can see information
from agent again. So problem is that you allways need to have socket
open for read or write on hypervisor side. If not - ovirt agent will
consume one cpu thread. And this happens only in Windows VM.


On Thu, 2016-08-11 at 14:01 +0200, Vinzenz Feenstra wrote:





On Aug 11, 2016, at 12:21 PM, Tadas  wrote:

It seems, that if socket is not opened at hypervisor side, ovirt
agent
starts to loop with loads of "VirtIoCHannel::200::root::Written"
messages per second.


You probably don’t have the virtio drivers for the channel
communication installed

please install the VirtIO Console  drivers on that machine and
restart the agent service




If hypervisor opens ovirt socket, then cpu usage drops to normal
state.
Is this intentional? This does not happen on Linux guest.
On Thu, 2016-08-11 at 13:05 +0300, Tadas wrote:



Hello groups,

we are having problem with ovirt-guest agent on Windows os.
When
started, agent fully utilizes one core (if machine has single
core,
then you will see 100% CPU usage, if there are two cores, then
you
will
get 50% usage etc). Usage does not drop and persists for a
whole
time
ovirt agent is running. This happens on windows 7 32 and 64
versions
and also on windows 10. Have anybody had the same issue?
Thank you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

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



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

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


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


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


Re: [ovirt-users] ovirt-Guest-agent CPU usage

2016-08-11 Thread Tadas
I've used 
http://resources.ovirt.org/pub/ovirt-3.6/iso/oVirt-toolsSetup/3.6-3/oVirt-toolsSetup_3.6-3.fc23.iso
But also, i've compiled ovirt guest agent from sources from github and had 
the same result.


-Original Message- 
From: Vinzenz Feenstra

Sent: Thursday, August 11, 2016 3:39 PM
To: ta...@ring.lt
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt-Guest-agent CPU usage



On Aug 11, 2016, at 2:20 PM, Tadas  wrote:

Sorry, managed to send corrupted message.

I do not think there's problems with virtio console drivers. I've
installed ovirt guest tools iso from http://resources.ovirt.org/pub.
 Also I can read data from ovirt agent on hypervisor side by using
socat:
"socat pathtosocketfile  -"
This gives me all information about VM from ovirtagent. But as soon as
i close reading socket, ovirt agent loops in itself and uses whole
single core. If i socat again - load drops and I can see information
from agent again. So problem is that you allways need to have socket
open for read or write on hypervisor side. If not - ovirt agent will
consume one cpu thread. And this happens only in Windows VM.


Can you please give me the exact version of the ISO you’re using?
I need to determine if you have the fixed one or if there’s another bug, the 
latest version should have this fixed already.




On Thu, 2016-08-11 at 15:13 +0300, Tadas wrote:

"socat pathtosocketfile  -"
This gives me all information about VM from ovirtagent. But as soon
as
i close reading socket, ovirt agent loops in itself and uses whole
single core. If i socat again - load drops and I can see information
from agent again. So problem is that you allways need to have socket
open for read or write on hypervisor side. If not - ovirt agent will
consume one cpu thread. And this happens only in Windows VM.


On Thu, 2016-08-11 at 14:01 +0200, Vinzenz Feenstra wrote:





On Aug 11, 2016, at 12:21 PM, Tadas  wrote:

It seems, that if socket is not opened at hypervisor side, ovirt
agent
starts to loop with loads of "VirtIoCHannel::200::root::Written"
messages per second.


You probably don’t have the virtio drivers for the channel
communication installed

please install the VirtIO Console  drivers on that machine and
restart the agent service




If hypervisor opens ovirt socket, then cpu usage drops to normal
state.
Is this intentional? This does not happen on Linux guest.
On Thu, 2016-08-11 at 13:05 +0300, Tadas wrote:



Hello groups,

we are having problem with ovirt-guest agent on Windows os.
When
started, agent fully utilizes one core (if machine has single
core,
then you will see 100% CPU usage, if there are two cores, then
you
will
get 50% usage etc). Usage does not drop and persists for a
whole
time
ovirt agent is running. This happens on windows 7 32 and 64
versions
and also on windows 10. Have anybody had the same issue?
Thank you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

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



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

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


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


Re: [ovirt-users] Importing VM from Xen Server 6.5

2016-08-11 Thread Shahar Havivi
On 11.08.16 18:09, Anantha Raghava wrote:
> Hi,
> 
> I have attached the log of both virsh -c ssh://root@192.168.1.40 & virsh -c
> xen+ssh://root@192.168.1.40
> 
> 
> Hope this helps to debug.
not for me,
please try to send the log and a small explanation that you try to connect via
virsh to libvirt users mailing list at:  libvirt-us...@redhat.com.

> 
> -- 
> 
> Thanks & Regards,
> 
> Anantha Raghava
> 
> Do not print this e-mail unless required. Save Paper & trees.
> 
> On Thursday 11 August 2016 04:01 PM, Shahar Havivi wrote:
> > On 11.08.16 14:14, Anantha Raghava wrote:
> > > Hi,
> > > 
> > > Tested this with different combinations:
> > > 
> > > a. from VDSM host, both "ssh root@192.168.1.40" and "sudo -u vdsm ssh
> > > root@192.168.1.40" commands are logging in without asking for password 
> > > and I
> > > can run all xe commands without any glitch without modifications to 
> > > default
> > > xen server firewall or SELinux rules.
> > > 
> > > b. With firewall enabled and SELinux set to enforcing or permissive or
> > > disabled, I run "virsh -c ssh://root@192.168.1.40". And the command is
> > > resulting in two errors:
> > > 
> > >  error: filed to connect to the hypervisor
> > >  error: unable to connect to the server at '192.168.1.40:16514' : No
> > > route to the host.
> > > 
> > > c. With firewall disabled and SELinux set to Enforcing or permissive or
> > > disabled, I run "virsh -c ssh://192.168.1.40". And the command is 
> > > resulting
> > > in two errors
> > > 
> > > error: filed to connect to the hypervisor
> > >  error: unable to connect to the server at '192.168.1.40:16514' :
> > > Connection refused
> > Good tests,
> > We need to figure out why libvirt refuse the connection,
> > try to debug virsh by running:
> > 
> > $ export LIBVIRT_LOG_OUTPUTS="1:file:/tmp/libvirt_client.log"
> > $ export LIBVIRT_DEBUG=1
> > $ virsh -c virsh -c ssh://192.168.1.40
> > 
> > and examing /tmp/libvirt_client.log file
> > 
> > > -- 
> > > 
> > > Thanks & Regards,
> > > 
> > > 
> > > Anantha Raghava
> > > 
> > > eXza Technology Consulting & Services
> > > 
> > > Ph: +91-9538849179, E-mail: rag...@exzatechconsulting.com
> > > 
> > > 
> > > URL: http://www.exzatechconsulting.com 
> > > 
> > > 
> > > /*Support No.: +91-7829774584 */
> > > 
> > > 
> > > 
> > > DISCLAIMER:
> > > This e-mail communication and any attachments may be privileged and
> > > confidential to eXza Technology Consulting & Services, and are intended 
> > > only
> > > for the use of the recipients named above If you are not the addressee you
> > > may not copy, forward, disclose or use any part of it. If you have 
> > > received
> > > this message in error, please delete it and all copies from your system 
> > > and
> > > notify the sender immediately by return e-mail. Internet communications
> > > cannot be guaranteed to be timely, secure, error or virus-free. The sender
> > > does not accept liability for any errors or omissions.
> > > 
> > > 
> > > Do not print this e-mail unless required. Save Paper & trees.
> > > 
> > > On Thursday 11 August 2016 12:20 PM, Shahar Havivi wrote:
> > > > On 10.08.16 19:40, Anantha Raghava wrote:
> > > > > Hello Richard / Shahar,
> > > > > 
> > > > > I installed and enabled nc on Xen Server host. Now the " .. sh: 
> > > > > nc:
> > > > > command not found: Input/output error" is gone. Communication is
> > > > > established. However I am still getting two specific errors:
> > > > > 
> > > > > VDSM ovirt_engine command failed: End of file while reading data: :
> > > > > Input/Output error
> > > > > 
> > > > > &
> > > > > 
> > > > > Failed to retrieve VMs Information from the external server
> > > > > xen+ssh://root@192.168.1.40
> > > > > 
> > > > > I am receiving the same error when I run virsh -c
> > > > > xen+ssh://root@192.168.1.40
> > > > > 
> > > > > Screen shot is attached for quick reference.
> > > > > 
> > > > > Is it something to do with firewall / ip tables on xen server or 
> > > > > libvirtd
> > > > > host?
> > > > Hi,
> > > > You don't need to try it on oVirt when 'virsh -c' doesn't work since 
> > > > oVirt try
> > > > to connect via libvirt libraries (same as virsh) before it called 
> > > > virt-v2v.
> > > > 
> > > > Did you follow all the steps in the wiki?
> > > > Are you able to ssh to the Xen server from the vdsm machine that you 
> > > > try to
> > > > run virsh without password? (ssh root@192.168.1.40)
> > > > 
> > > > > -- 
> > > > > 
> > > > > Thanks & Regards,
> > > > > 
> > > > > Anantha Raghava
> > > > > 
> > > > > 
> > > > > Do not print this e-mail unless required. Save Paper & trees.
> > > > > 
> > > > > On Wednesday 10 August 2016 06:04 PM, Anantha Raghava wrote:
> > > > > > Hi,
> > > > > > 
> > > > > > Let me try this and post the results here.
> > > > > > 
> > > > > > Regards,
> > > > > > Ananth
> > > > > > 
> > > > > > On 10 Aug 2016 15:28, "Richard W.M. Jones"  > > > 

Re: [ovirt-users] Importing VM from Xen Server 6.5

2016-08-11 Thread Anantha Raghava

Hi,

I have attached the log of both virsh -c ssh://root@192.168.1.40 & virsh 
-c xen+ssh://root@192.168.1.40



Hope this helps to debug.

--

Thanks & Regards,

Anantha Raghava

Do not print this e-mail unless required. Save Paper & trees.

On Thursday 11 August 2016 04:01 PM, Shahar Havivi wrote:

On 11.08.16 14:14, Anantha Raghava wrote:

Hi,

Tested this with different combinations:

a. from VDSM host, both "ssh root@192.168.1.40" and "sudo -u vdsm ssh
root@192.168.1.40" commands are logging in without asking for password and I
can run all xe commands without any glitch without modifications to default
xen server firewall or SELinux rules.

b. With firewall enabled and SELinux set to enforcing or permissive or
disabled, I run "virsh -c ssh://root@192.168.1.40". And the command is
resulting in two errors:

 error: filed to connect to the hypervisor
 error: unable to connect to the server at '192.168.1.40:16514' : No
route to the host.

c. With firewall disabled and SELinux set to Enforcing or permissive or
disabled, I run "virsh -c ssh://192.168.1.40". And the command is resulting
in two errors

error: filed to connect to the hypervisor
 error: unable to connect to the server at '192.168.1.40:16514' :
Connection refused

Good tests,
We need to figure out why libvirt refuse the connection,
try to debug virsh by running:

$ export LIBVIRT_LOG_OUTPUTS="1:file:/tmp/libvirt_client.log"
$ export LIBVIRT_DEBUG=1
$ virsh -c virsh -c ssh://192.168.1.40

and examing /tmp/libvirt_client.log file


--

Thanks & Regards,


Anantha Raghava

eXza Technology Consulting & Services

Ph: +91-9538849179, E-mail: rag...@exzatechconsulting.com


URL: http://www.exzatechconsulting.com 

/*Support No.: +91-7829774584 */



DISCLAIMER:
This e-mail communication and any attachments may be privileged and
confidential to eXza Technology Consulting & Services, and are intended only
for the use of the recipients named above If you are not the addressee you
may not copy, forward, disclose or use any part of it. If you have received
this message in error, please delete it and all copies from your system and
notify the sender immediately by return e-mail. Internet communications
cannot be guaranteed to be timely, secure, error or virus-free. The sender
does not accept liability for any errors or omissions.


Do not print this e-mail unless required. Save Paper & trees.

On Thursday 11 August 2016 12:20 PM, Shahar Havivi wrote:

On 10.08.16 19:40, Anantha Raghava wrote:

Hello Richard / Shahar,

I installed and enabled nc on Xen Server host. Now the " .. sh: nc:
command not found: Input/output error" is gone. Communication is
established. However I am still getting two specific errors:

VDSM ovirt_engine command failed: End of file while reading data: :
Input/Output error

&

Failed to retrieve VMs Information from the external server
xen+ssh://root@192.168.1.40

I am receiving the same error when I run virsh -c
xen+ssh://root@192.168.1.40

Screen shot is attached for quick reference.

Is it something to do with firewall / ip tables on xen server or libvirtd
host?

Hi,
You don't need to try it on oVirt when 'virsh -c' doesn't work since oVirt try
to connect via libvirt libraries (same as virsh) before it called virt-v2v.

Did you follow all the steps in the wiki?
Are you able to ssh to the Xen server from the vdsm machine that you try to
run virsh without password? (ssh root@192.168.1.40)


--

Thanks & Regards,

Anantha Raghava


Do not print this e-mail unless required. Save Paper & trees.

On Wednesday 10 August 2016 06:04 PM, Anantha Raghava wrote:

Hi,

Let me try this and post the results here.

Regards,
Ananth

On 10 Aug 2016 15:28, "Richard W.M. Jones" > wrote:

  On Wed, Aug 10, 2016 at 09:45:52AM +0300, Shahar Havivi wrote:
  > On 10.08.16 06:45, Anantha Raghava wrote:
  > > Hi,
  > >
  > > I even attempted to run command virsh -c
  xen+ssh://root@xenhost and I get
  > > error "/*error: End of file reading data: sh: nc: command not
  found:
  > > Input/output error"*/
  > First you need to be able to login via virsh (before trying to
  import via
  > oVirt).
  >
  > I never encounter this error before,
  > I guess that nc is netcat...,
  > try to install nmap-ncat:
  > $ dnf info nmap-ncat
  >
  > Adding Richard which may have more input.

  Yes, you need to install 'nc' on the *target* (Xen) machine.

  This is because libvirt's ssh transport uses nc:
  
https://libvirt.org/guide/html/Application_Development_Guide-Architecture-Transports.html
  


  Rich.

  --
  Richard Jones, Virtualization Group, Red Hat
  http://people.redhat.com/~rjones 
  Read my 

Re: [ovirt-users] 3.6 : iSCSI LUN not detected

2016-08-11 Thread Alexis HAUSER

> Yes, you cannot remove the master storage domain, so you need to create 
> another
> domain and make it the master. Then you will be able to detach the
> original storage
> domain properly.

> Nir

I would love to do that...But it's not possible as long as the master data 
domain is in maintenance mode. And it doesn't activate...

I'm now stuck with second data domain with unknown status, same for 
hosted_storage and master data domain still in maintenance mode.

I can't activate any of the storage and can't reinitialize data center...
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-Guest-agent CPU usage

2016-08-11 Thread Vinzenz Feenstra

> On Aug 11, 2016, at 2:20 PM, Tadas  wrote:
> 
> Sorry, managed to send corrupted message.
> 
> I do not think there's problems with virtio console drivers. I've
> installed ovirt guest tools iso from http://resources.ovirt.org/pub.
>  Also I can read data from ovirt agent on hypervisor side by using
> socat:
> "socat pathtosocketfile  -"
> This gives me all information about VM from ovirtagent. But as soon as
> i close reading socket, ovirt agent loops in itself and uses whole
> single core. If i socat again - load drops and I can see information
> from agent again. So problem is that you allways need to have socket
> open for read or write on hypervisor side. If not - ovirt agent will
> consume one cpu thread. And this happens only in Windows VM.

Can you please give me the exact version of the ISO you’re using?
I need to determine if you have the fixed one or if there’s another bug, the 
latest version should have this fixed already.


> On Thu, 2016-08-11 at 15:13 +0300, Tadas wrote:
>> "socat pathtosocketfile  -"
>> This gives me all information about VM from ovirtagent. But as soon
>> as
>> i close reading socket, ovirt agent loops in itself and uses whole
>> single core. If i socat again - load drops and I can see information
>> from agent again. So problem is that you allways need to have socket
>> open for read or write on hypervisor side. If not - ovirt agent will
>> consume one cpu thread. And this happens only in Windows VM.
>> 
>> 
>> On Thu, 2016-08-11 at 14:01 +0200, Vinzenz Feenstra wrote:
>>> 
 
 
 On Aug 11, 2016, at 12:21 PM, Tadas  wrote:
 
 It seems, that if socket is not opened at hypervisor side, ovirt
 agent
 starts to loop with loads of "VirtIoCHannel::200::root::Written"
 messages per second.
>>> 
>>> You probably don’t have the virtio drivers for the channel
>>> communication installed
>>> 
>>> please install the VirtIO Console  drivers on that machine and
>>> restart the agent service
>>> 
 
 
 If hypervisor opens ovirt socket, then cpu usage drops to normal
 state.
 Is this intentional? This does not happen on Linux guest.
 On Thu, 2016-08-11 at 13:05 +0300, Tadas wrote:
> 
> 
> Hello groups,
> 
> we are having problem with ovirt-guest agent on Windows os.
> When
> started, agent fully utilizes one core (if machine has single
> core,
> then you will see 100% CPU usage, if there are two cores, then
> you
> will
> get 50% usage etc). Usage does not drop and persists for a
> whole
> time
> ovirt agent is running. This happens on windows 7 32 and 64
> versions
> and also on windows 10. Have anybody had the same issue?
> Thank you.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
>>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

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


Re: [ovirt-users] How to asssign a static IP to VM?

2016-08-11 Thread Ollie Armstrong
On 11 August 2016 at 13:10, lifuqiong  wrote:
> I searched google and found there is no way to assign a static IP to VM
> until 2012, in http://lists.ovirt.org/pipermail/users/2012-May/007559.html;
>
>
>
> Is there any solution to assign static IP now?

You can use cloud-init to provision an IP address to a machine. Or
integration with OpenStack Neutron would probably allow for that too
(via DHCP I imagine).

Any reason why you don't just use static DHCP leases?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Convert OnApp VM to oVirt

2016-08-11 Thread Fernando Frediani

Hi,

Has anyone done a VM conversion from OnApp (therefore running in LVM) to 
oVirt/RHEV format being either buried in LVM or in a QCOW2 file.


I've seen some instructions using qemu-img but wanted to find out if 
anyone has found any issues in this process. Any adjusts to be done 
before booting the VM the first time in the new platform ?

Both hypervisors are KVM.

Fernando

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


Re: [ovirt-users] ovirt-Guest-agent CPU usage

2016-08-11 Thread Tadas
Sorry, managed to send corrupted message.

I do not think there's problems with virtio console drivers. I've
installed ovirt guest tools iso from http://resources.ovirt.org/pub.
 Also I can read data from ovirt agent on hypervisor side by using
socat:
"socat pathtosocketfile  -"
This gives me all information about VM from ovirtagent. But as soon as
i close reading socket, ovirt agent loops in itself and uses whole
single core. If i socat again - load drops and I can see information
from agent again. So problem is that you allways need to have socket
open for read or write on hypervisor side. If not - ovirt agent will
consume one cpu thread. And this happens only in Windows VM.
On Thu, 2016-08-11 at 15:13 +0300, Tadas wrote:
> "socat pathtosocketfile  -"
> This gives me all information about VM from ovirtagent. But as soon
> as
> i close reading socket, ovirt agent loops in itself and uses whole
> single core. If i socat again - load drops and I can see information
> from agent again. So problem is that you allways need to have socket
> open for read or write on hypervisor side. If not - ovirt agent will
> consume one cpu thread. And this happens only in Windows VM.
> 
> 
> On Thu, 2016-08-11 at 14:01 +0200, Vinzenz Feenstra wrote:
> > 
> > > 
> > > 
> > > On Aug 11, 2016, at 12:21 PM, Tadas  wrote:
> > > 
> > > It seems, that if socket is not opened at hypervisor side, ovirt
> > > agent
> > > starts to loop with loads of "VirtIoCHannel::200::root::Written"
> > > messages per second.
> > 
> > You probably don’t have the virtio drivers for the channel
> > communication installed
> > 
> > please install the VirtIO Console  drivers on that machine and
> > restart the agent service
> > 
> > > 
> > > 
> > > If hypervisor opens ovirt socket, then cpu usage drops to normal
> > > state.
> > > Is this intentional? This does not happen on Linux guest.
> > > On Thu, 2016-08-11 at 13:05 +0300, Tadas wrote:
> > > > 
> > > > 
> > > > Hello groups,
> > > > 
> > > > we are having problem with ovirt-guest agent on Windows os.
> > > > When
> > > > started, agent fully utilizes one core (if machine has single
> > > > core,
> > > > then you will see 100% CPU usage, if there are two cores, then
> > > > you
> > > > will
> > > > get 50% usage etc). Usage does not drop and persists for a
> > > > whole
> > > > time
> > > > ovirt agent is running. This happens on windows 7 32 and 64
> > > > versions
> > > > and also on windows 10. Have anybody had the same issue?
> > > > Thank you.
> > > > ___
> > > > Users mailing list
> > > > Users@ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] How to asssign a static IP to VM?

2016-08-11 Thread lifuqiong
Hi all,

 

 I searched google and found there is no way to assign a static IP
to VM until 2012, in
http://lists.ovirt.org/pipermail/users/2012-May/007559.html;

 

Is there any solution to assign static IP now?

 

Thank you

 

Mark

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


Re: [ovirt-users] Importing VM from Xen Server 6.5

2016-08-11 Thread Anantha Raghava

Hi Tomáš,

virsh list --all works locally and results in list of all VMs.

virsh -c xen+ssh://root@192.168.1.40 results in two errors:

error: failed to connect to hypervisor
error: End of file while reading data: : Input/output error

--

Thanks & Regards,

Anantha Raghava


On Thursday 11 August 2016 04:11 PM, Tomáš Golembiovský wrote:

Hi,

On Thu, 11 Aug 2016 14:14:24 +0530
Anantha Raghava  wrote:


Hi,

Tested this with different combinations:

a. from VDSM host, both "ssh root@192.168.1.40" and "sudo -u vdsm ssh
root@192.168.1.40" commands are logging in without asking for password
and I can run all xe commands without any glitch without modifications
to default xen server firewall or SELinux rules.

Could you please verify that running 'virsh list --all' localy works too?



b. With firewall enabled and SELinux set to enforcing or permissive or
disabled, I run "virsh -c ssh://root@192.168.1.40". And the command is
resulting in two errors:

  error: filed to connect to the hypervisor
  error: unable to connect to the server at '192.168.1.40:16514' : No
route to the host.

c. With firewall disabled and SELinux set to Enforcing or permissive or
disabled, I run "virsh -c ssh://192.168.1.40". And the command is
resulting in two errors

error: filed to connect to the hypervisor
  error: unable to connect to the server at '192.168.1.40:16514' :
Connection refused


That is because your libvirt URI is wrong. It has to be 'xen+ssh://...'
not 'ssh://...'.

Does it work if you try: virsh -c 'xen+ssh://root@192.168.1.40'

Best regards,

 Tomas


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


Re: [ovirt-users] ovirt-Guest-agent CPU usage

2016-08-11 Thread Tadas

"socat pathtosocketfile  -"
This gives me all information about VM from ovirtagent. But as soon as
i close reading socket, ovirt agent loops in itself and uses whole
single core. If i socat again - load drops and I can see information
from agent again. So problem is that you allways need to have socket
open for read or write on hypervisor side. If not - ovirt agent will
consume one cpu thread. And this happens only in Windows VM.


On Thu, 2016-08-11 at 14:01 +0200, Vinzenz Feenstra wrote:
> > 
> > On Aug 11, 2016, at 12:21 PM, Tadas  wrote:
> > 
> > It seems, that if socket is not opened at hypervisor side, ovirt
> > agent
> > starts to loop with loads of "VirtIoCHannel::200::root::Written"
> > messages per second.
> 
> You probably don’t have the virtio drivers for the channel
> communication installed
> 
> please install the VirtIO Console  drivers on that machine and
> restart the agent service
> 
> > 
> > If hypervisor opens ovirt socket, then cpu usage drops to normal
> > state.
> > Is this intentional? This does not happen on Linux guest.
> > On Thu, 2016-08-11 at 13:05 +0300, Tadas wrote:
> > > 
> > > Hello groups,
> > > 
> > > we are having problem with ovirt-guest agent on Windows os. When
> > > started, agent fully utilizes one core (if machine has single
> > > core,
> > > then you will see 100% CPU usage, if there are two cores, then
> > > you
> > > will
> > > get 50% usage etc). Usage does not drop and persists for a whole
> > > time
> > > ovirt agent is running. This happens on windows 7 32 and 64
> > > versions
> > > and also on windows 10. Have anybody had the same issue?
> > > Thank you.
> > > ___
> > > 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] ovirt-Guest-agent CPU usage

2016-08-11 Thread Vinzenz Feenstra

> On Aug 11, 2016, at 12:21 PM, Tadas  wrote:
> 
> It seems, that if socket is not opened at hypervisor side, ovirt agent
> starts to loop with loads of "VirtIoCHannel::200::root::Written"
> messages per second.

You probably don’t have the virtio drivers for the channel communication 
installed

please install the VirtIO Console  drivers on that machine and restart the 
agent service

> If hypervisor opens ovirt socket, then cpu usage drops to normal state.
> Is this intentional? This does not happen on Linux guest.
> On Thu, 2016-08-11 at 13:05 +0300, Tadas wrote:
>> Hello groups,
>> 
>> we are having problem with ovirt-guest agent on Windows os. When
>> started, agent fully utilizes one core (if machine has single core,
>> then you will see 100% CPU usage, if there are two cores, then you
>> will
>> get 50% usage etc). Usage does not drop and persists for a whole time
>> ovirt agent is running. This happens on windows 7 32 and 64 versions
>> and also on windows 10. Have anybody had the same issue?
>> Thank you.
>> ___
>> 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] 3.6 : iSCSI LUN not detected

2016-08-11 Thread Nir Soffer
On Thu, Aug 11, 2016 at 12:27 PM, Alexis HAUSER
 wrote:
>
>> Hi Alexis
>
>> Were you able to resolve your storage LUN issue?
>
>> Regards,
>
>
>> Kevin
>
>
> I am trying the suggested solution on this post by Nir Soffer : reconnect the 
> storage to the older hypervisor and detach it correctly...But it doesn't work 
> :
>
> From the DC :
> 1. I set the storage (which is master data domain) to maintenance mode
> 2. I try to detach it. I get this error message :
>
>  "Error while executing action: Cannot remove the master Storage Domain from 
> the Data Center without another active Storage Domain to take its place.
> -Either activate another Storage Domain in the Data Center, or remove the 
> Data Center.
>
> 3. If I go in the storage domain menu, I get only the "destroy option", not 
> "remove", which is maybe not what I want. I'd like to be able to keep the 
> data on it.
> 4. If I try to remove the datacenter as suggested in the error message I get 
> this error (as the hosted-engine storage is still up) :
>
> "Error while executing action: Cannot remove Data Center which contains 
> active/locked Storage Domains.
> -Please deactivate all domains and wait for tasks to finish before removing 
> the Data Center."
>
> 5. I can't set the hosted engine storage to maintenance
>
> What should I do ?

Yes, you cannot remove the master storage domain, so you need to create another
domain and make it the master. Then you will be able to detach the
original storage
domain properly.

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


Re: [ovirt-users] Importing VM from Xen Server 6.5

2016-08-11 Thread Tomáš Golembiovský
Hi,

On Thu, 11 Aug 2016 14:14:24 +0530
Anantha Raghava  wrote:

> Hi,
> 
> Tested this with different combinations:
> 
> a. from VDSM host, both "ssh root@192.168.1.40" and "sudo -u vdsm ssh 
> root@192.168.1.40" commands are logging in without asking for password 
> and I can run all xe commands without any glitch without modifications 
> to default xen server firewall or SELinux rules.

Could you please verify that running 'virsh list --all' localy works too?


> 
> b. With firewall enabled and SELinux set to enforcing or permissive or 
> disabled, I run "virsh -c ssh://root@192.168.1.40". And the command is 
> resulting in two errors:
> 
>  error: filed to connect to the hypervisor
>  error: unable to connect to the server at '192.168.1.40:16514' : No 
> route to the host.
> 
> c. With firewall disabled and SELinux set to Enforcing or permissive or 
> disabled, I run "virsh -c ssh://192.168.1.40". And the command is 
> resulting in two errors
> 
> error: filed to connect to the hypervisor
>  error: unable to connect to the server at '192.168.1.40:16514' : 
> Connection refused
> 

That is because your libvirt URI is wrong. It has to be 'xen+ssh://...'
not 'ssh://...'.

Does it work if you try: virsh -c 'xen+ssh://root@192.168.1.40' 

Best regards,

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


Re: [ovirt-users] Importing VM from Xen Server 6.5

2016-08-11 Thread Shahar Havivi
On 11.08.16 14:14, Anantha Raghava wrote:
> Hi,
> 
> Tested this with different combinations:
> 
> a. from VDSM host, both "ssh root@192.168.1.40" and "sudo -u vdsm ssh
> root@192.168.1.40" commands are logging in without asking for password and I
> can run all xe commands without any glitch without modifications to default
> xen server firewall or SELinux rules.
> 
> b. With firewall enabled and SELinux set to enforcing or permissive or
> disabled, I run "virsh -c ssh://root@192.168.1.40". And the command is
> resulting in two errors:
> 
> error: filed to connect to the hypervisor
> error: unable to connect to the server at '192.168.1.40:16514' : No
> route to the host.
> 
> c. With firewall disabled and SELinux set to Enforcing or permissive or
> disabled, I run "virsh -c ssh://192.168.1.40". And the command is resulting
> in two errors
> 
> error: filed to connect to the hypervisor
> error: unable to connect to the server at '192.168.1.40:16514' :
> Connection refused
Good tests,
We need to figure out why libvirt refuse the connection,
try to debug virsh by running:

$ export LIBVIRT_LOG_OUTPUTS="1:file:/tmp/libvirt_client.log"
$ export LIBVIRT_DEBUG=1
$ virsh -c virsh -c ssh://192.168.1.40

and examing /tmp/libvirt_client.log file

> 
> -- 
> 
> Thanks & Regards,
> 
> 
> Anantha Raghava
> 
> eXza Technology Consulting & Services
> 
> Ph: +91-9538849179, E-mail: rag...@exzatechconsulting.com
> 
> 
> URL: http://www.exzatechconsulting.com 
> 
> /*Support No.: +91-7829774584 */
> 
> 
> 
> DISCLAIMER:
> This e-mail communication and any attachments may be privileged and
> confidential to eXza Technology Consulting & Services, and are intended only
> for the use of the recipients named above If you are not the addressee you
> may not copy, forward, disclose or use any part of it. If you have received
> this message in error, please delete it and all copies from your system and
> notify the sender immediately by return e-mail. Internet communications
> cannot be guaranteed to be timely, secure, error or virus-free. The sender
> does not accept liability for any errors or omissions.
> 
> 
> Do not print this e-mail unless required. Save Paper & trees.
> 
> On Thursday 11 August 2016 12:20 PM, Shahar Havivi wrote:
> > On 10.08.16 19:40, Anantha Raghava wrote:
> > > Hello Richard / Shahar,
> > > 
> > > I installed and enabled nc on Xen Server host. Now the " .. sh: nc:
> > > command not found: Input/output error" is gone. Communication is
> > > established. However I am still getting two specific errors:
> > > 
> > > VDSM ovirt_engine command failed: End of file while reading data: :
> > > Input/Output error
> > > 
> > > &
> > > 
> > > Failed to retrieve VMs Information from the external server
> > > xen+ssh://root@192.168.1.40
> > > 
> > > I am receiving the same error when I run virsh -c
> > > xen+ssh://root@192.168.1.40
> > > 
> > > Screen shot is attached for quick reference.
> > > 
> > > Is it something to do with firewall / ip tables on xen server or libvirtd
> > > host?
> > Hi,
> > You don't need to try it on oVirt when 'virsh -c' doesn't work since oVirt 
> > try
> > to connect via libvirt libraries (same as virsh) before it called virt-v2v.
> > 
> > Did you follow all the steps in the wiki?
> > Are you able to ssh to the Xen server from the vdsm machine that you try to
> > run virsh without password? (ssh root@192.168.1.40)
> > 
> > > -- 
> > > 
> > > Thanks & Regards,
> > > 
> > > Anantha Raghava
> > > 
> > > 
> > > Do not print this e-mail unless required. Save Paper & trees.
> > > 
> > > On Wednesday 10 August 2016 06:04 PM, Anantha Raghava wrote:
> > > > Hi,
> > > > 
> > > > Let me try this and post the results here.
> > > > 
> > > > Regards,
> > > > Ananth
> > > > 
> > > > On 10 Aug 2016 15:28, "Richard W.M. Jones"  > > > > wrote:
> > > > 
> > > >  On Wed, Aug 10, 2016 at 09:45:52AM +0300, Shahar Havivi wrote:
> > > >  > On 10.08.16 06:45, Anantha Raghava wrote:
> > > >  > > Hi,
> > > >  > >
> > > >  > > I even attempted to run command virsh -c
> > > >  xen+ssh://root@xenhost and I get
> > > >  > > error "/*error: End of file reading data: sh: nc: command not
> > > >  found:
> > > >  > > Input/output error"*/
> > > >  > First you need to be able to login via virsh (before trying to
> > > >  import via
> > > >  > oVirt).
> > > >  >
> > > >  > I never encounter this error before,
> > > >  > I guess that nc is netcat...,
> > > >  > try to install nmap-ncat:
> > > >  > $ dnf info nmap-ncat
> > > >  >
> > > >  > Adding Richard which may have more input.
> > > > 
> > > >  Yes, you need to install 'nc' on the *target* (Xen) machine.
> > > > 
> > > >  This is because libvirt's ssh transport uses nc:
> > > >  
> > > > 

Re: [ovirt-users] 3.6 : iSCSI LUN not detected

2016-08-11 Thread Alexis HAUSER

> Hi Alexis

> Were you able to resolve your storage LUN issue?

> Regards,


> Kevin


I am trying the suggested solution on this post by Nir Soffer : reconnect the 
storage to the older hypervisor and detach it correctly...But it doesn't work :

>From the DC :
1. I set the storage (which is master data domain) to maintenance mode
2. I try to detach it. I get this error message :

 "Error while executing action: Cannot remove the master Storage Domain from 
the Data Center without another active Storage Domain to take its place.
-Either activate another Storage Domain in the Data Center, or remove the Data 
Center.

3. If I go in the storage domain menu, I get only the "destroy option", not 
"remove", which is maybe not what I want. I'd like to be able to keep the data 
on it.
4. If I try to remove the datacenter as suggested in the error message I get 
this error (as the hosted-engine storage is still up) :

"Error while executing action: Cannot remove Data Center which contains 
active/locked Storage Domains.
-Please deactivate all domains and wait for tasks to finish before removing the 
Data Center."

5. I can't set the hosted engine storage to maintenance

What should I do ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] leasing of vms

2016-08-11 Thread Joop
On 10-8-2016 14:30, Budur Nagaraju wrote:
> I want to restrict the vms to users for certain period , once the
> lease is expired vm should automatically retire.
foreman has a plugin which will decommission a vm after a certain time.

Regards,

Joop

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


Re: [ovirt-users] Importing VM from Xen Server 6.5

2016-08-11 Thread Anantha Raghava

Hi,

Tested this with different combinations:

a. from VDSM host, both "ssh root@192.168.1.40" and "sudo -u vdsm ssh 
root@192.168.1.40" commands are logging in without asking for password 
and I can run all xe commands without any glitch without modifications 
to default xen server firewall or SELinux rules.


b. With firewall enabled and SELinux set to enforcing or permissive or 
disabled, I run "virsh -c ssh://root@192.168.1.40". And the command is 
resulting in two errors:


error: filed to connect to the hypervisor
error: unable to connect to the server at '192.168.1.40:16514' : No 
route to the host.


c. With firewall disabled and SELinux set to Enforcing or permissive or 
disabled, I run "virsh -c ssh://192.168.1.40". And the command is 
resulting in two errors


error: filed to connect to the hypervisor
error: unable to connect to the server at '192.168.1.40:16514' : 
Connection refused


--

Thanks & Regards,


Anantha Raghava

eXza Technology Consulting & Services

Ph: +91-9538849179, E-mail: rag...@exzatechconsulting.com 



URL: http://www.exzatechconsulting.com 

/*Support No.: +91-7829774584 */



DISCLAIMER:
This e-mail communication and any attachments may be privileged and 
confidential to eXza Technology Consulting & Services, and are intended 
only for the use of the recipients named above If you are not the 
addressee you may not copy, forward, disclose or use any part of it. If 
you have received this message in error, please delete it and all copies 
from your system and notify the sender immediately by return e-mail. 
Internet communications cannot be guaranteed to be timely, secure, error 
or virus-free. The sender does not accept liability for any errors or 
omissions.



Do not print this e-mail unless required. Save Paper & trees.

On Thursday 11 August 2016 12:20 PM, Shahar Havivi wrote:

On 10.08.16 19:40, Anantha Raghava wrote:

Hello Richard / Shahar,

I installed and enabled nc on Xen Server host. Now the " .. sh: nc:
command not found: Input/output error" is gone. Communication is
established. However I am still getting two specific errors:

VDSM ovirt_engine command failed: End of file while reading data: :
Input/Output error

&

Failed to retrieve VMs Information from the external server
xen+ssh://root@192.168.1.40

I am receiving the same error when I run virsh -c
xen+ssh://root@192.168.1.40

Screen shot is attached for quick reference.

Is it something to do with firewall / ip tables on xen server or libvirtd
host?

Hi,
You don't need to try it on oVirt when 'virsh -c' doesn't work since oVirt try
to connect via libvirt libraries (same as virsh) before it called virt-v2v.

Did you follow all the steps in the wiki?
Are you able to ssh to the Xen server from the vdsm machine that you try to
run virsh without password? (ssh root@192.168.1.40)


--

Thanks & Regards,

Anantha Raghava


Do not print this e-mail unless required. Save Paper & trees.

On Wednesday 10 August 2016 06:04 PM, Anantha Raghava wrote:

Hi,

Let me try this and post the results here.

Regards,
Ananth

On 10 Aug 2016 15:28, "Richard W.M. Jones" > wrote:

 On Wed, Aug 10, 2016 at 09:45:52AM +0300, Shahar Havivi wrote:
 > On 10.08.16 06:45, Anantha Raghava wrote:
 > > Hi,
 > >
 > > I even attempted to run command virsh -c
 xen+ssh://root@xenhost and I get
 > > error "/*error: End of file reading data: sh: nc: command not
 found:
 > > Input/output error"*/
 > First you need to be able to login via virsh (before trying to
 import via
 > oVirt).
 >
 > I never encounter this error before,
 > I guess that nc is netcat...,
 > try to install nmap-ncat:
 > $ dnf info nmap-ncat
 >
 > Adding Richard which may have more input.

 Yes, you need to install 'nc' on the *target* (Xen) machine.

 This is because libvirt's ssh transport uses nc:
 
https://libvirt.org/guide/html/Application_Development_Guide-Architecture-Transports.html
 


 Rich.

 --
 Richard Jones, Virtualization Group, Red Hat
 http://people.redhat.com/~rjones 
 Read my programming and virtualization blog: http://rwmj.wordpress.com
 virt-builder quickly builds VMs from scratch
 http://libguestfs.org/virt-builder.1.html
 





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


Re: [ovirt-users] 3.6 : iSCSI LUN not detected

2016-08-11 Thread Kevin Goldblatt
Hi Alexis

Were you able to resolve your storage LUN issue?

Regards,


Kevin

On Wed, Aug 10, 2016 at 11:38 AM, Alexis HAUSER <
alexis.hau...@telecom-bretagne.eu> wrote:

> Hi,
>
> I am reinstalling a new Node with a new hosted-engine and I would like to
> import an iSCSI storage from a previous ovirt installation.
> However, I can see all LUN present on that iSCSI but the one I want... I
> checked from the iSCSI array and this disk still exists, it's just not
> detected from Ovirt (3.6)...
> I tried to make a new data domain and chosed that same iSCSI and it's also
> not detected.
>
> Any ideas ?
>
> I didn't remove the storage from the Engine interface on the previous
> installation, just just turned off all VMs accessing the iSCSI and
> unplugged the cable. Is it possible there is still a lock file or something
> from the previous hypervisor ?
>
>
> ___
> 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] time zone

2016-08-11 Thread Vinzenz Feenstra

> On Aug 11, 2016, at 8:39 AM, Michal Skrivanek  
> wrote:
> 
> 
>> On 10 Aug 2016, at 21:15, Fernando Fuentes  wrote:
>> 
>> Team,
>> 
>> My vms are coming up with an exclamation mark saying that the guest time
>> zone differs from the configuration.
>> 
>> My linux vms are not doing this. Only my windows vm.
>> 
>> On windows I have it set for CST just like the configuration.
> 
> sounds ok
> 
>> The hosts are on CST as well.
> 
> host TZ doesn’t matter, it’s comparing setting in oVirt VM dialog with what 
> the guest agent sees inside the VM
> 
>> Any ideas?
> 
> Most often it’s obsolete/old/outdated guest tools 
or missing
> 
> Thanks,
> michal
> 
>> 
>> This is Ovirt 4.0.1
>> 
>> Regards,
>> 
>> 
>> -- 
>> Fernando Fuentes
>> ffuen...@txweather.org
>> http://www.txweather.org
>> ___
>> 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] Importing VM from Xen Server 6.5

2016-08-11 Thread Shahar Havivi
On 10.08.16 19:40, Anantha Raghava wrote:
> Hello Richard / Shahar,
> 
> I installed and enabled nc on Xen Server host. Now the " .. sh: nc:
> command not found: Input/output error" is gone. Communication is
> established. However I am still getting two specific errors:
> 
> VDSM ovirt_engine command failed: End of file while reading data: :
> Input/Output error
> 
> &
> 
> Failed to retrieve VMs Information from the external server
> xen+ssh://root@192.168.1.40
> 
> I am receiving the same error when I run virsh -c
> xen+ssh://root@192.168.1.40
> 
> Screen shot is attached for quick reference.
> 
> Is it something to do with firewall / ip tables on xen server or libvirtd
> host?
Hi,
You don't need to try it on oVirt when 'virsh -c' doesn't work since oVirt try
to connect via libvirt libraries (same as virsh) before it called virt-v2v.

Did you follow all the steps in the wiki?
Are you able to ssh to the Xen server from the vdsm machine that you try to
run virsh without password? (ssh root@192.168.1.40)

> 
> -- 
> 
> Thanks & Regards,
> 
> Anantha Raghava
> 
> 
> Do not print this e-mail unless required. Save Paper & trees.
> 
> On Wednesday 10 August 2016 06:04 PM, Anantha Raghava wrote:
> > 
> > Hi,
> > 
> > Let me try this and post the results here.
> > 
> > Regards,
> > Ananth
> > 
> > On 10 Aug 2016 15:28, "Richard W.M. Jones"  > > wrote:
> > 
> > On Wed, Aug 10, 2016 at 09:45:52AM +0300, Shahar Havivi wrote:
> > > On 10.08.16 06:45, Anantha Raghava wrote:
> > > > Hi,
> > > >
> > > > I even attempted to run command virsh -c
> > xen+ssh://root@xenhost and I get
> > > > error "/*error: End of file reading data: sh: nc: command not
> > found:
> > > > Input/output error"*/
> > > First you need to be able to login via virsh (before trying to
> > import via
> > > oVirt).
> > >
> > > I never encounter this error before,
> > > I guess that nc is netcat...,
> > > try to install nmap-ncat:
> > > $ dnf info nmap-ncat
> > >
> > > Adding Richard which may have more input.
> > 
> > Yes, you need to install 'nc' on the *target* (Xen) machine.
> > 
> > This is because libvirt's ssh transport uses nc:
> > 
> > https://libvirt.org/guide/html/Application_Development_Guide-Architecture-Transports.html
> > 
> > 
> > 
> > Rich.
> > 
> > --
> > Richard Jones, Virtualization Group, Red Hat
> > http://people.redhat.com/~rjones 
> > Read my programming and virtualization blog: http://rwmj.wordpress.com
> > virt-builder quickly builds VMs from scratch
> > http://libguestfs.org/virt-builder.1.html
> > 
> > 
> 


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