[ovirt-users] Re: vm names export

2018-09-24 Thread Joey Ma
e "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
>>> 617, in _get_access_token
>>> sso_response = self._get_sso_response(self._sso_url, post_data)
>>>   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
>>> 702, in _get_sso_response
>>> self._check_content_type(self.__JSON_CONTENT_TYPE_RE, 'JSON',
>>> header_lines)
>>>   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
>>> 889, in _check_content_type
>>> raise Error(msg)
>>> ovirtsdk4.Error: The response content type 'text/html;charset=UTF-8'
>>> isn't the expected JSON. Is the path '/ovirt-engine/api ' included in the
>>> 'url' parameter correct? The typical one is '/ovirt-engine/api'
>>> [root@cephc ovirt-scripts]#
>>>
>>> Thanks,
>>> Nagaraju
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Sep 24, 2018 at 11:49 PM Valentin Bajrami <
>>> valentin.bajr...@target-holding.nl> wrote:
>>>
>>>> Hi Budur,
>>>>
>>>> You can add  insecure=True  for unsigned certificates. See example
>>>>
>>>> connection = sdk.Connection(
>>>> url='https://pscloud.bnglab.psecure.net/ovirt-engine/api ',
>>>> username='admin@internal',
>>>> password='password',
>>>> insecure=True,
>>>> ca_file= '/etc/pki/ovirt-engine/ca.pem',
>>>> debug=True,
>>>> log=logging.getLogger()
>>>> )
>>>>
>>>>
>>>> On 9/24/18 5:08 PM, Budur Nagaraju wrote:
>>>>
>>>> Below is the script and getting error while executing.
>>>>
>>>>
>>>> #!/usr/bin/env python
>>>> # -*- coding: utf-8 -*-
>>>>
>>>> import logging
>>>> import ovirtsdk4 as sdk
>>>> import ovirtsdk4.types as types
>>>>
>>>> logging.basicConfig(level=logging.DEBUG, filename='example.log')
>>>>
>>>> connection = sdk.Connection(
>>>> url='https://pscloud.bnglab.psecure.net/ovirt-engine/api ',
>>>> username='admin@internal',
>>>> password='password',
>>>>         ca_file= '/etc/pki/ovirt-engine/ca.pem',
>>>> debug=True,
>>>> log=logging.getLogger(),
>>>> )
>>>>
>>>> vms_service = connection.system_service().vms_service()
>>>>
>>>> vms = vms_service.list()
>>>>
>>>> for vm in vms:
>>>> print("%s: %s" % (vm.name, vm.id))
>>>> connection.close()
>>>> =
>>>>
>>>>
>>>> [root@cephc ovirt-scripts]# python get_vm_names
>>>> Traceback (most recent call last):
>>>>   File "get_vm_names", line 16, in 
>>>> log=logging.getLogger(),
>>>>   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
>>>> 307, in __init__
>>>> raise Error('The CA file \'%s\' doesn\'t exist' % ca_file)
>>>> ovirtsdk4.Error: The CA file '/etc/pki/ovirt-engine/ca.pem' doesn't
>>>> exist
>>>> [root@cephc ovirt-scripts]#
>>>>
>>>> On Mon, Sep 24, 2018 at 8:20 PM Staniforth, Paul <
>>>> p.stanifo...@leedsbeckett.ac.uk> wrote:
>>>>
>>>>> Hi Nagaraju,
>>>>>
>>>>>  I meant not signed by a trusted CA, when you
>>>>> install oVirt it signs the certificates with it's own local CA, you can
>>>>> download it the CA certificate  for your engine from
>>>>> https://your.engine.address/ovirt-engine/  it you are running the
>>>>> program on your engine machine I think it's in 
>>>>> /etc/pki/ovirt-engine/ca.pem
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>>Paul S.
>>>>> --
>>>>> *From:* Budur Nagaraju 
>>>>> *Sent:* 24 September 2018 12:20
>>>>> *To:* Staniforth, Paul
>>>>> *Cc:* users
>>>>> *Subject:* Re: [ovirt-users] Re: vm names export
>>>>>
>>>>> Am not using any self signed certificate, it was the default
>>>>> certificate installed at the time of ovirt-engine installat

[ovirt-users] Re: vm names export

