Guest User

Untitled

a guest
Sep 24th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. [root@cephc ovirt-scripts]# python get_vm_names
  2. Traceback (most recent call last):
  3. File "get_vm_names", line 16, in <module>
  4. log=logging.getLogger(),
  5. File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 307, in __init__
  6. raise Error('The CA file \'%s\' doesn\'t exist' % ca_file)
  7. ovirtsdk4.Error: The CA file ' /etc/pki/tls/cert.pem' doesn't exist
  8. [root@cephc ovirt-scripts]# cat example.log
  9. DEBUG:root:* About to connect() to pscloud.bnglab.psecure.net port 443 (#0)
  10. DEBUG:root:* Trying 10.204.207.171...
  11. DEBUG:root:* Connected to pscloud.bnglab.psecure.net (10.204.207.171) port 443 (#0)
  12. DEBUG:root:* Initializing NSS with certpath: sql:/etc/pki/nssdb
  13. DEBUG:root:* CAfile: /etc/pki/tls/certs/ca-bundle.crt
  14. DEBUG:root:* CApath: none
  15. DEBUG:root:* Server certificate:
  16. DEBUG:root:* subject: CN=pscloud.bnglab.psecure.net,O=bnglab.psecure.net,C=US
  17. DEBUG:root:* start date: Nov 01 06:32:21 2015 GMT
  18. DEBUG:root:* expire date: Oct 06 06:32:21 2020 GMT
  19. DEBUG:root:* common name: pscloud.bnglab.psecure.net
  20. DEBUG:root:* issuer: CN=pscloud.bnglab.psecure.net.90881,O=bnglab.psecure.net,C=US
  21. DEBUG:root:* NSS error -8172 (SEC_ERROR_UNTRUSTED_ISSUER)
  22. DEBUG:root:* Peer's certificate issuer has been marked as not trusted by the user.
  23. DEBUG:root:* Closing connection 0
  24. DEBUG:root:* About to connect() to pscloud.bnglab.psecure.net port 443 (#0)
  25. DEBUG:root:* Trying 10.204.207.171...
  26. DEBUG:root:* Connected to pscloud.bnglab.psecure.net (10.204.207.171) port 443 (#0)
  27. DEBUG:root:* Initializing NSS with certpath: sql:/etc/pki/nssdb
  28. DEBUG:root:* CAfile: /etc/pki/tls/certs/ca-bundle.crt
  29. DEBUG:root:* CApath: none
  30. DEBUG:root:* Server certificate:
  31. DEBUG:root:* subject: CN=pscloud.bnglab.psecure.net,O=bnglab.psecure.net,C=US
  32. DEBUG:root:* start date: Nov 01 06:32:21 2015 GMT
  33. DEBUG:root:* expire date: Oct 06 06:32:21 2020 GMT
  34. DEBUG:root:* common name: pscloud.bnglab.psecure.net
  35. DEBUG:root:* issuer: CN=pscloud.bnglab.psecure.net.90881,O=bnglab.psecure.net,C=US
  36. DEBUG:root:* NSS error -8172 (SEC_ERROR_UNTRUSTED_ISSUER)
  37. DEBUG:root:* Peer's certificate issuer has been marked as not trusted by the user.
  38. DEBUG:root:* Closing connection 0
  39. DEBUG:root:* About to connect() to pscloud.bnglab.psecure.net port 443 (#0)
  40. DEBUG:root:* Trying 10.204.207.171...
  41. DEBUG:root:* Connected to pscloud.bnglab.psecure.net (10.204.207.171) port 443 (#0)
  42. DEBUG:root:* Initializing NSS with certpath: sql:/etc/pki/nssdb
  43. DEBUG:root:* CAfile: /etc/pki/tls/cert.pem
  44. DEBUG:root:* CApath: none
  45. DEBUG:root:* Server certificate:
  46. DEBUG:root:* subject: CN=pscloud.bnglab.psecure.net,O=bnglab.psecure.net,C=US
  47. DEBUG:root:* start date: Nov 01 06:32:21 2015 GMT
  48. DEBUG:root:* expire date: Oct 06 06:32:21 2020 GMT
  49. DEBUG:root:* common name: pscloud.bnglab.psecure.net
  50. DEBUG:root:* issuer: CN=pscloud.bnglab.psecure.net.90881,O=bnglab.psecure.net,C=US
  51. DEBUG:root:* NSS error -8172 (SEC_ERROR_UNTRUSTED_ISSUER)
  52. DEBUG:root:* Peer's certificate issuer has been marked as not trusted by the user.
  53. DEBUG:root:* Closing connection 0
  54. DEBUG:root:* About to connect() to pscloud.bnglab.psecure.net port 443 (#0)
  55. DEBUG:root:* Trying 10.204.207.171...
  56. DEBUG:root:* Connected to pscloud.bnglab.psecure.net (10.204.207.171) port 443 (#0)
  57. DEBUG:root:* Initializing NSS with certpath: sql:/etc/pki/nssdb
  58. DEBUG:root:* CAfile: /etc/pki/tls/cert.pem
  59. DEBUG:root:* CApath: none
  60. DEBUG:root:* Server certificate:
  61. DEBUG:root:* subject: CN=pscloud.bnglab.psecure.net,O=bnglab.psecure.net,C=US
  62. DEBUG:root:* start date: Nov 01 06:32:21 2015 GMT
  63. DEBUG:root:* expire date: Oct 06 06:32:21 2020 GMT
  64. DEBUG:root:* common name: pscloud.bnglab.psecure.net
  65. DEBUG:root:* issuer: CN=pscloud.bnglab.psecure.net.90881,O=bnglab.psecure.net,C=US
  66. DEBUG:root:* NSS error -8172 (SEC_ERROR_UNTRUSTED_ISSUER)
  67. DEBUG:root:* Peer's certificate issuer has been marked as not trusted by the user.
  68. DEBUG:root:* Closing connection 0
Add Comment
Please, Sign In to add comment