[ovirt-users] Re: oVirt-node

2020-10-12 Thread Budur Nagaraju
Hi Sandro,

Have not installed a hosted engine nor have installed an ovirt engine ,
have just installed an ovirt node in one of the bare metal servers and
logged into the server using a cockpit.
When I browse to ovirt virtual machine "create New vm' is greyed out, is
ovirt node dependent on the ovirt engine ?

Thanks,
Nagaraju


On Mon, Oct 12, 2020 at 5:54 PM Sandro Bonazzola 
wrote:

>
>
> Il giorno lun 12 ott 2020 alle ore 14:20 Budur Nagaraju 
> ha scritto:
>
>> Have logged in using cockpit but unable to create vms,  is the behavior
>> is like that?
>>
>> We can't use cockpit to create vms?
>>
>
>
> yum install
> http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/cockpit-machines-211.3-1.el8.noarch.rpm
> should give you the cockpit plugin for running VMs.
> Just be aware this is not a use case that involves oVirt bits, this is
> basically CentOS workflow.
>
>
>
>>
>> Thanks,
>> Nagaraju
>>
>> On Mon, Oct 12, 2020, 5:35 PM Sandro Bonazzola 
>> wrote:
>>
>>>
>>>
>>> Il giorno lun 12 ott 2020 alle ore 12:36 Budur Nagaraju <
>>> nbud...@gmail.com> ha scritto:
>>>
>>>> Hi
>>>>
>>>> Is there a way to deploy  vms on the ovirt node without using the oVirt
>>>> engine?
>>>>
>>>
>>> Hi,
>>> if you mean:
>>> "Can I use oVirt Node for running VMs without using oVirt Engine?"
>>> then yes, you can.
>>>
>>> oVirt Node is a CentOS Linux derivative and as such you can use
>>> virt-manager from your laptop to connect to it and manage VMs there as if
>>> it was a normal CentOS.
>>> You can also use cockpit for creating local VMs.
>>>
>>> If you mean:
>>> "Can I create VMs from oVirt Node and also manage them from the engine?"
>>> the short answer is no.
>>> The long answer is: you can still try using cockpit-machines-ovirt
>>> https://cockpit-project.org/guide/172/feature-ovirtvirtualmachines.html
>>> which was deprecated in oVIrt 4.3 and removed in 4.4.
>>> Or run VMs on oVirt Node and try to make them visible to engine using
>>> KVM provider
>>> https://www.ovirt.org/documentation/administration_guide/#Adding_KVM_as_an_External_Provider
>>> But I wouldn't recommend using these flows.
>>>
>>> --
>>>
>>> Sandro Bonazzola
>>>
>>> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>>>
>>> Red Hat EMEA <https://www.redhat.com/>
>>>
>>> sbona...@redhat.com
>>> <https://www.redhat.com/>
>>>
>>> *Red Hat respects your work life balance. Therefore there is no need to
>>> answer this email out of your office hours.*
>>>
>>>
>>> * <https://www.redhat.com/it/forums/emea/italy-track>*
>>>
>>
>
> --
>
> Sandro Bonazzola
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>
> Red Hat EMEA <https://www.redhat.com/>
>
> sbona...@redhat.com
> <https://www.redhat.com/>
>
> *Red Hat respects your work life balance. Therefore there is no need to
> answer this email out of your office hours.
> <https://mojo.redhat.com/docs/DOC-1199578>*
>
>
> * <https://www.redhat.com/it/forums/emea/italy-track>*
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LMQ2J6CVXBYK735NGF3GS4BNT4YXE2EV/


[ovirt-users] Re: oVirt-node

2020-10-12 Thread Budur Nagaraju
Have logged in using cockpit but unable to create vms,  is the behavior is
like that?

We can't use cockpit to create vms?

Thanks,
Nagaraju

On Mon, Oct 12, 2020, 5:35 PM Sandro Bonazzola  wrote:

