Re: [ovirt-users] 64 bits oVirtGuestAgent.exe at 99% CPU

2014-07-10 Thread Vinzenz Feenstra

On 07/10/2014 03:52 PM, Angel Docampo wrote:
I also already used the ovirt windows guest tools iso. I did installed 
a brand new windows 7 and installed the ovirt windows guest tools via 
iso, but when we started our kvm virtual machine adding this parameter:


-chardev 
socket,id=ovirtagent,path=/tmp/104.com.redhat.vdsm,server,nowait 
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -device 
virtserialport,chardev=ovirtagent,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port1



This is how ours would look like:

-chardev 
socket,id=charchannel0,path=/tmp/104.com.redhat.rhevm.vdsm,server,nowait
-device 
virtserialport,bus=virtio-serial0.0,*nr=1,*chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm

-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6

Notice how the 'nr=1' seems to be missing from yours, not sure though 
that this is the reason but might be.


was when the CPU fired to 100% (1CPU) or 50% (2CPUs) Perhaps we put 
something wrong on that...


If you set those parameters, you vCPU is not fired to 50% or 100%?


El jue 10 jul 2014 15:46:17 CEST, Vinzenz Feenstra escribió:

On 07/10/2014 03:24 PM, Angel Docampo wrote:

Of course, Vinzenz

The VM is a Windows 7 (I've tried both 32 and 64 bits, same result).
The C:\Windows\SysWOW64\rhev-agent log says:

Dummy-1::INFO::2014-07-10
14:35:57,417::OVirtGuestService::80::root::Starting OVirt Guest Agent
service

After look at the code, perhaps the problem may come on the run()
function in OvirtAgentLogic.py
def run(self):
   logging.debug("AgentLogicBase:: run() entered")
   thread.start_new_thread(self.doListen, ())
   thread.start_new_thread(self.doWork, ())
   # Yuck! It's seem that Python block all signals when executing
   # a "real" code. So there is no way just to sit and wait (with
   # no timeout).
   # Try breaking out from this code snippet:
   # $ python -c "import threading; threading.Event().wait()"
   while not self.wait_stop.isSet():
   self.wait_stop.wait(1)

Where this "while" is evaluating itself each second... besides the
wait function of the python module

By commenting  thread.start_new_thread(self.doWork, ()) the CPU has a
normal level when the service starts, but when we make a petition
through the host socket, the VM CPU goes to 100%.

Hope this helps, if you need any action from me, please tell me.

Hmm this is really strange, I am running the guest agent pretty
regularly on Windows 7 and I never noticed anything like this.

Could you please try to use the ovirt windows guest tools iso to
install the guest agent?
I am somehow surprised about the issue you're seeing.



Regards,

El jue 10 jul 2014 08:56:55 CEST, Vinzenz Feenstra escribió:

On 07/08/2014 09:15 AM, Angel Docampo wrote:

I just realized that my 64bit machine has 1 CPU and my 32bit machine
has two. If I set two processors to the 64bit machine,
oVirtGuestAgent.exe process eats a 50% CPU, not 100%, exactly like
the 32bit machine...
So I think there is a problem in the implementation of the agent. As
I'm not a developer myself, I cannot help to improve the agent.
Can I reduce the amount of CPU consumed by the process doing
something, like change the CPU virtualization (at the moment, is host
emulation), or something else?


The most interesting information for me really would be what version
of Windows you're using exactly.
I have never seen the guest agent running on that high CPU so I would
need some more information.

It'd be great if you could enable debug logging and restart the
service (or VM) and get me the logs after it is spiking the CPU so
much.

Thanks.




El 07/07/14 15:50, Angel Docampo escribió:

Hello everybody,

This is my very first email here. I've just compiled both 32 and 64
bits oVirtGuestAgent in order to make SSO from my application to a
Windows VM.

32 bits works flawlessly, I can login, logout and lock screen at the
moment, but the 64 bits version cannot login (but can lock screen
and logout) and the worse of all, puts the VM CPU at 99%, making it
useless.

Anyone has experieced this? Or give me some guidance to investigate?

Thank you!
--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381


Nota Legal 


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


--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381



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



--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community
collaboration.
See how it works at redhat.com


--




Re: [ovirt-users] python-pthreading 0.1.3-2

2014-07-10 Thread Marcelo Barbosa
Douglas,

  I tested it and it worked for me.

Thanks,

firemanxbr


On Thu, Jul 10, 2014 at 2:45 PM, Douglas Schilling Landgraf <
dougsl...@redhat.com> wrote:

> Hi,
>
> python-pthreading 0.1.3-2 is available to test. Please help giving karmas
> to achieve this version to stable branch as soon as possible.
>
> Changes included:
> - monkey_patch: Fail if it is too late to monkey-patch
> - Add the missing locked() interface
>
>
> F19:
> https://admin.fedoraproject.org/updates/python-pthreading-0.1.3-2.fc19
>
> F20:
> https://admin.fedoraproject.org/updates/python-pthreading-0.1.3-2.fc20
>
> EL6:
> https://admin.fedoraproject.org/updates/python-pthreading-0.1.3-2.el6
>
> --
> Cheers
> Douglas
> ___
> 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] Build ovirt-node problem

2014-07-10 Thread yangtao
Dear  Guys,

Firstly, sorry to touble you!  I meet one problem when I build the ovirt-node 
as ISO image.
I do it step by step according to the Noe Building in the ovirt website. 
However, The ISO image
that is built by me doesn't work. 

Could anyone give me some suggestion about how to buld the ovirt-node as ISO 
image? Thanks!

Best Regards!
Tao___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with hosted engine setup on VLAN/bond combo

2014-07-10 Thread Robert Story
On Thu, 10 Jul 2014 11:02:45 -0500 Chris wrote:
CA> I am trying to install oVirt with the hosted engine.  The physical
CA> system is CentOS 6.5 x86_64 (with all current updates).  It is connected
CA> to a two-switch stack via bond0 (running LACP), which is a VLAN trunk,
CA> and the management interface is vlan51.
CA> 
CA> This doesn't work with oVirt 3.4.2, but I see that both 3.4.3 and 3.5
CA> have "support engine on bond" and "support engine on vlan" in the
CA> release notes, so I tried again with today's 3.4.3 RC.  I got a
CA> different error from "hosted-engine --deploy":