2018-09-24 Thread Budur Nagaraju
;> Nagaraju
>>
>>
>>
>>
>>
>> On Mon, Sep 24, 2018 at 11:49 PM Valentin Bajrami <
>> valentin.bajr...@target-holding.nl> wrote:
>>
>>> Hi Budur,
>>>
>>> You can add  insecure=True  for unsigned certificates. See example
>>>
>>> connection = sdk.Connection(
>>> url='https://pscloud.bnglab.psecure.net/ovirt-engine/api ',
>>> username='admin@internal',
>>> password='password',
>>> insecure=True,
>>> ca_file= '/etc/pki/ovirt-engine/ca.pem',
>>> debug=True,
>>> log=logging.getLogger()
>>> )
>>>
>>>
>>> On 9/24/18 5:08 PM, Budur Nagaraju wrote:
>>>
>>> Below is the script and getting error while executing.
>>>
>>>
>>> #!/usr/bin/env python
>>> # -*- coding: utf-8 -*-
>>>
>>> import logging
>>> import ovirtsdk4 as sdk
>>> import ovirtsdk4.types as types
>>>
>>> logging.basicConfig(level=logging.DEBUG, filename='example.log')
>>>
>>> connection = sdk.Connection(
>>> url='https://pscloud.bnglab.psecure.net/ovirt-engine/api ',
>>> username='admin@internal',
>>> password='password',
>>> ca_file= '/etc/pki/ovirt-engine/ca.pem',
>>> debug=True,
>>> log=logging.getLogger(),
>>> )
>>>
>>> vms_service = connection.system_service().vms_service()
>>>
>>> vms = vms_service.list()
>>>
>>> for vm in vms:
>>> print("%s: %s" % (vm.name, vm.id))
>>> connection.close()
>>> =============
>>>
>>>
>>> [root@cephc ovirt-scripts]# python get_vm_names
>>> Traceback (most recent call last):
>>>   File "get_vm_names", line 16, in 
>>> log=logging.getLogger(),
>>>   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
>>> 307, in __init__
>>> raise Error('The CA file \'%s\' doesn\'t exist' % ca_file)
>>> ovirtsdk4.Error: The CA file '/etc/pki/ovirt-engine/ca.pem' doesn't exist
>>> [root@cephc ovirt-scripts]#
>>>
>>> On Mon, Sep 24, 2018 at 8:20 PM Staniforth, Paul <
>>> p.stanifo...@leedsbeckett.ac.uk> wrote:
>>>
>>>> Hi Nagaraju,
>>>>
>>>>  I meant not signed by a trusted CA, when you
>>>> install oVirt it signs the certificates with it's own local CA, you can
>>>> download it the CA certificate  for your engine from
>>>> https://your.engine.address/ovirt-engine/  it you are running the
>>>> program on your engine machine I think it's in /etc/pki/ovirt-engine/ca.pem
>>>>
>>>>
>>>> Regards,
>>>>
>>>>Paul S.
>>>> --
>>>> *From:* Budur Nagaraju 
>>>> *Sent:* 24 September 2018 12:20
>>>> *To:* Staniforth, Paul
>>>> *Cc:* users
>>>> *Subject:* Re: [ovirt-users] Re: vm names export
>>>>
>>>> Am not using any self signed certificate, it was the default
>>>> certificate installed at the time of ovirt-engine installation , do I need
>>>> to comment for that also ?
>>>> Tried commenting the line but still facing issues.
>>>>
>>>> On Mon, Sep 24, 2018 at 4:28 PM Staniforth, Paul <
>>>> p.stanifo...@leedsbeckett.ac.uk> wrote:
>>>>
>>>>> Hi Nagaraju,
>>>>>
>>>>>  if you are using the self-signed certificate have
>>>>> you downloaded your CA certificate, if you are using a certificate from a
>>>>> trusted CA then you should comment  or remove the CA file line.
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>>Paul S.
>>>>> --
>>>>> *From:* Budur Nagaraju 
>>>>> *Sent:* 24 September 2018 11:16
>>>>> *To:* Sandro Bonazzola
>>>>> *Cc:* users
>>>>> *Subject:* [ovirt-users] Re: vm names export
>>>>>
>>>>>
>>>>> Have tried the below URL , getting the below error
>>>>>
>>>>> Script:
>>>>>
>>>>>
>>>>> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py1
>

[ovirt-users] Re: vm names export

