2017-07-16 22:28:03,085 - INFO - SfaImporter: imported authority (parent) 2017-07-16 22:28:03,108 - INFO - SfaImporter: imported authority (authority+sa) 2017-07-16 22:28:03,115 - INFO - SfaImporter: imported authority (authority+am) 2017-07-16 22:28:03,122 - INFO - SfaImporter: imported authority (authority+sm) 2017-07-16 22:28:03,123 - INFO - ============================== 2017-07-16 22:28:03,123 - INFO - Starting import on 2017-07-16 20:28:03.123795, using class PlImporter from flavour pl 2017-07-16 22:28:03,367 - INFO - PlImporter: imported authority (site) : 2017-07-16 22:28:03,544 - INFO - PlImporter: imported node: 2017-07-16 22:28:03,695 - 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:28:03,695 - ERROR - PlImporter: failed to import person 3 admin@onelab.eu END TRACEBACK 2017-07-16 22:28:03,906 - 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:28:03,906 - ERROR - PlImporter: failed to import person 4 fake-pi1@onelab.eu END TRACEBACK 2017-07-16 22:28:04,039 - 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:28:04,039 - ERROR - PlImporter: failed to import person 5 fake-pi2@onelab.eu END TRACEBACK 2017-07-16 22:28:04,195 - 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:28:04,196 - ERROR - PlImporter: failed to import person 6 fake-tech1@onelab.eu END TRACEBACK 2017-07-16 22:28:04,474 - 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:28:04,474 - ERROR - PlImporter: failed to import person 7 fake-user1@onelab.eu END TRACEBACK 2017-07-16 22:28:04,779 - 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:28:04,779 - ERROR - PlImporter: failed to import person 8 fake-tech2@onelab.eu END TRACEBACK 2017-07-16 22:28:05,075 - INFO - PlImporter: imported slice: 2017-07-16 22:28:05,229 - INFO - PlImporter: imported slice: 2017-07-16 22:28:05,352 - INFO - PlImporter: imported slice: 2017-07-16 22:28:05,561 - 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:28:05,561 - ERROR - PlImporter: failed to import site None. Skipping child records END TRACEBACK 2017-07-16 22:28:05,568 - INFO - Import took 0:00:02.444365 2017-07-16 22:28:05,568 - INFO - ==============================