>
>
> Il giorno lun 12 ott 2020 alle ore 12:36 Budur Nagaraju 
> ha scritto:
>
>> Hi
>>
>> Is there a way to deploy  vms on the ovirt node without using the oVirt
>> engine?
>>
>
> Hi,
> if you mean:
> "Can I use oVirt Node for running VMs without using oVirt Engine?"
> then yes, you can.
>
> oVirt Node is a CentOS Linux derivative and as such you can use
> virt-manager from your laptop to connect to it and manage VMs there as if
> it was a normal CentOS.
> You can also use cockpit for creating local VMs.
>
> If you mean:
> "Can I create VMs from oVirt Node and also manage them from the engine?"
> the short answer is no.
> The long answer is: you can still try using cockpit-machines-ovirt
> https://cockpit-project.org/guide/172/feature-ovirtvirtualmachines.html
> which was deprecated in oVIrt 4.3 and removed in 4.4.
> Or run VMs on oVirt Node and try to make them visible to engine using KVM
> provider
> https://www.ovirt.org/documentation/administration_guide/#Adding_KVM_as_an_External_Provider
> But I wouldn't recommend using these flows.
>
> --
>
> Sandro Bonazzola
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>
> Red Hat EMEA <https://www.redhat.com/>
>
> sbona...@redhat.com
> <https://www.redhat.com/>
>
> *Red Hat respects your work life balance. Therefore there is no need to
> answer this email out of your office hours.*
>
>
> * <https://www.redhat.com/it/forums/emea/italy-track>*
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UEDJLMJGWTQ4KTODWSKMRK62LMDAVMJP/


[ovirt-users] oVirt-node

2020-10-12 Thread Budur Nagaraju
Hi

Is there a way to deploy  vms on the ovirt node without using the oVirt
engine?

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


[ovirt-users] Re: export vm from 3.4 to 4.3

2020-04-13 Thread Budur Nagaraju
Thank you very much.

Thanks,
Nagaraju


On Mon, Apr 13, 2020 at 9:50 PM  wrote:

> Jaymie has a ansible playbook that will export and backup vm’s. I’ll see
> if I can find it and pass it along. I’m not sure if it will work on 3.5.
> Have you tried importing the vm? You can import from a kvm host so I’m sure
> it should be a similar process.
>
>
>
> Eric Evans
>
> Digital Data Services LLC.
>
> 304.660.9080
>
>
>
> *From:* Budur Nagaraju 
> *Sent:* Monday, April 13, 2020 4:23 AM
> *To:* users 
> *Subject:* [ovirt-users] export vm from 3.4 to 4.3
>
>
>
>  Hi
>
>
>
> Can someone help in exporting a vm from  3.5  to 4.3  version , any help
> or links for exporting a vm ?
>
>
>
> Thanks,
>
> Nagaraju
>
>
>
>
>
>
>
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5SNTTRYAXWQ5KDAHNG7X4JAZCRBFKYFJ/


[ovirt-users] Re: export vm from 3.4 to 4.3

2020-04-13 Thread Budur Nagaraju
Thank you very much !

Thanks,
Nagaraju


On Mon, Apr 13, 2020 at 4:27 PM Shani Leviim  wrote:

> Hi Nagaraju,
> You can detach the relevant storage domain and attach it back to the
> relevant DC.
> That functionality replaces the export domains.
> You can find a detailed explanation here:
> https://www.ovirt.org/develop/release-management/features/storage/importstoragedomain.html
>
> You can also import a VM using an OVA file.
> You can find the relevant information here:
> https://www.ovirt.org/develop/release-management/features/virt/enhance-import-export-with-ova.html
>
>
> *Regards,*
>
> *Shani Leviim*
>
>
> On Mon, Apr 13, 2020 at 11:25 AM Budur Nagaraju  wrote:
>
>>  Hi
>>
>> Can someone help in exporting a vm from  3.5  to 4.3  version , any help
>> or links for exporting a vm ?
>>
>> Thanks,
>> Nagaraju
>>
>>
>>
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/6S767MMLOBXFKT3LRYMVGUIX3P2LNYGY/
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6PWLG6MELT6XHYENHX5VWPRF5H3ITIGO/


[ovirt-users] export vm from 3.4 to 4.3

2020-04-13 Thread Budur Nagaraju
 Hi

Can someone help in exporting a vm from  3.5  to 4.3  version , any help or
links for exporting a vm ?

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


[ovirt-users] Re: ldaps-config