2018-09-24 Thread Joey Ma
ackages/ovirtsdk4/__init__.py", line
>> 307, in __init__
>> raise Error('The CA file \'%s\' doesn\'t exist' % ca_file)
>> ovirtsdk4.Error: The CA file '/etc/pki/ovirt-engine/ca.pem' doesn't exist
>> [root@cephc ovirt-scripts]#
>>
>> On Mon, Sep 24, 2018 at 8:20 PM Staniforth, Paul <
>> p.stanifo...@leedsbeckett.ac.uk> wrote:
>>
>>> Hi Nagaraju,
>>>
>>>  I meant not signed by a trusted CA, when you
>>> install oVirt it signs the certificates with it's own local CA, you can
>>> download it the CA certificate  for your engine from
>>> https://your.engine.address/ovirt-engine/  it you are running the
>>> program on your engine machine I think it's in /etc/pki/ovirt-engine/ca.pem
>>>
>>>
>>> Regards,
>>>
>>>Paul S.
>>> --
>>> *From:* Budur Nagaraju 
>>> *Sent:* 24 September 2018 12:20
>>> *To:* Staniforth, Paul
>>> *Cc:* users
>>> *Subject:* Re: [ovirt-users] Re: vm names export
>>>
>>> Am not using any self signed certificate, it was the default certificate
>>> installed at the time of ovirt-engine installation , do I need to comment
>>> for that also ?
>>> Tried commenting the line but still facing issues.
>>>
>>> On Mon, Sep 24, 2018 at 4:28 PM Staniforth, Paul <
>>> p.stanifo...@leedsbeckett.ac.uk> wrote:
>>>
>>>> Hi Nagaraju,
>>>>
>>>>  if you are using the self-signed certificate have
>>>> you downloaded your CA certificate, if you are using a certificate from a
>>>> trusted CA then you should comment  or remove the CA file line.
>>>>
>>>>
>>>> Regards,
>>>>
>>>>Paul S.
>>>> --
>>>> *From:* Budur Nagaraju 
>>>> *Sent:* 24 September 2018 11:16
>>>> *To:* Sandro Bonazzola
>>>> *Cc:* users
>>>> *Subject:* [ovirt-users] Re: vm names export
>>>>
>>>>
>>>> Have tried the below URL , getting the below error
>>>>
>>>> Script:
>>>>
>>>>
>>>> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py1
>>>>
>>>> Error:
>>>>
>>>> https://pastebin.com/EnJqA2Tr
>>>>
>>>> Thanks,
>>>> Nagaraju
>>>>
>>>> On Fri, Sep 21, 2018 at 8:50 PM Sandro Bonazzola 
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> Il giorno ven 21 set 2018 alle ore 17:16 Budur Nagaraju <
>>>>> nbud...@gmail.com> ha scritto:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I didn't understand, could you please help me on that ?
>>>>>>
>>>>>
>>>>> I was asking Ondra to follow up on your question
>>>>>
>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Nagaraju
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola 
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju <
>>>>>>> nbud...@gmail.com> ha scritto:
>>>>>>>
>>>>>>>>
>>>>>>>> HI
>>>>>>>>
>>>>>>>> We have deployed vms in oVirt , is there a way to export the vm
>>>>>>>> names along with owner names ? any script which would help ?
>>>>>>>>
>>>>>>>
>>>>>>> Ondra?
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Nagaraju
>>>>>>>> ___
>>>>>>>> Users mailing list -- users@ovirt.org
>>>>>>>> To unsubscribe send an email to users-le...@ovirt.org
>>>>>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>>>>>> oVirt Code of Conduct:
>>>>>>>> https://www.ovirt.org/community/about/community-guidelines/
>>>>>>>> List Archives:
>>>>>>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4GC4RHEQBVGXST5UOLBUNMYOXKKYDSWN/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> SANDRO BONAZZOLA
>>>>>>>
>>>>>>> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>>>>>>>
>>>>>>> Red Hat EMEA <https://www.redhat.com/>
>>>>>>>
>>>>>>> sbona...@redhat.com
>>>>>>> <https://red.ht/sig>
>>>>>>> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f200RgRyAAK>
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> SANDRO BONAZZOLA
>>>>>
>>>>> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>>>>>
>>>>> Red Hat EMEA <https://www.redhat.com/>
>>>>>
>>>>> sbona...@redhat.com
>>>>> <https://red.ht/sig>
>>>>> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f200RgRyAAK>
>>>>>
>>>> To view the terms under which this email is distributed, please go to:-
>>>> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
>>>>
>>> To view the terms under which this email is distributed, please go to:-
>>> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
>>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z33J5NEDYWLVJPJTSF6R7HRTLXCH3VV7/
>>
>> --
>> Met vriendelijke groeten,
>>
>> Valentin Bajrami
>> Target Holding
>>
>> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZLQJ2Y3HQBJWF5YDQFXTTRKWNYJHSZJ4/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IURCX4PFT6YW5KLRM6F6NUYVV4S66KKB/


[ovirt-users] Re: vm names export

2018-09-24 Thread Budur Nagaraju
Hi ,

Have done the below modification in the script and getting the error,can
you please help to fix the issue?


Script :

[root@cephc ovirt-scripts]# vi get_vm_names
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import logging
import ovirtsdk4 as sdk
import ovirtsdk4.types as types

logging.basicConfig(level=logging.DEBUG, filename='example.log')

connection = sdk.Connection(
url='https://pscloud.bnglab.psecure.net/ovirt-engine/api ',
username='admin@internal',
password='password',
insecure=True,
#   ca_file='/etc/pki/ovirt-engine/ca.pem',
debug=True,
log=logging.getLogger(),
)

vms_service = connection.system_service().vms_service()

vms = vms_service.list()