Have you tried setting up the ovirtmgmt bridge manually? (see
http://www.ovirt.org/Installing_VDSM_from_rpm#Configuring_the_bridge_Interface)

I set up my 3.4.2 ovirtmgmt interface as a bridge to a vlan before
installation, and it worked fine.


Robert

-- 
Senior Software Engineer @ Parsons


signature.asc
Description: PGP signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Best way to clone host

2014-07-10 Thread Douglas Schilling Landgraf

On 07/09/2014 02:46 AM, noc wrote:

On 9-7-2014 3:23, Douglas Schilling Landgraf wrote:

Hi Brad,

On 07/08/2014 04:25 PM, Brad Bendy wrote:

That worked, didnt see that vdsm.id file in there.

At that point I just added the host in the manager like I normally
would and boom it's up!

Can I add this to the documentation somewhere so this is for public use?


Yes, into the wiki page:
wiki.ovirt.org

I think it is a common enough problem to add a RFE for it to do it
during host-deploy, agreed Douglas??


Yes, make sense. Please open a RFE.

Thanks!

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


Re: [ovirt-users] Upgrade to 3.4.2 failed

2014-07-10 Thread Demeter Tibor
Hi,
Yes, I could make an upgrade succesful.
It was easy.
First, I started the ovirt-engine service and second I could remove the extra 
users by ovirt user manager.
Thank you for your help.

Best regards,
Tibor


ok helyesbítését, illetve törlését írásos kérelemben a fenti e-mail címen. 




- Eredeti üzenet -
> Sorry for the late reply - was this solved?
> --
> Didi
> 
> - Original Message -
> > From: "Demeter Tibor" 
> > To: "Yedidyah Bar David" 
> > Cc: users@ovirt.org, "Yair Zaslavsky" 
> > Sent: Tuesday, June 24, 2014 7:36:31 PM
> > Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed
> > 
> > Hi,
> > Thank you for your help.
> > 
> > Please help me in psql how can I drop the second record because I don't
> > know
> > how can I made it.
> > 
> > Best Regards,
> > 
> > 
> > 
> > Demeter Tibor
> > 
> > 
> > - Eredeti üzenet -
> > > - Original Message -
> > > > From: "Demeter Tibor" 
> > > > To: "Yedidyah Bar David" 
> > > > Cc: users@ovirt.org
> > > > Sent: Friday, June 20, 2014 10:00:43 AM
> > > > Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed
> > > > 
> > > > Ok, I have listed my databases:
> > > > 
> > > > 
> > > > postgres-# \list
> > > >   List of databases
> > > >  Name  | Owner | Encoding |  Collation
> > > >  |
> > > >  Ctype|   Access privileges
> > > > ---+---+--+-+-+---
> > > >  engine_20140130075536 | engine_20140130075536 | UTF8 | en_US.UTF-8
> > > >  |
> > > >  en_US.UTF-8 |
> > > >  ovirt_engine_history  | ovirt_engine_history  | UTF8 | en_US.UTF-8
> > > >  |
> > > >  en_US.UTF-8 |
> > > >  ovirt_engine_reports  | ovirt_engine_reports  | UTF8 | en_US.UTF-8
> > > >  |
> > > >  en_US.UTF-8 |
> > > >  postgres  | postgres  | UTF8 | en_US.UTF-8
> > > >  |
> > > >  en_US.UTF-8 |
> > > >  template0 | postgres  | UTF8 | en_US.UTF-8
> > > >  |
> > > >  en_US.UTF-8 | =c/postgres
> > > > 
> > > >   :
> > > > 
> > > >   postgres=CTc/postgres
> > > >  template1 | postgres  | UTF8 | en_US.UTF-8
> > > >  |
> > > >  en_US.UTF-8 | =c/postgres
> > > > 
> > > >   :
> > > > 
> > > >   postgres=CTc/postgres
> > > > 
> > > > ... and I have used these command for engine_2014
> > > > 
> > > > -bash-4.1$ psql engine_20140130075536
> > > > Password:
> > > > psql (8.4.20)
> > > > Type "help" for help.
> > > > 
> > > > engine_20140130075536=# select count(*), external_id from users group
> > > > by
> > > > external_id having count(*)>1;
> > > >  count |external_id
> > > > ---+---
> > > >  2 | \031\250_\336\265\234\021\343\2168\000\032JP_\022
> > > > (1 row)
> > > 
> > > Ok, so there lies your problem...
> > > 
> > > You have two users (in the ovirt engine db) that use the same external
> > > id.
> > > 
> > > Not sure what's the best way to proceed. If you do not use them, might be
> > > simplest to just drop them. If you use one and not the other, might be
> > > possible
> > > to drop the unused one, but this might be a bit more delicate. If you use
> > > both,
> > > I think you should somehow change the external id of one of them.
> > > 
> > > Also not sure if this condition is expected or a result of some bug.
> > > 
> > > Adding Yair, the owner of [1]. Yair - any idea how to proceed?
> > > 
> > > [1] http://www.ovirt.org/Features/Authentication-Rewrite
> > > 
> > > Best regards,
> > > --
> > > Didi
> > > 
> > > > 
> > > > 
> > > > Tibor
> > > > 
> > > > 
> > > > - Eredeti üzenet -
> > > > > Hi,
> > > > > 
> > > > > I got this:
> > > > > 
> > > > > -bash-4.1$ psql engine
> > > > > Password:
> > > > > psql: FATAL:  database "engine" does not exist
> > > > > 
> > > > > Is this mean, my engine database does not exist?
> > > > > 
> > > > > Thanks,
> > > > > 
> > > > > Tibor
> > > > > 
> > > > > 
> > > > > - Eredeti üzenet -
> > > > > > Hi,
> > > > > > 
> > > > > > - Original Message -
> > > > > > > From: "Demeter Tibor" 
> > > > > > > To: "Yedidyah Bar David" 
> > > > > > > Cc: users@ovirt.org
> > > > > > > Sent: Wednesday, June 18, 2014 7:37:24 PM
> > > > > > > Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed
> > > > > > > 
> > > > > > > Hi,
> > > > > > > 
> > > > > > > Yes, I have a FreeIPA server, but it was a running virtual server
> > > > > > > on
> > > > > > > ovirt
> > > > > > > :)
> > > > > > > Yes, I know, it was a stupid idea,
> > > > > > 
> > > > > > Not necess

[ovirt-users] [Documentation] Assistance Needed with User-Facing Documentation

2014-07-10 Thread Brian Proffitt
All:

The Red Hat ECS team has made a great effort to convert some of the more 
important downstream documentation to a MediaWiki format that we can post on 
oVirt.org as an official set of user- and admin-facing documentation. This is 
being done as a bootstrapping effort to get our upstream documentation up to 
date and take a big step towards making the upstream documentation the 
canonical source for documentation in the near future.

Before that can happen, we need to get this RHEV-oriented information ported 
over to oVirt nomenclature and screenshots taken for oVirt and added to the 
documents as well.

I have placed the three guides

* Administration Guide[1]
* User's Guide[2]
* Installation Guide[3]

on the oVirt site as unlinked pages. General wording has been changed from RHEV 
to oVirt, but not always. Each of these documents must be reviewed and 
completely adapted to oVirt 3.4 before they can be posted as official 
documentation. Specifically:

* Review all text to ensure proper steps and descriptions for oVirt features 
and procedures
* Review all text to remove downstream-specific text
* Review all code for changes in package names on on-screen displays
* Replace all downstream RHEV screenshots with upstream oVirt 3.4 screenshots 
(Max width: 1024px)

I will be stepping through these documents to edit them in more detail under 
these guidelines, but help is most assuredly needed, in order to get this done 
in a timely manner. oVirt.org wiki users can visit these pages, review them, 
and add their changes. MediaWiki has limited version control, so it would be 
best to edit sections instead of entire documents, to minimize stepping on 
others' changes. Editing by section will also help us track the sections that 
have been edited, using the pages' histories. 

Thank you in advance for all of your help on this project... when finished, 
this will represent a significant improvement to oVirt's documentation, and 
make oVirt that much easier to use.

Peace,
Brian

[1] http://www.ovirt.org/DraftAdministrationGuide
[2] http://www.ovirt.org/DraftUserGuide
[3] http://www.ovirt.org/DraftInstallationGuide

-- 
Brian Proffitt

oVirt Community Manager
Project Atomic Community Lead
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 574 383 9BKP
IRC: bkp @ OFTC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] python-pthreading 0.1.3-2

2014-07-10 Thread Douglas Schilling Landgraf

Hi,

python-pthreading 0.1.3-2 is available to test. Please help giving 
karmas to achieve this version to stable branch as soon as possible.


Changes included:
- monkey_patch: Fail if it is too late to monkey-patch
- Add the missing locked() interface


F19:
https://admin.fedoraproject.org/updates/python-pthreading-0.1.3-2.fc19

F20:
https://admin.fedoraproject.org/updates/python-pthreading-0.1.3-2.fc20

EL6:
https://admin.fedoraproject.org/updates/python-pthreading-0.1.3-2.el6

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


[ovirt-users] Problem with hosted engine setup on VLAN/bond combo