2020-02-27 Thread Budur Nagaraju
Am using ldaps not starttls,  when i do dig able to resolve the,  not sure
where exactly doing mistake.

Using 4.3 version.

Thanks,
Nagaraju

On Thu, Feb 27, 2020, 9:22 PM Lucie Leistnerova  wrote:

> Hi, I've checked again the options in the aaa tool.
> On 2/27/20 4:20 PM, Budur Nagaraju wrote:
>
> can some one help me on the issue ? badly stuck on this have not got any
> pointer on fix .
>
> An error occurred while attempting to query DNS in order to retrieve SRV
> records with name '_ldaps._tcp.abc.net <http://tcp.psecure.net>':
> NameNotFoundException(DNS name not found [response code 3]),
> ldapSDKVersion=4.0.7, revision=b28fb50058dfe2864171df2448ad2ad2b4c2ad58
>
> It seems your DNS is not configured to resolve ldap servers. Please
> disable DNS and use direct fqdn/ip of the server or configure the DNS SRV
> record.
> From the documentation:
> Press *Enter* to accept the default and configure domain name resolution
> for your LDAP server name:
>
>  It is highly recommended to use DNS resolution for LDAP server.
>  If for some reason you intend to use hosts or plain address disable DNS 
> usage.
>  Use DNS (Yes, No) [Yes]:
>
>
>
> Thanks,
> Nagaraju
>
>
> On Thu, Feb 27, 2020 at 8:48 PM Budur Nagaraju  wrote:
>
>> Hi Lucie,
>>
>> Can you please help me on this issue? am using ldaps for the
>> configuration.
>>
>> Thanks,
>> Nagaraju
>>
>>
>> On Thu, Feb 27, 2020 at 4:00 PM Budur Nagaraju  wrote:
>>
>>> Hi Lucie,
>>>
>>> Have tried the option but when trying to logon from the browser getting
>>> the below error.
>>> Any tweaks can be made ?
>>>
>>>
>>> An error occurred while attempting to query DNS in order to retrieve SRV
>>> records with name '_ldaps._tcp.psecure.net': NameNotFoundException(DNS
>>> name not found [response code 3]), ldapSDKVersion=4.0.7,
>>> revision=b28fb50058dfe2864171df2448ad2ad2b4c2ad58
>>>
>>> Thanks,
>>> Nagaraju
>>>
>>>
>>>
>>> On Thu, Feb 27, 2020 at 3:51 PM Lucie Leistnerova 
>>> wrote:
>>>
>>>> Hi Budur,
>>>>
>>>> or just use the tool for it - Configuring an External LDAP Provider
>>>>
>>>> https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles.html
>>>>
>>>> Best regards,
>>>>
>>>> Lucie
>>>> On 2/27/20 9:32 AM, Eduardo Mayoral wrote:
>>>>
>>>> Should be as simple as this:
>>>>
>>>>
>>>> [root@ovirt-hc0 ~]# cat /etc/ovirt-engine/aaa/*activedirectory*
>>>> .properties
>>>> include = 
>>>>
>>>> vars.domain = XX
>>>> vars.user = YYY
>>>> vars.password = Z
>>>>
>>>> *pool.default.ssl.startTLS = true*
>>>> *pool.default.ssl.startTLSProtocol = TLSv1.2*
>>>>
>>>> pool.default.auth.simple.bindDN = ${global:vars.user}
>>>> pool.default.auth.simple.password = ${global:vars.password}
>>>> pool.default.serverset.type = srvrecord
>>>> pool.default.serverset.srvrecord.domain = ${global:vars.domain}
>>>>
>>>>
>>>>
>>>> Just remember to trust the certificate authority for the ldaps
>>>> certificate in the ovirt engine server.
>>>>
>>>>
>>>> https://stackoverflow.com/questions/37043442/how-to-add-certificate-authority-file-in-centos-7
>>>>
>>>>
>>>> On 27/2/20 4:42, Budur Nagaraju wrote:
>>>>
>>>> Hi
>>>>
>>>> Can someone help me in configuring ldaps in oVirt Engine 4.x ?
>>>>
>>>> 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/P6QHPSFZLOZ6EZEVFQPBNII37PNIATU3/
>>>>
>>>> --
>>>> Eduardo Mayoral Jimeno
>>>> Systems engineer, platform department. Arsys internet.emayo...@arsys.es - 
>>>> +34 941 620 105 - ext 2153
>>>>
>>>>
>>>> ___
>>>> 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/ADWCGNS353CUN3CIHFBZDUWAXRHL66JB/
>>>>
>>>> --
>>>> Lucie Leistnerova
>>>> Senior Quality Engineer, QE Cloud, RHVM
>>>> Red Hat EMEA
>>>>
>>>> IRC: lleistne @ #rhev-qe
>>>>
>>>> --
> Lucie Leistnerova
> Senior Quality Engineer, QE Cloud, RHVM
> Red Hat EMEA
>
> IRC: lleistne @ #rhev-qe
>
>
___
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/5HSGNX5PUQHB4DFKSK4BWJ7GGAEVXGGD/