for vm in vms:
print("%s: %s" % (vm.name, vm.id))
connection.close()
~
===

Error:

[root@cephc ovirt-scripts]# python get_vm_names
Traceback (most recent call last):
  File "get_vm_names", line 22, in 
vms = vms_service.list()
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line
34154, in list
return self._internal_get(headers, query, wait)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 202,
in _internal_get
context = self._connection.send(request)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
370, in send
return self.__send(request)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
388, in __send
self.authenticate()
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
381, in authenticate
self._sso_token = self._get_access_token()
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
617, in _get_access_token
sso_response = self._get_sso_response(self._sso_url, post_data)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
702, in _get_sso_response
self._check_content_type(self.__JSON_CONTENT_TYPE_RE, 'JSON',
header_lines)
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
889, in _check_content_type
raise Error(msg)
ovirtsdk4.Error: The response content type 'text/html;charset=UTF-8' isn't
the expected JSON. Is the path '/ovirt-engine/api ' included in the 'url'
parameter correct? The typical one is '/ovirt-engine/api'
[root@cephc ovirt-scripts]#

Thanks,
Nagaraju





On Mon, Sep 24, 2018 at 11:49 PM Valentin Bajrami <
valentin.bajr...@target-holding.nl> wrote:

> Hi Budur,
>
> You can add  insecure=True  for unsigned certificates. See example
>
> connection = sdk.Connection(
> url='https://pscloud.bnglab.psecure.net/ovirt-engine/api ',
> username='admin@internal',
> password='password',
> insecure=True,
> ca_file= '/etc/pki/ovirt-engine/ca.pem',
> debug=True,
> log=logging.getLogger()
> )
>
>
> On 9/24/18 5:08 PM, Budur Nagaraju wrote:
>
> Below is the script and getting error while executing.
>
>
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
>
> import logging
> import ovirtsdk4 as sdk
> import ovirtsdk4.types as types
>
> logging.basicConfig(level=logging.DEBUG, filename='example.log')
>
> connection = sdk.Connection(
> url='https://pscloud.bnglab.psecure.net/ovirt-engine/api ',
> username='admin@internal',
> password='password',
> ca_file= '/etc/pki/ovirt-engine/ca.pem',
> debug=True,
> log=logging.getLogger(),
> )
>
> vms_service = connection.system_service().vms_service()
>
> vms = vms_service.list()
>
> for vm in vms:
> print("%s: %s" % (vm.name, vm.id))
> connection.close()
> =
>
>
> [root@cephc ovirt-scripts]# python get_vm_names
> Traceback (most recent call last):
>   File "get_vm_names", line 16, in 
> log=logging.getLogger(),
>   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
> 307, in __init__
> raise Error('The CA file \'%s\' doesn\'t exist' % ca_file)
> ovirtsdk4.Error: The CA file '/etc/pki/ovirt-engine/ca.pem' doesn't exist
> [root@cephc ovirt-scripts]#
>
> On Mon, Sep 24, 2018 at 8:20 PM Staniforth, Paul <
> p.stanifo...@leedsbeckett.ac.uk> wrote:
>
>> Hi Nagaraju,
>>
>>  I meant not signed by a trusted CA, when you install
>> oVirt it signs the certificates with it's own local CA, you can download it
>> the CA certificate  for your engine from
>> https://your.engine.address/ovirt-engine/  it you are running the
>> program on your engine machine I think it's in /etc/pki/ovirt-engine/ca.pem
>>
>

[ovirt-users] Re: vm names export

2018-09-24 Thread Staniforth, Paul
Hi Nagaraju,

 I meant not signed by a trusted CA, when you install oVirt 
it signs the certificates with it's own local CA, you can download it the CA 
certificate  for your engine from 
https://your.engine.address/ovirt-engine<https://your.engine.address/ovirt-engine/>/
  it you are running the program on your engine machine I think it's in 
/etc/pki/ovirt-engine/ca.pem


Regards,

   Paul S.


From: Budur Nagaraju 
Sent: 24 September 2018 12:20
To: Staniforth, Paul
Cc: users
Subject: Re: [ovirt-users] Re: vm names export

Am not using any self signed certificate, it was the default certificate 
installed at the time of ovirt-engine installation , do I need to comment for 
that also ?
Tried commenting the line but still facing issues.

On Mon, Sep 24, 2018 at 4:28 PM Staniforth, Paul 
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:

Hi Nagaraju,

 if you are using the self-signed certificate have you 
downloaded your CA certificate, if you are using a certificate from a trusted 
CA then you should comment  or remove the CA file line.


Regards,

   Paul S.


From: Budur Nagaraju mailto:nbud...@gmail.com>>
Sent: 24 September 2018 11:16
To: Sandro Bonazzola
Cc: users
Subject: [ovirt-users] Re: vm names export


Have tried the below URL , getting the below error

