[ovirt-devel] ovirt-sdk get_subject() problem

Denis Kirjanov kda at itsirius.su
Wed Oct 29 09:40:23 UTC 2014


Hi guys, 

I'm having a problem getting the value from the manager using vm.get_display().get_certificate().get_subject():
It happens on VM restart and what I get is: 'NoneType' object has no attribute 'get_subject'.

It happens only with get_subject() since I don't have a problem to get other values like vm address or display port.
Moreover, the second attempt to query the certificate subject always succeeds...

Is there a way to overcome this?

We're using ovirt 3.1 and I've found the same issue here: 
http://lists.ovirt.org/pipermail/devel/2013-July/005221.html

Thank you.




More information about the Devel mailing list