2014-07-10 Thread Chris Adams
I am trying to install oVirt with the hosted engine.  The physical
system is CentOS 6.5 x86_64 (with all current updates).  It is connected
to a two-switch stack via bond0 (running LACP), which is a VLAN trunk,
and the management interface is vlan51.

This doesn't work with oVirt 3.4.2, but I see that both 3.4.3 and 3.5
have "support engine on bond" and "support engine on vlan" in the
release notes, so I tried again with today's 3.4.3 RC.  I got a
different error from "hosted-engine --deploy":

[ ERROR ] Failed to execute stage 'Misc configuration': Command 
'/usr/bin/vdsClient' failed to execute

I see this in /var/log/vdsm/supervdsm.log:


MainProcess|Thread-16::INFO::2014-07-10 
10:20:23,003::configNetwork::275::root::(addNetwork) Adding network ovirtmgmt 
with vlan=51, bonding=None, nics=['bond0'], bondingOptions=None, mtu=None, 
bridged=True, defaultRoute=True,options={'bootproto': 'static', 'ONBOOT': 'yes'}
MainProcess|Thread-16::ERROR::2014-07-10 
10:20:23,003::supervdsmServer::100::SuperVdsm.ServerCallback::(wrapper) Error 
in addNetwork
Traceback (most recent call last):
  File "/usr/share/vdsm/supervdsmServer", line 98, in wrapper
res = func(*args, **kwargs)
  File "/usr/share/vdsm/supervdsmServer", line 190, in addNetwork
return configNetwork.addNetwork(bridge, **options)
  File "/usr/share/vdsm/configNetwork.py", line 186, in wrapped
return func(*args, **kwargs)
  File "/usr/share/vdsm/configNetwork.py", line 287, in addNetwork
blockingdhcp=blockingdhcp, **options)
  File "/usr/share/vdsm/configNetwork.py", line 121, in objectivizeNetwork
topNetDev = Nic(nic, configurator, mtu=mtu, _netinfo=_netinfo)
  File "/usr/share/vdsm/netmodels.py", line 80, in __init__
raise ConfigNetworkError(ne.ERR_BAD_NIC, 'unknown nic: %s' % name)
ConfigNetworkError: (23, 'unknown nic: bond0')


Is there maybe still a problem combining a VLAN on a bond?


A little background (if it helps): this is my first attempt with oVirt.
I'm installing on a clean CentOS install on a spare box, with the intent
to get oVirt up and running and then convert (one node at a time) an
existing VM setup (running old stand-alone Xen installs) to oVirt.

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


Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Sven Kieske
Am 10.07.2014 17:28, schrieb Juan Hernandez:
> Did you consider using templates and pools?

Actually I'm using templates, but not pools
as I don't do this VDI stuff where it applies
the most.

Setup of the vms does work via cloud-init, also
via rest.

So I can really just encourage you to automate this :)
It works, but it takes some time.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Juan Hernandez
On 07/10/2014 05:28 PM, Juan Hernandez wrote:
> On 07/10/2014 05:07 PM, Sven Kieske wrote:
>> Well there is no guide on the web which I'm aware of.
>> But to my experience, scripting the shell has it's limitations
>> you might want to try the python sdk, which is more useful
>> or if you need some webapp anyway use the rest api.
>> you could also script the rest api using e.g. curl
>> but I wouldn't recommend that.
>>
>> there is documentation on this here:
>>
>> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/index.html
>>
>> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Command_Line_Shell_Guide/index.html
>>
>> you can basically substitute rhev with ovirt.
>>
>> there still seems to be no updated dev guides for 3.4 though.
>>
> 
> The location of that documentation has changed a bit for 3.4:
> 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Technical_Guide/part-The_REST_Application_Programming_Interface.html
> 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Technical_Guide/part-The_Command_Line_Interface.html
> 
>> I have automated everything via REST, as I have php devs
>> who did the work ;)
>>
>> There are still some things you can't do via rest, like
>> creating network qos entities (attaching them to a vm works
>> but you need to create them manually).
>>
>> But in the future everything will use rest, so I guess this
>> is the best way to go.
>>
>> HTH
>>
>> Am 10.07.2014 16:46, schrieb Steve Kilduff:
>>> Excellent, thanks for the quick reply guys.
>>>
>>> I am trying to automate 100 vm creations so... If anyone has a good guide
>>> that exists I would be very appreciative, otherwise I will keep tipping
>>> away :)
>>>
>>> Steve
>>
> 
> Did you consider using templates and pools?
> 
> 

If you have a template with all the characteristics you need, you can
easily create the 100 VMs with a Python script like this:

#!/usr/bin/python

import ovirtsdk.api
import ovirtsdk.xml

# Connect to the server:
api = ovirtsdk.api.API(
url="https://rhel.example.com/ovirt-engine/api";,
username="admin@internal",
password="**",
insecure=True,
debug=False,
)

# Locate the cluster:
cluster = api.clusters.get(name="mycluster")
cluster = ovirtsdk.xml.params.Cluster(id=cluster.get_id())

# Locate the template:
template = api.templates.get(name="mytemplate")
template = ovirtsdk.xml.params.Template(id=template.get_id())

# Create the VMs:

for i in range(0, 99):
name = "vm%d" % i
print("Creating VM %s ..." % name)
vm = ovirtsdk.xml.params.VM(name=name, cluster=cluster,
template=template)
api.vms.add(vm)

# Disconnect:
api.disconnect()

--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Juan Hernandez
On 07/10/2014 05:07 PM, Sven Kieske wrote:
> Well there is no guide on the web which I'm aware of.
> But to my experience, scripting the shell has it's limitations
> you might want to try the python sdk, which is more useful
> or if you need some webapp anyway use the rest api.
> you could also script the rest api using e.g. curl
> but I wouldn't recommend that.
> 
> there is documentation on this here:
> 
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/index.html
> 
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Command_Line_Shell_Guide/index.html
> 
> you can basically substitute rhev with ovirt.
> 
> there still seems to be no updated dev guides for 3.4 though.
> 

The location of that documentation has changed a bit for 3.4:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Technical_Guide/part-The_REST_Application_Programming_Interface.html

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Technical_Guide/part-The_Command_Line_Interface.html

> I have automated everything via REST, as I have php devs
> who did the work ;)
> 
> There are still some things you can't do via rest, like
> creating network qos entities (attaching them to a vm works
> but you need to create them manually).
> 
> But in the future everything will use rest, so I guess this
> is the best way to go.
> 
> HTH
> 
> Am 10.07.2014 16:46, schrieb Steve Kilduff:
>> Excellent, thanks for the quick reply guys.
>>
>> I am trying to automate 100 vm creations so... If anyone has a good guide
>> that exists I would be very appreciative, otherwise I will keep tipping
>> away :)
>>
>> Steve
> 

Did you consider using templates and pools?


-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Sven Kieske
Well there is no guide on the web which I'm aware of.
But to my experience, scripting the shell has it's limitations
you might want to try the python sdk, which is more useful
or if you need some webapp anyway use the rest api.
you could also script the rest api using e.g. curl
but I wouldn't recommend that.

there is documentation on this here:

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/index.html

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Command_Line_Shell_Guide/index.html

you can basically substitute rhev with ovirt.

there still seems to be no updated dev guides for 3.4 though.

I have automated everything via REST, as I have php devs
who did the work ;)

There are still some things you can't do via rest, like
creating network qos entities (attaching them to a vm works
but you need to create them manually).

But in the future everything will use rest, so I guess this
is the best way to go.

HTH

Am 10.07.2014 16:46, schrieb Steve Kilduff:
> Excellent, thanks for the quick reply guys.
> 
> I am trying to automate 100 vm creations so... If anyone has a good guide
> that exists I would be very appreciative, otherwise I will keep tipping
> away :)
> 
> Steve

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Steve Kilduff
Excellent, thanks for the quick reply guys.