[ovirt-users] Re: ldaps-config

2020-02-27 Thread Budur Nagaraju
can some one help me on the issue ? badly stuck on this have not got any
pointer on fix .

An error occurred while attempting to query DNS in order to retrieve SRV
records with name '_ldaps._tcp.abc.net <http://tcp.psecure.net>':
NameNotFoundException(DNS name not found [response code 3]),
ldapSDKVersion=4.0.7, revision=b28fb50058dfe2864171df2448ad2ad2b4c2ad58


Thanks,
Nagaraju


On Thu, Feb 27, 2020 at 8:48 PM Budur Nagaraju  wrote:

> Hi Lucie,
>
> Can you please help me on this issue? am using ldaps for the configuration.
>
> Thanks,
> Nagaraju
>
>
> On Thu, Feb 27, 2020 at 4:00 PM Budur Nagaraju  wrote:
>
>> Hi Lucie,
>>
>> Have tried the option but when trying to logon from the browser getting
>> the below error.
>> Any tweaks can be made ?
>>
>>
>> An error occurred while attempting to query DNS in order to retrieve SRV
>> records with name '_ldaps._tcp.psecure.net': NameNotFoundException(DNS
>> name not found [response code 3]), ldapSDKVersion=4.0.7,
>> revision=b28fb50058dfe2864171df2448ad2ad2b4c2ad58
>>
>> Thanks,
>> Nagaraju
>>
>>
>>
>> On Thu, Feb 27, 2020 at 3:51 PM Lucie Leistnerova 
>> wrote:
>>
>>> Hi Budur,
>>>
>>> or just use the tool for it - Configuring an External LDAP Provider
>>> https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles.html
>>>
>>> Best regards,
>>>
>>> Lucie
>>> On 2/27/20 9:32 AM, Eduardo Mayoral wrote:
>>>
>>> Should be as simple as this:
>>>
>>>
>>> [root@ovirt-hc0 ~]# cat /etc/ovirt-engine/aaa/*activedirectory*
>>> .properties
>>> include = 
>>>
>>> vars.domain = XX
>>> vars.user = YYY
>>> vars.password = Z
>>>
>>> *pool.default.ssl.startTLS = true*
>>> *pool.default.ssl.startTLSProtocol = TLSv1.2*
>>>
>>> pool.default.auth.simple.bindDN = ${global:vars.user}
>>> pool.default.auth.simple.password = ${global:vars.password}
>>> pool.default.serverset.type = srvrecord
>>> pool.default.serverset.srvrecord.domain = ${global:vars.domain}
>>>
>>>
>>>
>>> Just remember to trust the certificate authority for the ldaps
>>> certificate in the ovirt engine server.
>>>
>>>
>>> https://stackoverflow.com/questions/37043442/how-to-add-certificate-authority-file-in-centos-7
>>>
>>>
>>> On 27/2/20 4:42, Budur Nagaraju wrote:
>>>
>>> Hi
>>>
>>> Can someone help me in configuring ldaps in oVirt Engine 4.x ?
>>>
>>> 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/P6QHPSFZLOZ6EZEVFQPBNII37PNIATU3/
>>>
>>> --
>>> Eduardo Mayoral Jimeno
>>> Systems engineer, platform department. Arsys internet.emayo...@arsys.es - 
>>> +34 941 620 105 - ext 2153
>>>
>>>
>>> ___
>>> 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/ADWCGNS353CUN3CIHFBZDUWAXRHL66JB/
>>>
>>> --
>>> Lucie Leistnerova
>>> Senior Quality Engineer, QE Cloud, RHVM
>>> Red Hat EMEA
>>>
>>> IRC: lleistne @ #rhev-qe
>>>
>>>
___
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/L3YRQC5GHAANGL5LU3ZVKILEQND4XQ6S/