Script:

https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py1

Error:

https://pastebin.com/EnJqA2Tr

Thanks,
Nagaraju

On Fri, Sep 21, 2018 at 8:50 PM Sandro Bonazzola 
mailto:sbona...@redhat.com>> wrote:


Il giorno ven 21 set 2018 alle ore 17:16 Budur Nagaraju 
mailto:nbud...@gmail.com>> ha scritto:
Hi

I didn't understand, could you please help me on that ?

I was asking Ondra to follow up on your question


Thanks,
Nagaraju



On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola 
mailto:sbona...@redhat.com>> wrote:


Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju 
mailto:nbud...@gmail.com>> ha scritto:

HI

We have deployed vms in oVirt , is there a way to export the vm names along 
with owner names ? any script which would help ?

Ondra?


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


--

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

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

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

[https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig>
[http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7B98cb2f7e-01c6-4d72-b84d-99545fa13c39%7D_RH_OSD_ITALY_Banner_350x50_esign.png]<https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f200RgRyAAK>


--

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

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

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

[https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig>
[http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7B98cb2f7e-01c6-4d72-b84d-99545fa13c39%7D_RH_OSD_ITALY_Banner_350x50_esign.png]<https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f200RgRyAAK>
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html

To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z2PUKQTVGWRCCUGUIJVFBIAQQAEQOYW4/


[ovirt-users] Re: vm names export

2018-09-24 Thread Christopher Cox
This doesn't use the SDK and I'm not sure if it works with 4.x, but 
posting anyway: https://endlessnow.com/ten/Source/oVirtVMInfo-py.txt





On 09/24/2018 10:08 AM, Budur Nagaraju wrote:

Below is the script and getting error while executing.


#!/usr/bin/env python
# -*- coding: utf-8 -*-

import logging
import ovirtsdk4 as sdk
import ovirtsdk4.types as types

logging.basicConfig(level=logging.DEBUG, filename='example.log')

connection = sdk.Connection(
     url='https://pscloud.bnglab.psecure.net/ovirt-engine/api ',
     username='admin@internal',
     password='password',
     ca_file= '/etc/pki/ovirt-engine/ca.pem',
     debug=True,
     log=logging.getLogger(),
)

vms_service = connection.system_service().vms_service()

vms = vms_service.list()

for vm in vms:
     print("%s: %s" % (vm.name <http://vm.name>, vm.id <http://vm.id>))
connection.close()
=


[root@cephc ovirt-scripts]# python get_vm_names
Traceback (most recent call last):
   File "get_vm_names", line 16, in 
     log=logging.getLogger(),
   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 
307, in __init__

     raise Error('The CA file \'%s\' doesn\'t exist' % ca_file)
ovirtsdk4.Error: The CA file '/etc/pki/ovirt-engine/ca.pem' doesn't exist
[root@cephc ovirt-scripts]#

On Mon, Sep 24, 2018 at 8:20 PM Staniforth, Paul 
<mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:


Hi Nagaraju,

                      I meant not signed by a trusted CA, when you
install oVirt it signs the certificates with it's own local CA, you
can download it the CA certificate  for your engine from
https://your.engine.address/ovirt-engine
<https://your.engine.address/ovirt-engine/>/  it you are running the
program on your engine machine I think it's in
/etc/pki/ovirt-engine/ca.pem


Regards,

                Paul S.


*From:* Budur Nagaraju mailto:nbud...@gmail.com>>
*Sent:* 24 September 2018 12:20
*To:* Staniforth, Paul
*Cc:* users
*Subject:* Re: [ovirt-users] Re: vm names export
Am not using any self signed certificate, it was the default
certificate installed at the time of ovirt-engine installation , do
I need to comment for that also ?
Tried commenting the line but still facing issues.

On Mon, Sep 24, 2018 at 4:28 PM Staniforth, Paul
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:

Hi Nagaraju,

                      if you are using the self-signed
certificate have you downloaded your CA certificate, if you are
using a certificate from a trusted CA then you should comment 
or remove the CA file line.



Regards,

                Paul S.


*From:* Budur Nagaraju mailto:nbud...@gmail.com>>
*Sent:* 24 September 2018 11:16
    *To:* Sandro Bonazzola
*Cc:* users
*Subject:* [ovirt-users] Re: vm names export

Have tried the below URL , getting the below error

Script:


https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py1

Error:

https://pastebin.com/EnJqA2Tr

Thanks,
Nagaraju

On Fri, Sep 21, 2018 at 8:50 PM Sandro Bonazzola
mailto:sbona...@redhat.com>> wrote:



Il giorno ven 21 set 2018 alle ore 17:16 Budur Nagaraju
mailto:nbud...@gmail.com>> ha scritto:

Hi

I didn't understand, could you please help me on that ?


I was asking Ondra to follow up on your question


Thanks,
Nagaraju



On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola
mailto:sbona...@redhat.com>> wrote:



Il giorno gio 20 set 2018 alle ore 09:23 Budur
Nagaraju mailto:nbud...@gmail.com>> ha scritto:


HI

We have deployed vms in oVirt , is there a way
to export the vm names along with owner names ?
any script which would help ?


Ondra?


Thanks,
Nagaraju
___
Users mailing list -- users@ovirt.org
<mailto:users@ovirt.org>
To unsubscribe send an email to
users-le...@ovirt.org <mailto:users-le...@ovirt.org>
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
   

[ovirt-users] Re: vm names export

2018-09-24 Thread Budur Nagaraju
Below is the script and getting error while executing.


#!/usr/bin/env python
# -*- coding: utf-8 -*-

import logging
import ovirtsdk4 as sdk
import ovirtsdk4.types as types

logging.basicConfig(level=logging.DEBUG, filename='example.log')

connection = sdk.Connection(
url='https://pscloud.bnglab.psecure.net/ovirt-engine/api ',
username='admin@internal',
password='password',
ca_file= '/etc/pki/ovirt-engine/ca.pem',
debug=True,
log=logging.getLogger(),
)

vms_service = connection.system_service().vms_service()

vms = vms_service.list()

for vm in vms:
print("%s: %s" % (vm.name, vm.id))
connection.close()
=


[root@cephc ovirt-scripts]# python get_vm_names
Traceback (most recent call last):
  File "get_vm_names", line 16, in 
log=logging.getLogger(),
  File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line
307, in __init__
raise Error('The CA file \'%s\' doesn\'t exist' % ca_file)
ovirtsdk4.Error: The CA file '/etc/pki/ovirt-engine/ca.pem' doesn't exist
[root@cephc ovirt-scripts]#

On Mon, Sep 24, 2018 at 8:20 PM Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk> wrote:

> Hi Nagaraju,
>
>  I meant not signed by a trusted CA, when you install
> oVirt it signs the certificates with it's own local CA, you can download it
> the CA certificate  for your engine from
> https://your.engine.address/ovirt-engine/  it you are running the program
> on your engine machine I think it's in /etc/pki/ovirt-engine/ca.pem
>
>
> Regards,
>
>Paul S.
> --
> *From:* Budur Nagaraju 
> *Sent:* 24 September 2018 12:20
> *To:* Staniforth, Paul
> *Cc:* users
> *Subject:* Re: [ovirt-users] Re: vm names export
>
> Am not using any self signed certificate, it was the default certificate
> installed at the time of ovirt-engine installation , do I need to comment
> for that also ?
> Tried commenting the line but still facing issues.
>
> On Mon, Sep 24, 2018 at 4:28 PM Staniforth, Paul <
> p.stanifo...@leedsbeckett.ac.uk> wrote:
>
>> Hi Nagaraju,
>>
>>  if you are using the self-signed certificate have
>> you downloaded your CA certificate, if you are using a certificate from a
>> trusted CA then you should comment  or remove the CA file line.
>>
>>
>> Regards,
>>
>>            Paul S.
>> --
>> *From:* Budur Nagaraju 
>> *Sent:* 24 September 2018 11:16
>> *To:* Sandro Bonazzola
>> *Cc:* users
>> *Subject:* [ovirt-users] Re: vm names export
>>
>>
>> Have tried the below URL , getting the below error
>>
>> Script:
>>
>>
>> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py1
>>
>> Error:
>>
>> https://pastebin.com/EnJqA2Tr
>>
>> Thanks,
>> Nagaraju
>>
>> On Fri, Sep 21, 2018 at 8:50 PM Sandro Bonazzola 
>> wrote:
>>
>>>
>>>
>>> Il giorno ven 21 set 2018 alle ore 17:16 Budur Nagaraju <
>>> nbud...@gmail.com> ha scritto:
>>>
>>>> Hi
>>>>
>>>> I didn't understand, could you please help me on that ?
>>>>
>>>
>>> I was asking Ondra to follow up on your question
>>>
>>>
>>>>
>>>> Thanks,
>>>> Nagaraju
>>>>
>>>>
>>>>
>>>> On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola 
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju <
>>>>> nbud...@gmail.com> ha scritto:
>>>>>
>>>>>>
>>>>>> HI
>>>>>>
>>>>>> We have deployed vms in oVirt , is there a way to export the vm names
>>>>>> along with owner names ? any script which would help ?
>>>>>>
>>>>>
>>>>> Ondra?
>>>>>
>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Nagaraju
>>>>>> ___
>>>>>> Users mailing list -- users@ovirt.org
>>>>>> To unsubscribe send an email to users-le...@ovirt.org
>>>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>>>> oVirt Code of Conduct:
>>>>>> https://www.ovirt.org/community/about/community-guidelines/
>>>>>> List Archives:

[ovirt-users] Re: vm names export

2018-09-24 Thread Staniforth, Paul
Hi Nagaraju,

 if you are using the self-signed certificate have you 
downloaded your CA certificate, if you are using a certificate from a trusted 
CA then you should comment  or remove the CA file line.


Regards,

   Paul S.


From: Budur Nagaraju 
Sent: 24 September 2018 11:16
To: Sandro Bonazzola
Cc: users
Subject: [ovirt-users] Re: vm names export


Have tried the below URL , getting the below error

Script:

https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py1

Error:

https://pastebin.com/EnJqA2Tr

Thanks,
Nagaraju

On Fri, Sep 21, 2018 at 8:50 PM Sandro Bonazzola 
mailto:sbona...@redhat.com>> wrote:


Il giorno ven 21 set 2018 alle ore 17:16 Budur Nagaraju 
mailto:nbud...@gmail.com>> ha scritto:
Hi

I didn't understand, could you please help me on that ?

I was asking Ondra to follow up on your question


Thanks,
Nagaraju



On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola 
mailto:sbona...@redhat.com>> wrote:


Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju 
mailto:nbud...@gmail.com>> ha scritto:

HI

We have deployed vms in oVirt , is there a way to export the vm names along 
with owner names ? any script which would help ?

Ondra?


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


--

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

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

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

[https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig>
[http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7B98cb2f7e-01c6-4d72-b84d-99545fa13c39%7D_RH_OSD_ITALY_Banner_350x50_esign.png]<https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f200RgRyAAK>


--

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

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

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

[https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig>
[http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7B98cb2f7e-01c6-4d72-b84d-99545fa13c39%7D_RH_OSD_ITALY_Banner_350x50_esign.png]<https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f200RgRyAAK>
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4VZPKEVDN5NLNLSNBYFS3NZIDRUJA3KA/


[ovirt-users] Re: vm names export

2018-09-24 Thread Budur Nagaraju
Am not using any self signed certificate, it was the default certificate
installed at the time of ovirt-engine installation , do I need to comment
for that also ?
Tried commenting the line but still facing issues.

On Mon, Sep 24, 2018 at 4:28 PM Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk> wrote:

> Hi Nagaraju,
>
>  if you are using the self-signed certificate have you
> downloaded your CA certificate, if you are using a certificate from a
> trusted CA then you should comment  or remove the CA file line.
>
>
> Regards,
>
>Paul S.
> --
> *From:* Budur Nagaraju 
> *Sent:* 24 September 2018 11:16
> *To:* Sandro Bonazzola
> *Cc:* users
> *Subject:* [ovirt-users] Re: vm names export
>
>
> Have tried the below URL , getting the below error
>
> Script:
>
>
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py1
>
> Error:
>
> https://pastebin.com/EnJqA2Tr
>
> Thanks,
> Nagaraju
>
> On Fri, Sep 21, 2018 at 8:50 PM Sandro Bonazzola 
> wrote:
>
>>
>>
>> Il giorno ven 21 set 2018 alle ore 17:16 Budur Nagaraju <
>> nbud...@gmail.com> ha scritto:
>>
>>> Hi
>>>
>>> I didn't understand, could you please help me on that ?
>>>
>>
>> I was asking Ondra to follow up on your question
>>
>>
>>>
>>> Thanks,
>>> Nagaraju
>>>
>>>
>>>
>>> On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola 
>>> wrote:
>>>
>>>>
>>>>
>>>> Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju <
>>>> nbud...@gmail.com> ha scritto:
>>>>
>>>>>
>>>>> HI
>>>>>
>>>>> We have deployed vms in oVirt , is there a way to export the vm names
>>>>> along with owner names ? any script which would help ?
>>>>>
>>>>
>>>> Ondra?
>>>>
>>>>
>>>>>
>>>>> Thanks,
>>>>> Nagaraju
>>>>> ___
>>>>> Users mailing list -- users@ovirt.org
>>>>> To unsubscribe send an email to users-le...@ovirt.org
>>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>>> oVirt Code of Conduct:
>>>>> https://www.ovirt.org/community/about/community-guidelines/
>>>>> List Archives:
>>>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4GC4RHEQBVGXST5UOLBUNMYOXKKYDSWN/
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> SANDRO BONAZZOLA
>>>>
>>>> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>>>>
>>>> Red Hat EMEA <https://www.redhat.com/>
>>>>
>>>> sbona...@redhat.com
>>>> <https://red.ht/sig>
>>>> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f200RgRyAAK>
>>>>
>>>
>>
>> --
>>
>> SANDRO BONAZZOLA
>>
>> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>>
>> Red Hat EMEA <https://www.redhat.com/>
>>
>> sbona...@redhat.com
>> <https://red.ht/sig>
>> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f200RgRyAAK>
>>
> To view the terms under which this email is distributed, please go to:-
> http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MOLODR5FHJCNP23OUJBVSLHNZVA7WNTJ/


[ovirt-users] Re: vm names export

2018-09-24 Thread Budur Nagaraju
Have tried the below URL , getting the below error

Script:

https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py1

Error:

https://pastebin.com/EnJqA2Tr

Thanks,
Nagaraju

On Fri, Sep 21, 2018 at 8:50 PM Sandro Bonazzola 
wrote:

>
>
> Il giorno ven 21 set 2018 alle ore 17:16 Budur Nagaraju 
> ha scritto:
>
>> Hi
>>
>> I didn't understand, could you please help me on that ?
>>
>
> I was asking Ondra to follow up on your question
>
>
>>
>> Thanks,
>> Nagaraju
>>
>>
>>
>> On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola 
>> wrote:
>>
>>>
>>>
>>> Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju <
>>> nbud...@gmail.com> ha scritto:
>>>

 HI

 We have deployed vms in oVirt , is there a way to export the vm names
 along with owner names ? any script which would help ?

>>>
>>> Ondra?
>>>
>>>

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

>>>
>>>
>>> --
>>>
>>> SANDRO BONAZZOLA
>>>
>>> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>>>
>>> Red Hat EMEA 
>>>
>>> sbona...@redhat.com
>>> 
>>> 
>>>
>>
>
> --
>
> SANDRO BONAZZOLA
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
> 
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DTCQVWCCHKSWOPFU5MVTFJOZYM5AXVID/


[ovirt-users] Re: vm names export

2018-09-21 Thread Christopher Cox

Outside of the API, maybe something like this still works:

ovirt-shell -E 'list vms'

On 09/21/2018 10:16 AM, Budur Nagaraju wrote:

Hi

I didn't understand, could you please help me on that ?

Thanks,
Nagaraju



On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola > wrote:




Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju
mailto:nbud...@gmail.com>> ha scritto:


HI

We have deployed vms in oVirt , is there a way to export the vm
names along with owner names ? any script which would help ?


Ondra?


Thanks,
Nagaraju
___
Users mailing list -- users@ovirt.org 
To unsubscribe send an email to users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/4GC4RHEQBVGXST5UOLBUNMYOXKKYDSWN/



-- 


SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com 








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


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


[ovirt-users] Re: vm names export

2018-09-21 Thread Sandro Bonazzola
Il giorno ven 21 set 2018 alle ore 17:16 Budur Nagaraju 
ha scritto:

> Hi
>
> I didn't understand, could you please help me on that ?
>

I was asking Ondra to follow up on your question


>
> Thanks,
> Nagaraju
>
>
>
> On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola 
> wrote:
>
>>
>>
>> Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju <
>> nbud...@gmail.com> ha scritto:
>>
>>>
>>> HI
>>>
>>> We have deployed vms in oVirt , is there a way to export the vm names
>>> along with owner names ? any script which would help ?
>>>
>>
>> Ondra?
>>
>>
>>>
>>> Thanks,
>>> Nagaraju
>>> ___
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-le...@ovirt.org
>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>> oVirt Code of Conduct:
>>> https://www.ovirt.org/community/about/community-guidelines/
>>> List Archives:
>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4GC4RHEQBVGXST5UOLBUNMYOXKKYDSWN/
>>>
>>
>>
>> --
>>
>> SANDRO BONAZZOLA
>>
>> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>>
>> Red Hat EMEA 
>>
>> sbona...@redhat.com
>> 
>> 
>>
>

-- 

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


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


[ovirt-users] Re: vm names export

2018-09-21 Thread Budur Nagaraju
Hi

I didn't understand, could you please help me on that ?

Thanks,
Nagaraju



On Fri, Sep 21, 2018 at 8:28 PM Sandro Bonazzola 
wrote:

>
>
> Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju 
> ha scritto:
>
>>
>> HI
>>
>> We have deployed vms in oVirt , is there a way to export the vm names
>> along with owner names ? any script which would help ?
>>
>
> Ondra?
>
>
>>
>> Thanks,
>> Nagaraju
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4GC4RHEQBVGXST5UOLBUNMYOXKKYDSWN/
>>
>
>
> --
>
> SANDRO BONAZZOLA
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
> 
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2PMLYK3RJVXONC3OQ4SSHFTOW6IJMDEL/


[ovirt-users] Re: vm names export

2018-09-21 Thread Sandro Bonazzola
Il giorno gio 20 set 2018 alle ore 09:23 Budur Nagaraju 
ha scritto:

>
> HI
>
> We have deployed vms in oVirt , is there a way to export the vm names
> along with owner names ? any script which would help ?
>

Ondra?


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


-- 

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


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