[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
backend --name eth5 --mac-address '00:1a:4a:f3:43:be'

id : 1d6f963c-3fee-48ac-88cd-963055666bb8
name   : eth5
active : True
interface  : virtio
linked : True
mac-address: 00:1a:4a:f3:43:be
network-id : 06b43265-4bfa-4a63-a9cc-3e5af9ad8493
plugged: True
vm-id  : 54d5deb2-0547-4a1e-8657-1fc8e1fe61e7
vnic_profile-id: 12b9a3fe-cad3-4ca8-8212-a936df966012

I am trying to automate 100 vm creations so... If anyone has a good guide
that exists I would be very appreciative, otherwise I will keep tipping
away :)


On Thu, Jul 10, 2014 at 4:28 PM, Sven Kieske  wrote:

>
>
> Am 10.07.2014 16:07, schrieb Steve Kilduff:
> > Hi All,
> >
> > Trying to add a nic to a vm with a specific mac address.
> >
> > [oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
> > backend --name eth4 --mac-address HH:HH:EE:HH:HH:01
>
> afaik you just need to put "" around your mac, but I'm not 100% sure.
> I seem to have deleted the code where I stumbled across the
> same problem :(
>
> Adding Juan who should be able answer this.
>
> --
> Mit freundlichen Grüßen / Regards
>
> Sven Kieske
>
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Juan Hernandez
On 07/10/2014 04:07 PM, Steve Kilduff wrote:
> Hi All,
> 
> Trying to add a nic to a vm with a specific mac address.
> 
> [oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
> backend --name eth4 --mac-address HH:HH:EE:HH:HH:01
> 
>    ERROR =
>   status: 400
>   reason: Bad Request
>   detail: MAC address must be in format "HH:HH:HH:HH:HH:HH" where H is a
> hexadecimal character (either a digit or A-F, case is insignificant).
>   =
> 
> 
> Also interesting is when I change the beginning of the mac address to 00
> instead of HH, I get :
> 
> [oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
> backend --name eth4 --mac-address 01:HH:EE:HH:HH:01
>    ERROR
> ==
>wrong number of arguments, try 'help add' for help.
>  
> =
> 
> 
> 
> I have tried some things like enclosing in single and double quotes but
> no success.
> 
> I have also tried to read the help sections on the shell interface but I
> also could not figure it out.
> 
> Thanks in advance,
> 

There are two issues here. One is that currently the CLI doesn't work
correctly with parameters that start with a number, as the lexer splits
it into a number and a word, and then it thinks that there are two
parameters instead of one. We have a bug (a RHEV bug, it it affects
oVirt as well) for that already:

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

You can workaround this using quotes, either simple or double.

The other issue is that you are probably a *multicast* MAC address. That
is what the server is actually checking, not just that it is
syntactically correct. This basically means that the eight bit can't be
1, as that is what indicates multicast. Just make sure that you use a
MAC address whose second character isn't an odd number. For example,
this will fail:

  # add nic --vm-identifier ov31 --network-name backend --name eth4
--mac-address '01:01:01:01:01:01'

But this will succeed:

  # add nic --vm-identifier ov31 --network-name backend --name eth4
--mac-address '00:01:01:01:01:01'

The error message could be better. You may want to open a bug requesting
an improvement.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Sven Kieske


Am 10.07.2014 16:07, schrieb Steve Kilduff:
> Hi All,
> 
> Trying to add a nic to a vm with a specific mac address.
> 
> [oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
> backend --name eth4 --mac-address HH:HH:EE:HH:HH:01

afaik you just need to put "" around your mac, but I'm not 100% sure.
I seem to have deleted the code where I stumbled across the
same problem :(

Adding Juan who should be able answer this.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [ANN] oVirt 3.4.3 Release Candidate is now available

2014-07-10 Thread Sandro Bonazzola
The oVirt development team is pleased to announce the
availability of oVirt 3.4.3 Release Candidate as of Jul 10th 2014
for testing.

oVirt is available now for Fedora 19 and Red Hat Enterprise Linux 6.5
(or similar).

This release of oVirt includes numerous bug fixes.
See the release notes [1] for a list of the new features and bugs fixed.

The new repository ovirt-3.4-rc has been updated for delivering this
release, please refer to release notes [1] for instructions on how to enable the
repository and for Installation / Upgrade instructions.

A new oVirt Live ISO will be available soon[2].

Feel free to join us testing it [3]!

[1] http://www.ovirt.org/OVirt_3.4.3_Release_Notes
[2] http://resources.ovirt.org/pub/ovirt-3.4-rc/iso/
[3] http://www.ovirt.org/Testing/oVirt_3.4.3_Testing

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


[ovirt-users] ovirt-shell

2014-07-10 Thread Steve Kilduff
Hi All,

Trying to add a nic to a vm with a specific mac address.

[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
backend --name eth4 --mac-address HH:HH:EE:HH:HH:01

   ERROR =
  status: 400
  reason: Bad Request
  detail: MAC address must be in format "HH:HH:HH:HH:HH:HH" where H is a
hexadecimal character (either a digit or A-F, case is insignificant).
  =


Also interesting is when I change the beginning of the mac address to 00
instead of HH, I get :

[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
backend --name eth4 --mac-address 01:HH:EE:HH:HH:01
   ERROR
==
   wrong number of arguments, try 'help add' for help.

=



I have tried some things like enclosing in single and double quotes but no
success.

I have also tried to read the help sections on the shell interface but I
also could not figure it out.

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


[ovirt-users] oVirt Blogs This Week

2014-07-10 Thread Brian Proffitt
Some reading for you as we head towards the weekend!

Maor Lipchuk delivers a brief update on the status of Google Summer of Code[1].

A round up of some of the new features coming to oVirt 3.5[2].

Remember, you can follow us on these social media channels to get the latest 
news and chatter about oVirt!

* Twitter[3]
* Google+[4]
* Facebook[5]


[1] http://community.redhat.com/blog/2014/07/ovirt-google-summer-of-code-update/
[2] http://community.redhat.com/blog/2014/07/ovirt-community-update-july-2014/
[3] https://twitter.com/ovirt
[4] https://plus.google.com/u/0/communities/109346090491400112913
[5] https://www.facebook.com/groups/ovirt.openvirtualization/


-- 
Brian Proffitt

oVirt Community Manager
Project Atomic Community Lead
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 574 383 9BKP
IRC: bkp @ OFTC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] 64 bits oVirtGuestAgent.exe at 99% CPU

2014-07-10 Thread Angel Docampo
I also already used the ovirt windows guest tools iso. I did installed 
a brand new windows 7 and installed the ovirt windows guest tools via 
iso, but when we started our kvm virtual machine adding this parameter:


-chardev 
socket,id=ovirtagent,path=/tmp/104.com.redhat.vdsm,server,nowait 
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -device 
virtserialport,chardev=ovirtagent,name=com.redhat.rhevm.vdsm,bus=virtio-serial0.0,id=port1


was when the CPU fired to 100% (1CPU) or 50% (2CPUs) Perhaps we put 
something wrong on that...


If you set those parameters, you vCPU is not fired to 50% or 100%?


El jue 10 jul 2014 15:46:17 CEST, Vinzenz Feenstra escribió:

On 07/10/2014 03:24 PM, Angel Docampo wrote:

Of course, Vinzenz

The VM is a Windows 7 (I've tried both 32 and 64 bits, same result).
The C:\Windows\SysWOW64\rhev-agent log says:

Dummy-1::INFO::2014-07-10
14:35:57,417::OVirtGuestService::80::root::Starting OVirt Guest Agent
service

After look at the code, perhaps the problem may come on the run()
function in OvirtAgentLogic.py
def run(self):
   logging.debug("AgentLogicBase:: run() entered")
   thread.start_new_thread(self.doListen, ())
   thread.start_new_thread(self.doWork, ())
   # Yuck! It's seem that Python block all signals when executing
   # a "real" code. So there is no way just to sit and wait (with
   # no timeout).
   # Try breaking out from this code snippet:
   # $ python -c "import threading; threading.Event().wait()"
   while not self.wait_stop.isSet():
   self.wait_stop.wait(1)

Where this "while" is evaluating itself each second... besides the
wait function of the python module

By commenting  thread.start_new_thread(self.doWork, ()) the CPU has a
normal level when the service starts, but when we make a petition
through the host socket, the VM CPU goes to 100%.

Hope this helps, if you need any action from me, please tell me.

Hmm this is really strange, I am running the guest agent pretty
regularly on Windows 7 and I never noticed anything like this.

Could you please try to use the ovirt windows guest tools iso to
install the guest agent?
I am somehow surprised about the issue you're seeing.



Regards,

El jue 10 jul 2014 08:56:55 CEST, Vinzenz Feenstra escribió:

On 07/08/2014 09:15 AM, Angel Docampo wrote:

I just realized that my 64bit machine has 1 CPU and my 32bit machine
has two. If I set two processors to the 64bit machine,
oVirtGuestAgent.exe process eats a 50% CPU, not 100%, exactly like
the 32bit machine...
So I think there is a problem in the implementation of the agent. As
I'm not a developer myself, I cannot help to improve the agent.
Can I reduce the amount of CPU consumed by the process doing
something, like change the CPU virtualization (at the moment, is host
emulation), or something else?


The most interesting information for me really would be what version
of Windows you're using exactly.
I have never seen the guest agent running on that high CPU so I would
need some more information.

It'd be great if you could enable debug logging and restart the
service (or VM) and get me the logs after it is spiking the CPU so
much.

Thanks.




El 07/07/14 15:50, Angel Docampo escribió:

Hello everybody,

This is my very first email here. I've just compiled both 32 and 64
bits oVirtGuestAgent in order to make SSO from my application to a
Windows VM.

32 bits works flawlessly, I can login, logout and lock screen at the
moment, but the 64 bits version cannot login (but can lock screen
and logout) and the worse of all, puts the VM CPU at 99%, making it
useless.

Anyone has experieced this? Or give me some guidance to investigate?

Thank you!
--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381


Nota Legal 


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


--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381



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



--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community
collaboration.
See how it works at redhat.com


--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381







--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381


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


Re: [ovirt-users] Upgrade to 3.4.2 failed

2014-07-10 Thread Yedidyah Bar David
Sorry for the late reply - was this solved?
-- 
Didi

- Original Message -
> From: "Demeter Tibor" 
> To: "Yedidyah Bar David" 
> Cc: users@ovirt.org, "Yair Zaslavsky" 
> Sent: Tuesday, June 24, 2014 7:36:31 PM
> Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed
> 
> Hi,
> Thank you for your help.
> 
> Please help me in psql how can I drop the second record because I don't know
> how can I made it.
> 
> Best Regards,
> 
> 
> 
> Demeter Tibor
> 
> 
> - Eredeti üzenet -
> > - Original Message -
> > > From: "Demeter Tibor" 
> > > To: "Yedidyah Bar David" 
> > > Cc: users@ovirt.org
> > > Sent: Friday, June 20, 2014 10:00:43 AM
> > > Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed
> > > 
> > > Ok, I have listed my databases:
> > > 
> > > 
> > > postgres-# \list
> > >   List of databases
> > >  Name  | Owner | Encoding |  Collation  |
> > >  Ctype|   Access privileges
> > > ---+---+--+-+-+---
> > >  engine_20140130075536 | engine_20140130075536 | UTF8 | en_US.UTF-8 |
> > >  en_US.UTF-8 |
> > >  ovirt_engine_history  | ovirt_engine_history  | UTF8 | en_US.UTF-8 |
> > >  en_US.UTF-8 |
> > >  ovirt_engine_reports  | ovirt_engine_reports  | UTF8 | en_US.UTF-8 |
> > >  en_US.UTF-8 |
> > >  postgres  | postgres  | UTF8 | en_US.UTF-8 |
> > >  en_US.UTF-8 |
> > >  template0 | postgres  | UTF8 | en_US.UTF-8 |
> > >  en_US.UTF-8 | =c/postgres
> > >   
> > > :
> > >   
> > > postgres=CTc/postgres
> > >  template1 | postgres  | UTF8 | en_US.UTF-8 |
> > >  en_US.UTF-8 | =c/postgres
> > >   
> > > :
> > >   
> > > postgres=CTc/postgres
> > > 
> > > ... and I have used these command for engine_2014
> > > 
> > > -bash-4.1$ psql engine_20140130075536
> > > Password:
> > > psql (8.4.20)
> > > Type "help" for help.
> > > 
> > > engine_20140130075536=# select count(*), external_id from users group by
> > > external_id having count(*)>1;
> > >  count |external_id
> > > ---+---
> > >  2 | \031\250_\336\265\234\021\343\2168\000\032JP_\022
> > > (1 row)
> > 
> > Ok, so there lies your problem...
> > 
> > You have two users (in the ovirt engine db) that use the same external id.
> > 
> > Not sure what's the best way to proceed. If you do not use them, might be
> > simplest to just drop them. If you use one and not the other, might be
> > possible
> > to drop the unused one, but this might be a bit more delicate. If you use
> > both,
> > I think you should somehow change the external id of one of them.
> > 
> > Also not sure if this condition is expected or a result of some bug.
> > 
> > Adding Yair, the owner of [1]. Yair - any idea how to proceed?
> > 
> > [1] http://www.ovirt.org/Features/Authentication-Rewrite
> > 
> > Best regards,
> > --
> > Didi
> > 
> > > 
> > > 
> > > Tibor
> > > 
> > > 
> > > - Eredeti üzenet -
> > > > Hi,
> > > > 
> > > > I got this:
> > > > 
> > > > -bash-4.1$ psql engine
> > > > Password:
> > > > psql: FATAL:  database "engine" does not exist
> > > > 
> > > > Is this mean, my engine database does not exist?
> > > > 
> > > > Thanks,
> > > > 
> > > > Tibor
> > > > 
> > > > 
> > > > - Eredeti üzenet -
> > > > > Hi,
> > > > > 
> > > > > - Original Message -
> > > > > > From: "Demeter Tibor" 
> > > > > > To: "Yedidyah Bar David" 
> > > > > > Cc: users@ovirt.org
> > > > > > Sent: Wednesday, June 18, 2014 7:37:24 PM
> > > > > > Subject: Re: [ovirt-users] Upgrade to 3.4.2 failed
> > > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > Yes, I have a FreeIPA server, but it was a running virtual server
> > > > > > on
> > > > > > ovirt
> > > > > > :)
> > > > > > Yes, I know, it was a stupid idea,
> > > > > 
> > > > > Not necessarily, if you can also use admin@internal for maintenance.
> > > > > 
> > > > > > but it's only a test system for testing
> > > > > > ovirt capabilites.
> > > > > > So, this vm (the freeipa) at this moment doesn't running and I
> > > > > > cannot
> > > > > > run
> > > > > > without ovirt.
> > > > > 
> > > > > Is ovirt down? Didn't the upgrade rollback cleanly? If not, please
> > > > > provide
> > > > > logs, it should have. If it did, you can simply 'service ovirt-engine
> > > > > start'.
> > > > > 
> > > > > > 
> > > > > > - Can I re-run this vm without ovirt?
> > > > > 
> > > > > I guess you can, but it won't be easy.
> > > > > 
> > > > > > - If no, then how can I remo

Re: [ovirt-users] 64 bits oVirtGuestAgent.exe at 99% CPU

2014-07-10 Thread Vinzenz Feenstra

On 07/10/2014 03:24 PM, Angel Docampo wrote:

Of course, Vinzenz

The VM is a Windows 7 (I've tried both 32 and 64 bits, same result).
The C:\Windows\SysWOW64\rhev-agent log says:

Dummy-1::INFO::2014-07-10 
14:35:57,417::OVirtGuestService::80::root::Starting OVirt Guest Agent 
service


After look at the code, perhaps the problem may come on the run() 
function in OvirtAgentLogic.py

def run(self):
   logging.debug("AgentLogicBase:: run() entered")
   thread.start_new_thread(self.doListen, ())
   thread.start_new_thread(self.doWork, ())
   # Yuck! It's seem that Python block all signals when executing
   # a "real" code. So there is no way just to sit and wait (with
   # no timeout).
   # Try breaking out from this code snippet:
   # $ python -c "import threading; threading.Event().wait()"
   while not self.wait_stop.isSet():
   self.wait_stop.wait(1)

Where this "while" is evaluating itself each second... besides the 
wait function of the python module


By commenting  thread.start_new_thread(self.doWork, ()) the CPU has a 
normal level when the service starts, but when we make a petition 
through the host socket, the VM CPU goes to 100%.


Hope this helps, if you need any action from me, please tell me.
Hmm this is really strange, I am running the guest agent pretty 
regularly on Windows 7 and I never noticed anything like this.


Could you please try to use the ovirt windows guest tools iso to install 
the guest agent?

I am somehow surprised about the issue you're seeing.



Regards,

El jue 10 jul 2014 08:56:55 CEST, Vinzenz Feenstra escribió:

On 07/08/2014 09:15 AM, Angel Docampo wrote:

I just realized that my 64bit machine has 1 CPU and my 32bit machine
has two. If I set two processors to the 64bit machine,
oVirtGuestAgent.exe process eats a 50% CPU, not 100%, exactly like
the 32bit machine...
So I think there is a problem in the implementation of the agent. As
I'm not a developer myself, I cannot help to improve the agent.
Can I reduce the amount of CPU consumed by the process doing
something, like change the CPU virtualization (at the moment, is host
emulation), or something else?


The most interesting information for me really would be what version
of Windows you're using exactly.
I have never seen the guest agent running on that high CPU so I would
need some more information.

It'd be great if you could enable debug logging and restart the
service (or VM) and get me the logs after it is spiking the CPU so much.

Thanks.




El 07/07/14 15:50, Angel Docampo escribió:

Hello everybody,

This is my very first email here. I've just compiled both 32 and 64
bits oVirtGuestAgent in order to make SSO from my application to a
Windows VM.

32 bits works flawlessly, I can login, logout and lock screen at the
moment, but the 64 bits version cannot login (but can lock screen
and logout) and the worse of all, puts the VM CPU at 99%, making it
useless.

Anyone has experieced this? Or give me some guidance to investigate?

Thank you!
--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381


Nota Legal 


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


--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381



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



--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community 
collaboration.

See how it works at redhat.com


--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381





--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

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


Re: [ovirt-users] 64 bits oVirtGuestAgent.exe at 99% CPU

2014-07-10 Thread Angel Docampo

Of course, Vinzenz

The VM is a Windows 7 (I've tried both 32 and 64 bits, same result).
The C:\Windows\SysWOW64\rhev-agent log says:

Dummy-1::INFO::2014-07-10 
14:35:57,417::OVirtGuestService::80::root::Starting OVirt Guest Agent 
service


After look at the code, perhaps the problem may come on the run() 
function in OvirtAgentLogic.py

def run(self):
   logging.debug("AgentLogicBase:: run() entered")
   thread.start_new_thread(self.doListen, ())
   thread.start_new_thread(self.doWork, ())
   # Yuck! It's seem that Python block all signals when executing
   # a "real" code. So there is no way just to sit and wait (with
   # no timeout).
   # Try breaking out from this code snippet:
   # $ python -c "import threading; threading.Event().wait()"
   while not self.wait_stop.isSet():
   self.wait_stop.wait(1)

Where this "while" is evaluating itself each second... besides the wait 
function of the python module


By commenting  thread.start_new_thread(self.doWork, ()) the CPU has a 
normal level when the service starts, but when we make a petition 
through the host socket, the VM CPU goes to 100%.


Hope this helps, if you need any action from me, please tell me.

Regards,

El jue 10 jul 2014 08:56:55 CEST, Vinzenz Feenstra escribió:

On 07/08/2014 09:15 AM, Angel Docampo wrote:

I just realized that my 64bit machine has 1 CPU and my 32bit machine
has two. If I set two processors to the 64bit machine,
oVirtGuestAgent.exe process eats a 50% CPU, not 100%, exactly like
the 32bit machine...
So I think there is a problem in the implementation of the agent. As
I'm not a developer myself, I cannot help to improve the agent.
Can I reduce the amount of CPU consumed by the process doing
something, like change the CPU virtualization (at the moment, is host
emulation), or something else?


The most interesting information for me really would be what version
of Windows you're using exactly.
I have never seen the guest agent running on that high CPU so I would
need some more information.

It'd be great if you could enable debug logging and restart the
service (or VM) and get me the logs after it is spiking the CPU so much.

Thanks.




El 07/07/14 15:50, Angel Docampo escribió:

Hello everybody,

This is my very first email here. I've just compiled both 32 and 64
bits oVirtGuestAgent in order to make SSO from my application to a
Windows VM.

32 bits works flawlessly, I can login, logout and lock screen at the
moment, but the 64 bits version cannot login (but can lock screen
and logout) and the worse of all, puts the VM CPU at 99%, making it
useless.

Anyone has experieced this? Or give me some guidance to investigate?

Thank you!
--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381


Nota Legal 


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


--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381



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



--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com


--



*Angel Docampo
*
*Datalab Tecnologia, s.a.*
Castillejos, 352 - 08025 Barcelona
Tel. 93 476 69 14 - Ext: 706
Mob. 670.299.381


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


Re: [ovirt-users] Disk's locked of VM

2014-07-10 Thread Andy Michielsen
Hello Vered,

Okay. That I understand. That was also what we where using but somehow
while activating the stateless state of that vm the disks got locked and
stayed that way even after a reboot. I suspect they activated the stateless
state and restarted that vm to soon.

Kind regards.
On Jul 10, 2014 10:42 AM, "Vered Volansky"  wrote:

> Hello Andy,
>
> Thanks for your reply.
> I think I understand what's going on there.
> I think your running the VM in stateless mode, which means that what
> happened is exactly what should have happened.
> When you run a VM in stateless mode, What's actually happening is that a
> snapshot is being taken and the VM runs on this snapshot. When the VM is
> rebooted the snapshot is deleted (with everything installed on it) and the
> VM goes back to the previous state (with the previous Active Image). This
> is the point of the Run stateless feature.
> If you want the installations to persist, just run the VM, not statelessly.
>
> Is it possible that this is what happened?
> lease let me know if you need any further assistance.
>
> Best Regards,
> Vered
>
>
>
> - Original Message -
> > From: "Andy Michielsen" 
> > To: "Vered Volansky" 
> > Cc: users@ovirt.org
> > Sent: Thursday, July 10, 2014 8:57:48 AM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> >
> > Hello Vered,
> >
> > Sorry for the late reply. You did more than try. With your help I
> resolved my
> > problem.
> >
> > I was busy doing my job. This is only a side thing according to my boss
> but
> > he doesn't know how much time we will safe if we have a decent and easy
> to
> > use test enviroment to see why something happen in the real world at our
> > customers.
> >
> > But anyways ...
> >
> > I have the following setup. One server with the engine on and this one
> also
> > delivers the storage via nfs.
> > On another server I have only the VDSM setup.
> >
> > When I say I'm trying to put the disk in stateless mode (off a VM
> machine) I'
> > mean that I'm trying to install new software on a VM but when I reboot
> > everything is back the way it was before the changed situation of the new
> > software.
> >
> > Kind regards.
> >
> >
> > 2014-07-06 8:27 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> >
> >
> > Hi Andy,
> >
> > Happy to (try to) help :)
> >
> > What do you mean by putting the disks in stateless mode?
> > By server do you mean the storage server, I presume?
> > If so, I can see how this might have caused corruption. Still Would like
> to
> > be sure what you mean to better understand the issue.
> > Unfortunately, vdsm log was not helpful due to the gap, but the engine
> log
> > might help out if I knew what operation I was looking for.
> > BTW, Was the vdsm log on the SPM machine? If not, and you do still have
> it
> > (or a rotation of it), I'd like to take a look and see if we have a bug
> > hiding there.
> >
> > Thanks,
> > Vered
> >
> > - Original Message -
> > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > To: "Vered Volansky" < ve...@redhat.com >
> > > Cc: users@ovirt.org
> > > Sent: Thursday, July 3, 2014 6:03:42 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > >
> > > Hello Vered,
> > >
> > > We where trying to put the disks i stateless mode and the user was
> > > impatient
> > > and also started the server.
> > > I have changed the lock status now but the machine was broken. I 'm
> already
> > > creating a new VM as these are test machines and I don't care about the
> > > data
> > > in these VM's.
> > >
> > > Thank you very much for your assistance so far. I 'm curious still what
> > > happened though so if you have questions I will give additional info if
> > > needed.
> > >
> > > Kind regards.
> > >
> > >
> > > 2014-07-03 14:57 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> > >
> > >
> > > Sorry, got sent in the middle.
> > >
> > > Andy,
> > >
> > > What operation did you try to attempt that caused the disks to lock?
> > >
> > > You do have a working engine, right?
> > > Your'e supposed to be able to see the Disks' GUIDs under the Disks
> main tab
> > > (Id column).
> > >
> > > The images GUIDs are available in the DB (images table) and through
> > > vdsClient
> > > getVolumesList   [imgUUID]
> > > imgUUID should be the disk's GUID in the engine.
> > > You should be able to get that data from vdsClient as well:
> > > getImagesList 
> > > relevant sql query:
> > > select image_guid, imagestatus from images;
> > >
> > > *image status 2 is locked...
> > >
> > > The spUUID:
> > > Either the datacenter GUID in the engine, or -
> > > vdsClient -s 0 getConnectedStoragePoolsList, or in the db:
> > > select * from storage_pool;
> > >
> > > The StorageDomain's can be retrieved either by DB (bellow) or
> vdsClient:
> > > getStorageDomainsList  (from above).
> > > sql query:
> > > select storage_name, id from storage_domains where
> > > storage_pool_id='';
> > >
> > > - Original Message -
> > > > From: "Andy Michielsen" < andy.michiel...@gmail.co

[ovirt-users] Docker containers for ovirt-engine

2014-07-10 Thread Daniel Erez
Hi,

I've created a couple of Docker images with a running ovirt-engine service
and uploaded to the Docker registry [1].

Quite useful for quickly having a ready-to-use environment (tests, demos, etc)
or to be used as a base image for building new Docker Images.
Note that currently the container is not persistent by its nature,
hence for saving changes, take use of the 'commit' functionality [2].

[1] https://registry.hub.docker.com/u/danielerez/ovirt-engine/
[2] https://docs.docker.com/reference/commandline/cli/#commit
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] virt-v2v integration feature

2014-07-10 Thread Richard W.M. Jones
On Thu, Jul 10, 2014 at 10:41:16AM +0300, Itamar Heim wrote:
> On 07/10/2014 10:29 AM, Sven Kieske wrote:
> >
> >
> >Am 09.07.2014 20:30, schrieb Arik Hadas:
> >>Hi All,
> >>
> >>The proposed feature will introduce a new process of import virtual 
> >>machines from external systems using virt-v2v in oVirt.
> >>I've created a wiki page that contains initial thoughts and design for it:
> >>http://www.ovirt.org/Features/virt-v2v_Integration
> >>
> >>You are more than welcome to share your thoughts and insights.
> >>
> >>Thanks,
> >>Arik
> >
> >Am I right that this still involves a full operational e.g. esxi host
> >to import vmware vms?
> >
> >There is a huge user demand on a simpler process for just converting and
> >importing an vmware disk image. This feature will not solve this
> >use case, will it?
> 
> I agree it should. need to check if virt-v2v can cover this. if not,
> need to fix it so it will...

>From live ESX, yes.

Offline VMware images (OVAs), not yet.  However patches are welcome.
We quite literally have no one available to implement this.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] virt-v2v integration feature

2014-07-10 Thread Sven Kieske


Am 10.07.2014 09:41, schrieb Itamar Heim:
> On 07/10/2014 10:29 AM, Sven Kieske wrote:
>>
>>
>> Am 09.07.2014 20:30, schrieb Arik Hadas:
>>> Hi All,
>>>
>>> The proposed feature will introduce a new process of import virtual
>>> machines from external systems using virt-v2v in oVirt.
>>> I've created a wiki page that contains initial thoughts and design
>>> for it:
>>> http://www.ovirt.org/Features/virt-v2v_Integration
>>>
>>> You are more than welcome to share your thoughts and insights.
>>>
>>> Thanks,
>>> Arik
>>
>> Am I right that this still involves a full operational e.g. esxi host
>> to import vmware vms?
>>
>> There is a huge user demand on a simpler process for just converting and
>> importing an vmware disk image. This feature will not solve this
>> use case, will it?
>>
>>
>
> I agree it should. need to check if virt-v2v can cover this. if not,
> need to fix it so it will...
>
>
>

Well here are the relevant BZ entries:

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

CC'ing the users from this Bugzilla entries, maybe they can add
something to gain some traction :)

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disk's locked of VM

2014-07-10 Thread Vered Volansky
Hello Andy,

Thanks for your reply.
I think I understand what's going on there.
I think your running the VM in stateless mode, which means that what happened 
is exactly what should have happened.
When you run a VM in stateless mode, What's actually happening is that a 
snapshot is being taken and the VM runs on this snapshot. When the VM is 
rebooted the snapshot is deleted (with everything installed on it) and the VM 
goes back to the previous state (with the previous Active Image). This is the 
point of the Run stateless feature.
If you want the installations to persist, just run the VM, not statelessly.

Is it possible that this is what happened?
lease let me know if you need any further assistance.

Best Regards,
Vered



- Original Message -
> From: "Andy Michielsen" 
> To: "Vered Volansky" 
> Cc: users@ovirt.org
> Sent: Thursday, July 10, 2014 8:57:48 AM
> Subject: Re: [ovirt-users] Disk's locked of VM
> 
> Hello Vered,
> 
> Sorry for the late reply. You did more than try. With your help I resolved my
> problem.
> 
> I was busy doing my job. This is only a side thing according to my boss but
> he doesn't know how much time we will safe if we have a decent and easy to
> use test enviroment to see why something happen in the real world at our
> customers.
> 
> But anyways ...
> 
> I have the following setup. One server with the engine on and this one also
> delivers the storage via nfs.
> On another server I have only the VDSM setup.
> 
> When I say I'm trying to put the disk in stateless mode (off a VM machine) I'
> mean that I'm trying to install new software on a VM but when I reboot
> everything is back the way it was before the changed situation of the new
> software.
> 
> Kind regards.
> 
> 
> 2014-07-06 8:27 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> 
> 
> Hi Andy,
> 
> Happy to (try to) help :)
> 
> What do you mean by putting the disks in stateless mode?
> By server do you mean the storage server, I presume?
> If so, I can see how this might have caused corruption. Still Would like to
> be sure what you mean to better understand the issue.
> Unfortunately, vdsm log was not helpful due to the gap, but the engine log
> might help out if I knew what operation I was looking for.
> BTW, Was the vdsm log on the SPM machine? If not, and you do still have it
> (or a rotation of it), I'd like to take a look and see if we have a bug
> hiding there.
> 
> Thanks,
> Vered
> 
> - Original Message -
> > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > To: "Vered Volansky" < ve...@redhat.com >
> > Cc: users@ovirt.org
> > Sent: Thursday, July 3, 2014 6:03:42 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> > 
> > Hello Vered,
> > 
> > We where trying to put the disks i stateless mode and the user was
> > impatient
> > and also started the server.
> > I have changed the lock status now but the machine was broken. I 'm already
> > creating a new VM as these are test machines and I don't care about the
> > data
> > in these VM's.
> > 
> > Thank you very much for your assistance so far. I 'm curious still what
> > happened though so if you have questions I will give additional info if
> > needed.
> > 
> > Kind regards.
> > 
> > 
> > 2014-07-03 14:57 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> > 
> > 
> > Sorry, got sent in the middle.
> > 
> > Andy,
> > 
> > What operation did you try to attempt that caused the disks to lock?
> > 
> > You do have a working engine, right?
> > Your'e supposed to be able to see the Disks' GUIDs under the Disks main tab
> > (Id column).
> > 
> > The images GUIDs are available in the DB (images table) and through
> > vdsClient
> > getVolumesList   [imgUUID]
> > imgUUID should be the disk's GUID in the engine.
> > You should be able to get that data from vdsClient as well:
> > getImagesList 
> > relevant sql query:
> > select image_guid, imagestatus from images;
> > 
> > *image status 2 is locked...
> > 
> > The spUUID:
> > Either the datacenter GUID in the engine, or -
> > vdsClient -s 0 getConnectedStoragePoolsList, or in the db:
> > select * from storage_pool;
> > 
> > The StorageDomain's can be retrieved either by DB (bellow) or vdsClient:
> > getStorageDomainsList  (from above).
> > sql query:
> > select storage_name, id from storage_domains where
> > storage_pool_id='';
> > 
> > - Original Message -
> > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > To: "Vered Volansky" < ve...@redhat.com >
> > > Cc: users@ovirt.org
> > > Sent: Thursday, July 3, 2014 3:09:41 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > > 
> > > Vered,
> > > 
> > > Where can I find the images GUIDs ?
> > > 
> > > Kind regards.snapshots'
> > > 
> > > 
> > > 2014-06-30 17:40 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> > > 
> > > 
> > > Or better yet, just use:
> > > 
> > > >> /share/ovirt-engine/dbscripts/unlock_entity.sh
> > > 
> > > I suppose you have the images GUIDs from engine.
> > > 
> > > BUT -
> > > If the images never g

Re: [ovirt-users] Problem Windows guests start in pause

2014-07-10 Thread Dafna Ron

can you please attach the vm's qemu logs and full vdsm + engine logs?

On 07/09/2014 06:50 PM, lucas castro wrote:

I have an Fedora host in cluster Default,
I've created another cluster with a CentOS to migrate the environment.
and all the linux guest work perfectly, but the windows guest start in 
pause on the other cluster.


the vdsm log from the CentOS host.

http://pastebin.com/AzUB2Fqy

--
contatos:
Celular: ( 99 ) 9143-5954 - Vivo
skype: lucasd3castro
msn: lucascastrobor...@hotmail.com 


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



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


Re: [ovirt-users] [ovirt-devel] virt-v2v integration feature

2014-07-10 Thread Itamar Heim

On 07/10/2014 10:29 AM, Sven Kieske wrote:



Am 09.07.2014 20:30, schrieb Arik Hadas:

Hi All,

The proposed feature will introduce a new process of import virtual machines 
from external systems using virt-v2v in oVirt.
I've created a wiki page that contains initial thoughts and design for it:
http://www.ovirt.org/Features/virt-v2v_Integration

You are more than welcome to share your thoughts and insights.

Thanks,
Arik


Am I right that this still involves a full operational e.g. esxi host
to import vmware vms?

There is a huge user demand on a simpler process for just converting and
importing an vmware disk image. This feature will not solve this
use case, will it?




I agree it should. need to check if virt-v2v can cover this. if not, 
need to fix it so it will...

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


Re: [ovirt-users] [ovirt-devel] virt-v2v integration feature

2014-07-10 Thread Itamar Heim

On 07/09/2014 09:30 PM, Arik Hadas wrote:

Hi All,

The proposed feature will introduce a new process of import virtual machines 
from external systems using virt-v2v in oVirt.
I've created a wiki page that contains initial thoughts and design for it:
http://www.ovirt.org/Features/virt-v2v_Integration

You are more than welcome to share your thoughts and insights.

Thanks,
Arik
___
Devel mailing list
de...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel




Some thoughts after reviewing:
http://www.ovirt.org/Features/virt-v2v_Integration

great to see this - its something which i hope will ease a lot 
conversion to oVirt!


adding users@ mailing list, to get feedback on the use cases.


1. Need to understand if possible to provide the VM via 'uploading
   it'[1]

2. does this really merit a provider per external system? or just
   ability to choose source path (including simple nfs/posix path
   pointing to existing kvm disks or vmware vmdk's), or URI/user
   /passowrd for such a system if vsphere/etc.?
   I'm not opposed to allowing to define providers, I would just
   remember that's a specific single use case, and would separate the
   import/convert flow from being part of the provider (i.e., on the
   import/convert flow, would allow to choose the source being a path
   or a pre-defined provider)

to sum above two points, I think the page should start with 'use cases':
- I have a KVM VM i want to 'convert' to RHEV (doesn't need full v2v,
  but libvirt-->ovf conversion?)
  the VM(s) is/are in an nfs/posix path, or i want to upload the VM.

- i have a folder with VMs/disks i want to convert (make sure this
  covers the ESXi flow)

- I have a vsphere to import VMs from

- I have Xen...

(hope to see input from users on these. I'm sure there was a thread on 
this in the past, what do you know, i started one...[2])


3. does this mean virt-v2v and all of its dependencies will be required
   by vdsm (and on ovirt-node). also, for distro's which have it, of
   the required windows components?

4. most important flow i would like to remove via this integration is
   the "double copy". i.e., if we run v2v from a host, there is no
   reason to not pre-create the VM/disks for it, and have v2v overwrite
   their content, instead of converting into the export domain just to
   perform another copy/import.
   (may mean you want virt-v2v to have a specific verb to just get the
   OVF, and a specific verb to convert a disk)

[1] we want to support upload of an iso/VM/disks in any case.
[2] http://lists.ovirt.org/pipermail/users/2014-January/019839.html

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


Re: [ovirt-users] [ovirt-devel] virt-v2v integration feature

2014-07-10 Thread Sven Kieske


Am 09.07.2014 20:30, schrieb Arik Hadas:
> Hi All,
> 
> The proposed feature will introduce a new process of import virtual machines 
> from external systems using virt-v2v in oVirt.
> I've created a wiki page that contains initial thoughts and design for it:
> http://www.ovirt.org/Features/virt-v2v_Integration
> 
> You are more than welcome to share your thoughts and insights.
> 
> Thanks,
> Arik

Am I right that this still involves a full operational e.g. esxi host
to import vmware vms?

There is a huge user demand on a simpler process for just converting and
importing an vmware disk image. This feature will not solve this
use case, will it?


-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users