Re: [Users] Python script retrieving MACs

2012-12-06 Thread Michael Pasternak
On 12/06/2012 02:22 AM, Eli Mesika wrote:
 - Original Message -
 From: Vincent Van der Kussen
 Sent: Wednesday, December 5, 2012 10:39:02 AM
 Subject: [Users] Python script retrieving MACs


 Im currently making a script using the Python SDK to retrieve a list
 of VM names + their MAC address.
 I currently came up with this

  17 vm = api.vms.list()
  20 for item in vm:
  21 hostname = item.get_name()
  22 nic = api.vms.get(name=hostname).nics.list()
  23 for net in nic:
  24 nicname = net.mac.get_address()
  25 print %s % hostname
  26 print %s % nicname

 I've noticed that retrieving the nic list during the iteration does a
 logon each time which slows thing down dramatically.
 Is there a better way to get the NICs from a list of VMs?
 Michael P wrote in another thread :
 ##if you using  3.1 backend, you should be using persistent authentication 
 in api,
 ##this way you'll have to pass JSESSIONID and login will happen only on first 
 Michael , please elaborate on that

persistent authentication available since 3.1 api,
if your backend is 3.1 or higher, sdk will use it by default,
otherwise authentication happens peer request.



 Users mailing list


Michael Pasternak
RedHat, ENG-Virtualization RD
Users mailing list

[Users] Migrate Ovirt VMs to KVM(Fedora with virt-manager)

2012-12-06 Thread Mohsen Saeedi

I want to migrate an VM from Ovirt engine to KVM. for example to
Fedora 17 and managed it with virt-manager.
I know about migrate from KVM to Ovirt but how is vice versa?

what steps required for it?


Users mailing list

[Users] iscsi mpio

2012-12-06 Thread Jonathan Horne

I just rebooted my iscsi SAN and the ovirt node 2.5.5fc17 did not enjoy that 
one bit.   Does ovirt node support multi path i/o?  Any information about this 
would be greatly appreciated.


This is a PRIVATE message. If you are not the intended recipient, please delete 
without copying and kindly advise us by e-mail of the mistake in delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to 
any order or other contract unless pursuant to explicit written agreement or 
government initiative expressly permitting the use of e-mail for such purpose.
Users mailing list

[Users] Auto-start vms on boot?

2012-12-06 Thread Adrian Gibanel
It would seem that oVirt does not provide an standard way of forcing boot of 
virtual machines at boot.

Pools can have pre-started vms as stated here:
 but pools imply state-less virtual machines and I am talking more about normal 
virtual machines.

I've found this script:

which could do to the trick if run at host boot.

I've also thought (but not tried) to mark a virtual machine as Highly 
Available even if I have only one host (I mean, usually HA only makes sense 
when you have two hosts).

Marking a VM as H.A. would do the trick?
Any special reason why there isn't and standard way of marking which vms should 
be auto-started at boot?

Just wanted to hear your thoughts before filling an RFE.

Thank you.

Adrián Gibanel 
I.T. Manager 

+34 675 683 301 

Ens podeu seguir a/Nos podeis seguir en: 


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
Users mailing list

Re: [Users] Manage users without Red Hat Directory Server or IBM Tivoli Directory Server?

2012-12-06 Thread Charlie
Supporting non-Kerberos LDAP with simple authentication and no DNS
integration would significantly decrease the work required for people
like Dennis.  Instead of having to set up Kerberos and DNS and an LDAP
provider that integrates with both, he could just set up a very simple
LDAP server and use a physically secured network or SSL with
self-signed keys to protect his authentication traffic.

There are already LDAP servers that use simple backends, including an
OpenLDAP variant that uses /etc/passwd and /etc/shadow instead of a
db.  If the requirement for Kerberos and DNS directory integration
were removed, and simple authentication worked, you would be able to
support pretty much anything out there in the linux/unix world.

That way oVirt wouldn't have to reinvent any wheels, and people like
Dennis would have significantly less costly and time-consuming
rebuilding of their networks to do before being able to implement


On Wed, Dec 5, 2012 at 4:52 AM, Itamar Heim wrote:
 On 12/05/2012 11:50 AM, Roy Golan wrote:

 On 12/05/2012 11:01 AM, Yair Zaslavsky wrote:

 - Original Message -

 From: Dennis Böck
 To: Itamar Heim
 Sent: Wednesday, December 5, 2012 10:48:58 AM
 Subject: Re: [Users] Manage users without Red Hat Directory Server or
 IBM Tivoli Directory Server?

 Dear Itamar,

 we (German Air Navigation Services) would like to use oVirt for
 testing our air traffic applications.
 In our air traffic application system, there is no directory service,
 since we don't need one. Consequently our test system has no
 directory service too.
 We differentiate only between root-users (manage the OS), air traffic
 application operational-users and air traffic application
 For three kinds of users a directory service would mean too much
 oVirt is complex enough, therefore it would be advantegous to have a
 simple user-management without the need to install/configure/run a
 directory service infrastructure.

 Best regards

 Hi Dennis,
  From what you're describing - you have to populate oVirt somehow with
 3 groups -
 root-users, air trafdfic application operational-users and air traffic
 application technical-users.

 Not sure if you have technical developers at your organization, but at
 past we developed an internal broker [1] which is not
 Ldap/Directory-Service based.
 We have future thoughts about supporting not just directory services.
 But for now - perhaps the quickest thing for you guys (if you have a
 technical team of developers) is to write your own broker, similar to
 the internal broker).
 I actually saw a non ldap broker that was implemented based on the way
 the internal broker was implemented.
 But I really think you should reconsider your decision NOT to use ldap

 [1] - Internal broker - the piece of code responsible for the
 admin@interal user


 I feel that we do need a plain and simple user management broker (could
 be file based similar to jboss user/group properties). Dennis concerns
 about the time/money to invest in an up  running
 installation with few groups seems just.

 we can make /etc/ovirt-engine/user-management/ and

   #key could be considered as the DN{UUID}
   user1.groupids={admins group id},{others}

 group properties:{UUID}
   admins.desc=some description

 there are enough implementations for these things, we don't need to invent
 our own.

 Von: Itamar Heim []
 Gesendet: Dienstag, 4. Dezember 2012 00:44
 An: Dennis Böck
 Betreff: Re: [Users] Manage users without Red Hat Directory Server or
 IBM Tivoli Directory Server?

 On 12/03/2012 08:51 AM, Dennis Böck wrote:

 Dear oVirt-Community,

 how can I add a new User? If I click “Add” under the “Users”-Tag of
 web interface, I cannot create a new user. If I start a search,
 only the
 user “admin” is displayed.

 Is it maybe not possible to create users out of oVirt?

 Even users which I added locally (on the fedora host which runs the
 ovirt engine) are not displayed.

 Can you only manage users if oVirt is connected to a Red Hat
 Server or IBM Tivoli Directory Server?

 can you please explain the use case where there is no existing
 to handle group membership and authentication?

 Users mailing list

 Users mailing list

 Users mailing list