2017-07-16 22:25:02,316 - INFO - SfaImporter: imported authority (parent) 2017-07-16 22:25:02,335 - INFO - SfaImporter: imported authority (authority+sa) 2017-07-16 22:25:02,343 - INFO - SfaImporter: imported authority (authority+am) 2017-07-16 22:25:02,350 - INFO - SfaImporter: imported authority (authority+sm) 2017-07-16 22:25:02,351 - INFO - ============================== 2017-07-16 22:25:02,352 - INFO - Starting import on 2017-07-16 20:25:02.351953, using class PlImporter from flavour pl 2017-07-16 22:25:02,482 - INFO - PlImporter: imported authority (site) : 2017-07-16 22:25:02,590 - INFO - PlImporter: imported node: 2017-07-16 22:25:03,008 - ERROR - PlImporter: failed to import person 3 admin@onelab.eu BEG TRACEBACK Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sfa/importer/plimporter.py", line 356, in run email=person['email']) File "/usr/lib/python2.7/site-packages/sfa/trust/hierarchy.py", line 280, in create_gid gid.encode() File "/usr/lib/python2.7/site-packages/sfa/trust/gid.py", line 167, in encode self.set_data(string, 'subjectAltName') File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 717, in set_data self.add_extension(field, 0, string) File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 679, in add_extension ext = OpenSSL.crypto.X509Extension(name, critical, value) File "/usr/lib/python2.7/site-packages/OpenSSL/crypto.py", line 720, in __init__ extension = _lib.X509V3_EXT_nconf(_ffi.NULL, ctx, type_name, value) TypeError: initializer for ctype 'char *' must be a str or list or tuple, not unicode 2017-07-16 22:25:03,008 - ERROR - PlImporter: failed to import person 3 admin@onelab.eu END TRACEBACK 2017-07-16 22:25:03,227 - ERROR - PlImporter: failed to import person 4 fake-pi1@onelab.eu BEG TRACEBACK Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sfa/importer/plimporter.py", line 356, in run email=person['email']) File "/usr/lib/python2.7/site-packages/sfa/trust/hierarchy.py", line 280, in create_gid gid.encode() File "/usr/lib/python2.7/site-packages/sfa/trust/gid.py", line 167, in encode self.set_data(string, 'subjectAltName') File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 717, in set_data self.add_extension(field, 0, string) File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 679, in add_extension ext = OpenSSL.crypto.X509Extension(name, critical, value) File "/usr/lib/python2.7/site-packages/OpenSSL/crypto.py", line 720, in __init__ extension = _lib.X509V3_EXT_nconf(_ffi.NULL, ctx, type_name, value) TypeError: initializer for ctype 'char *' must be a str or list or tuple, not unicode 2017-07-16 22:25:03,227 - ERROR - PlImporter: failed to import person 4 fake-pi1@onelab.eu END TRACEBACK 2017-07-16 22:25:03,408 - ERROR - PlImporter: failed to import person 5 fake-pi2@onelab.eu BEG TRACEBACK Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sfa/importer/plimporter.py", line 356, in run email=person['email']) File "/usr/lib/python2.7/site-packages/sfa/trust/hierarchy.py", line 280, in create_gid gid.encode() File "/usr/lib/python2.7/site-packages/sfa/trust/gid.py", line 167, in encode self.set_data(string, 'subjectAltName') File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 717, in set_data self.add_extension(field, 0, string) File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 679, in add_extension ext = OpenSSL.crypto.X509Extension(name, critical, value) File "/usr/lib/python2.7/site-packages/OpenSSL/crypto.py", line 720, in __init__ extension = _lib.X509V3_EXT_nconf(_ffi.NULL, ctx, type_name, value) TypeError: initializer for ctype 'char *' must be a str or list or tuple, not unicode 2017-07-16 22:25:03,408 - ERROR - PlImporter: failed to import person 5 fake-pi2@onelab.eu END TRACEBACK 2017-07-16 22:25:03,527 - ERROR - PlImporter: failed to import person 6 fake-tech1@onelab.eu BEG TRACEBACK Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sfa/importer/plimporter.py", line 356, in run email=person['email']) File "/usr/lib/python2.7/site-packages/sfa/trust/hierarchy.py", line 280, in create_gid gid.encode() File "/usr/lib/python2.7/site-packages/sfa/trust/gid.py", line 167, in encode self.set_data(string, 'subjectAltName') File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 717, in set_data self.add_extension(field, 0, string) File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 679, in add_extension ext = OpenSSL.crypto.X509Extension(name, critical, value) File "/usr/lib/python2.7/site-packages/OpenSSL/crypto.py", line 720, in __init__ extension = _lib.X509V3_EXT_nconf(_ffi.NULL, ctx, type_name, value) TypeError: initializer for ctype 'char *' must be a str or list or tuple, not unicode 2017-07-16 22:25:03,527 - ERROR - PlImporter: failed to import person 6 fake-tech1@onelab.eu END TRACEBACK 2017-07-16 22:25:03,658 - ERROR - PlImporter: failed to import person 7 fake-user1@onelab.eu BEG TRACEBACK Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sfa/importer/plimporter.py", line 356, in run email=person['email']) File "/usr/lib/python2.7/site-packages/sfa/trust/hierarchy.py", line 280, in create_gid gid.encode() File "/usr/lib/python2.7/site-packages/sfa/trust/gid.py", line 167, in encode self.set_data(string, 'subjectAltName') File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 717, in set_data self.add_extension(field, 0, string) File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 679, in add_extension ext = OpenSSL.crypto.X509Extension(name, critical, value) File "/usr/lib/python2.7/site-packages/OpenSSL/crypto.py", line 720, in __init__ extension = _lib.X509V3_EXT_nconf(_ffi.NULL, ctx, type_name, value) TypeError: initializer for ctype 'char *' must be a str or list or tuple, not unicode 2017-07-16 22:25:03,658 - ERROR - PlImporter: failed to import person 7 fake-user1@onelab.eu END TRACEBACK 2017-07-16 22:25:03,774 - ERROR - PlImporter: failed to import person 8 fake-tech2@onelab.eu BEG TRACEBACK Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sfa/importer/plimporter.py", line 356, in run email=person['email']) File "/usr/lib/python2.7/site-packages/sfa/trust/hierarchy.py", line 280, in create_gid gid.encode() File "/usr/lib/python2.7/site-packages/sfa/trust/gid.py", line 167, in encode self.set_data(string, 'subjectAltName') File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 717, in set_data self.add_extension(field, 0, string) File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 679, in add_extension ext = OpenSSL.crypto.X509Extension(name, critical, value) File "/usr/lib/python2.7/site-packages/OpenSSL/crypto.py", line 720, in __init__ extension = _lib.X509V3_EXT_nconf(_ffi.NULL, ctx, type_name, value) TypeError: initializer for ctype 'char *' must be a str or list or tuple, not unicode 2017-07-16 22:25:03,775 - ERROR - PlImporter: failed to import person 8 fake-tech2@onelab.eu END TRACEBACK 2017-07-16 22:25:04,040 - INFO - PlImporter: imported slice: 2017-07-16 22:25:04,299 - INFO - PlImporter: imported slice: 2017-07-16 22:25:04,441 - INFO - PlImporter: imported slice: 2017-07-16 22:25:04,652 - ERROR - PlImporter: failed to import site None. Skipping child records BEG TRACEBACK Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/sfa/importer/plimporter.py", line 234, in run self.auth_hierarchy.create_auth(urn) File "/usr/lib/python2.7/site-packages/sfa/trust/hierarchy.py", line 185, in create_auth gid = self.create_gid(xrn, create_uuid(), pkey) File "/usr/lib/python2.7/site-packages/sfa/trust/hierarchy.py", line 258, in create_gid gid.set_intermediate_ca(True) File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 628, in set_intermediate_ca return self.set_is_ca(val) File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 646, in set_is_ca self.add_extension('basicConstraints', 1, 'CA:TRUE') File "/usr/lib/python2.7/site-packages/sfa/trust/certificate.py", line 680, in add_extension self.x509.add_extensions([ext]) AttributeError: 'NoneType' object has no attribute 'add_extensions' 2017-07-16 22:25:04,652 - ERROR - PlImporter: failed to import site None. Skipping child records END TRACEBACK 2017-07-16 22:25:04,658 - INFO - Import took 0:00:02.306863 2017-07-16 22:25:04,658 - INFO - ==============================