[ovirt-users] ldaps-config

2020-02-26 Thread Budur Nagaraju
Hi

Can someone help me in configuring ldaps in oVirt Engine 4.x ?

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/P6QHPSFZLOZ6EZEVFQPBNII37PNIATU3/


[ovirt-users] LDAPS-Config

2019-08-12 Thread Budur Nagaraju
Hi

Can someone help in configuring LDAPs authentication in oVirt3.5 ?

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/3FAY4YH2XBXCMMKCJVEB2U4OWY4PO3OO/


[ovirt-users] Re: unable to add host in oVirt4.2

2018-10-01 Thread Budur Nagaraju
Found that have configured wrong IP in the host file and that was creating
issues.

Thanks for your support.

Thanks,
Nagaraju


On Mon, Oct 1, 2018 at 3:36 PM Simone Tiraboschi 
wrote:

> Can you please share also host-deploy logs?
>
> On Mon, Oct 1, 2018 at 11:43 AM Budur Nagaraju  wrote:
>
>> Hi
>>
>> When I add additional node with the version4.2 in the engine , getting
>> the error " Host has no default route." though the node has the default
>> gateway, below are the logs,
>>
>> Can you please help on the same?
>>
>>
>> https://pastebin.com/sDyVkvVY
>>
>> 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/OR7VHK3MMZCKPHAZRFL2OUP537EUJRKA/
>>
>
___
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/7MM2X2DJ57YGZ6VFRPZVCU3RKSXG75YO/


[ovirt-users] unable to add host in oVirt4.2

2018-10-01 Thread Budur Nagaraju
Hi

When I add additional node with the version4.2 in the engine , getting the
error " Host has no default route." though the node has the default
gateway, below are the logs,

Can you please help on the same?


https://pastebin.com/sDyVkvVY

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/OR7VHK3MMZCKPHAZRFL2OUP537EUJRKA/


[ovirt-users] Re: VM Migration

2018-09-27 Thread Budur Nagaraju
Hi

Can someone help on the same?

Thanks,
Nagaraju


On Thu, Sep 27, 2018, 2:50 PM Budur Nagaraju  wrote:

> Hi ,
>
> Have build oVirt4.2 setup with node4.2 ,while doing a vm migration am
> facing issues , below is the attached error.
>
> Can you please help to resolve?
>
>
> https://pastebin.com/BAzCsbAS
>
>
> 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/WH3WUCSGJJNI72M7C64B7PJQOKAW7O4Z/


[ovirt-users] Re: LDAP-Error

2018-09-27 Thread Budur Nagaraju
Thanks for the update , done the changes by adding the below lines in the
(example.properties)

pool.default.serverset.type = srvrecord
pool.default.serverset.srvrecord.domain = ${global:vars.domain}
pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}


On Thu, Sep 27, 2018 at 4:10 PM Ondra Machacek  wrote:

> You get following error:
>
>Internal Server Error: Cannot resolve principal 'nbud...@psecure.net'
> 2018-09-26 21:30:35,573+05 ERROR [org.ovirt.engine.core.sso.utils.SsoUt
>
> Meaning that user with UPN(user principal name) nbud...@psecure.net
> can't be found. Please double check if the user with that UPN exists.
>
> On 9/26/18 6:09 PM, Budur Nagaraju wrote:
> > Hi
> >
> > Have configured LDAP authentication in oVirt4.2, but unable to login
> facing
> > issues below is the error log and configuration, able to search the users
> > in the UI at same time unable to search the Group.
> >
> > Can someone help on the same?
> >
> >
> > Error :
> >
> > https://pastebin.com/76cZdV7d
> >
> > Configuration:
> >
> > https://pastebin.com/nRmibZh7
> >
> > 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/XYNGCLUPDFRI4QSGBBFSYXS4RIVSZZJU/
> >
>
___
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/QHJ45GLLTSTZGJTFTRPBT2URDQ22FERB/


[ovirt-users] VM Migration

2018-09-27 Thread Budur Nagaraju
Hi ,

Have build oVirt4.2 setup with node4.2 ,while doing a vm migration am
facing issues , below is the attached error.

Can you please help to resolve?


https://pastebin.com/BAzCsbAS


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/XIZTTCII7U57WZMINZJ3EWGOZ3AQCMEK/


[ovirt-users] LDAP-Error

2018-09-26 Thread Budur Nagaraju
Hi

Have configured LDAP authentication in oVirt4.2, but unable to login facing
issues below is the error log and configuration, able to search the users
in the UI at same time unable to search the Group.

Can someone help on the same?


Error :

https://pastebin.com/76cZdV7d

Configuration:

https://pastebin.com/nRmibZh7

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/XYNGCLUPDFRI4QSGBBFSYXS4RIVSZZJU/


[ovirt-users] Re: Convert HDD to Thin

2018-09-26 Thread Budur Nagaraju
Hi

Any updates, have stuck can you please update ?

Thanks,
Nagaraju

On Tue, Sep 25, 2018 at 3:06 PM Sandro Bonazzola 
wrote:

>
>
> Il giorno mar 25 set 2018 alle ore 11:31 Budur Nagaraju 
> ha scritto:
>
>> Instead can I build a new oVirt with 4.2 and nodes and import the storage
>> domain and register the vms ? is this possible?
>>
>
> I think so, but I'll let Michal and Tal to confirm.
>
>
>
>>
>> Thanks,
>> Nagaraju
>>
>>
>> On Tue, Sep 25, 2018 at 1:53 PM Sandro Bonazzola 
>> wrote:
>>
>>>
>>>
>>> Il giorno mar 25 set 2018 alle ore 09:01 Budur Nagaraju <
>>> nbud...@gmail.com> ha scritto:
>>>
>>>> Hi
>>>>
>>>> Can I upgrade  directly oVirt3.5 to 4.2 ? any pointers would help ?
>>>>
>>>
>>> No you can't.
>>> You need to upgrade to 3.6 first, both engine and hosts.
>>> Once you're at 3.6, you can upgrade engine to 4.0 and hosts directly to
>>> 4.2.
>>> Then you can upgrade engine to 4.1 and then to 4.2.
>>>
>>>
>>>
>>>>
>>>> Thanks,
>>>> Nagaraju
>>>>
>>>>
>>>> On Tue, Sep 25, 2018 at 11:56 AM Sandro Bonazzola 
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> Il giorno mar 25 set 2018 alle ore 07:06 Budur Nagaraju <
>>>>> nbud...@gmail.com> ha scritto:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> Am using oVirt 3.5 , and mapped 1.5TB if LUN from Dell Unity  have
>>>>>> deployed  50 vms in that lun , when I check the allocated space in 
>>>>>> storage
>>>>>> its showing 800GB in storage whereas in oVirt its showing 1.4TB in oVirt 
>>>>>> .
>>>>>>
>>>>>> Is there any way to shrink the same in oVirt ?
>>>>>>
>>>>>
>>>>> Please note oVirt 3.5 is not supported anymore and is vulnerable to
>>>>> meltdown and spectre attacks: https://meltdownattack.com/ .
>>>>> Please upgrade your deployment to 4.2 as soon as practical.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> 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/WA3BVDWIRM2NGIZLZG6ZZQP73VHFMIYW/
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> 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>
>>>
>>
>
> --
>
> 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>
>
___
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/EBX7W2YDG3HKLW3G64BYMPG7LPPGNZFF/


[ovirt-users] Ldap-configure

2018-09-26 Thread Budur Nagaraju
Hi

Can you please let us know how to configure LDAP authentication in oVirt
4.2 ?

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/DNHC4DIEM6OSYWR7XG4SXMHL7I6UUIE7/


[ovirt-users] Re: Convert HDD to Thin

2018-09-25 Thread Budur Nagaraju
Instead can I build a new oVirt with 4.2 and nodes and import the storage
domain and register the vms ? is this possible?

Thanks,
Nagaraju


On Tue, Sep 25, 2018 at 1:53 PM Sandro Bonazzola 
wrote:

>
>
> Il giorno mar 25 set 2018 alle ore 09:01 Budur Nagaraju 
> ha scritto:
>
>> Hi
>>
>> Can I upgrade  directly oVirt3.5 to 4.2 ? any pointers would help ?
>>
>
> No you can't.
> You need to upgrade to 3.6 first, both engine and hosts.
> Once you're at 3.6, you can upgrade engine to 4.0 and hosts directly to
> 4.2.
> Then you can upgrade engine to 4.1 and then to 4.2.
>
>
>
>>
>> Thanks,
>> Nagaraju
>>
>>
>> On Tue, Sep 25, 2018 at 11:56 AM Sandro Bonazzola 
>> wrote:
>>
>>>
>>>
>>> Il giorno mar 25 set 2018 alle ore 07:06 Budur Nagaraju <
>>> nbud...@gmail.com> ha scritto:
>>>
>>>> Hi
>>>>
>>>> Am using oVirt 3.5 , and mapped 1.5TB if LUN from Dell Unity  have
>>>> deployed  50 vms in that lun , when I check the allocated space in storage
>>>> its showing 800GB in storage whereas in oVirt its showing 1.4TB in oVirt .
>>>>
>>>> Is there any way to shrink the same in oVirt ?
>>>>
>>>
>>> Please note oVirt 3.5 is not supported anymore and is vulnerable to
>>> meltdown and spectre attacks: https://meltdownattack.com/ .
>>> Please upgrade your deployment to 4.2 as soon as practical.
>>>
>>>
>>>
>>>
>>>>
>>>> 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/WA3BVDWIRM2NGIZLZG6ZZQP73VHFMIYW/
>>>>
>>>
>>>
>>> --
>>>
>>> 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>
>
___
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/MZCO2NHPDAK5MWORHODR565TQKHAYMDO/


[ovirt-users] Re: Convert HDD to Thin

2018-09-25 Thread Budur Nagaraju
Hi

Can I upgrade  directly oVirt3.5 to 4.2 ? any pointers would help ?

Thanks,
Nagaraju


On Tue, Sep 25, 2018 at 11:56 AM Sandro Bonazzola 
wrote:

>
>
> Il giorno mar 25 set 2018 alle ore 07:06 Budur Nagaraju 
> ha scritto:
>
>> Hi
>>
>> Am using oVirt 3.5 , and mapped 1.5TB if LUN from Dell Unity  have
>> deployed  50 vms in that lun , when I check the allocated space in storage
>> its showing 800GB in storage whereas in oVirt its showing 1.4TB in oVirt .
>>
>> Is there any way to shrink the same in oVirt ?
>>
>
> Please note oVirt 3.5 is not supported anymore and is vulnerable to
> meltdown and spectre attacks: https://meltdownattack.com/ .
> Please upgrade your deployment to 4.2 as soon as practical.
>
>
>
>
>>
>> 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/WA3BVDWIRM2NGIZLZG6ZZQP73VHFMIYW/
>>
>
>
> --
>
> 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>
>
___
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/C3PQ7HTS5PED2P6PGMYFK4ILRNSSAHAJ/


[ovirt-users] Convert HDD to Thin

2018-09-24 Thread Budur Nagaraju
Hi

Am using oVirt 3.5 , and mapped 1.5TB if LUN from Dell Unity  have
deployed  50 vms in that lun , when I check the allocated space in storage
its showing 800GB in storage whereas in oVirt its showing 1.4TB in oVirt .

Is there any way to shrink the same in oVirt ?

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/WA3BVDWIRM2NGIZLZG6ZZQP73VHFMIYW/


[ovirt-users] Re: vm names export

2018-09-24 Thread Budur Nagaraju
HI

Done the modification now am getting the below 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
[root@cephc ovirt-scripts]#



On Tue, Sep 25, 2018 at 9:35 AM Joey Ma  wrote:

>
>
> On Tue, Sep 25, 2018 at 11:40 AM Budur Nagaraju  wrote:
>
>> 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 ',
>>
>
> hi,
>
> Simply remove the trailing space in url parameter may solve your problem.
>
> Regards,
> Joey
>
>
>
>> 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,
>

[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 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