[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] Noisy Logs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there any way we can quiet the cert logging? I get all this when I
run the tests:

{code-reorganization} -> nosetests
E..E...........E.........E..EEE.E...............EEE............Object DB
users: adding unique index: id
make_cert: [someconsumer.example.com]
E[2010-08-19 09:49:05.050781] <pulp.auth.SystemPrincipal object at
0x2dc1e50> called UserApi.clean on
Object DB users: adding unique index: id
Role checking start, function: <function some_method at 0x2fe9320>
Role Name [consumer], check? [True]
Roles to check: {'admin': None, 'consumer': True}
SSL k: SSL_CLIENT_CERT, v: -----BEGIN CERTIFICATE-----
MIIDWDCCAsGgAwIBAgIBAzANBgkqhkiG9w0BAQUFADA/MR4wHAYDVQQDExVnaWJz
b24ucGR4LnJlZGhhdC5jb20xCzAJBgNVBAYTAlVTMRAwDgYDVQQHEwdSYWxlaWdo
MB4XDTEwMDcwNzIwMDQyMFoXDTExMDcwNzIwMDQyMFowVjEOMAwGA1UEAwwFYWRt
aW4xNDAyBgoJkiaJk/IsZAEBDCRmYjEyZDk3NS0xZjMzLTRiMzQtOGFjOS0wYWRi
NjA4OWZiODcxDjAMBgNVBAsMBWFkbWluMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A
MIIBCgKCAQEAiuTfeSXn8PLvSMJ3Zh9PhdNZyzOmZ7gdVewjHsrusUeVCcU09Jel
Iadk/r0SMRU4+ekyOBvxXXnP0ye/gc5tb61fttPs8OXb428q8K+9kwR4VMqPbJfH
filCXDIrgU5/xWuLn2cwwwur5V1Kfr/dOWRcTLTveBBhr0Kl31RCuAIYcdFW3zU/
SsUidgT9qwn8lyDIgMhBEFugBaTmGV5mFSGV9QSdXsZaKBOCmwKq1Nzgsmo6HzoR
qJg+Pz3jXMYgE66G00+5VHqo+4TFirSA1wP7gTJHtu7CEHLrhBZaq+n+qEcf1wz2
J+oAtTXQqb38ZbEdZJJEux1Latxw0PTanwIDAQABo4HIMIHFMBEGCWCGSAGG+EIB
AQQEAwIFoDALBgNVHQ8EBAMCBLAwbwYDVR0jBGgwZoAUCrgzWZ0UDpr0ySsj3PGj
GVW+b2yhQ6RBMD8xHjAcBgNVBAMTFWdpYnNvbi5wZHgucmVkaGF0LmNvbTELMAkG
A1UEBhMCVVMxEDAOBgNVBAcTB1JhbGVpZ2iCCQDnJgdM9UiXZDAdBgNVHQ4EFgQU
i1QDaLGUpOcDVEsHCyAfTnsoCMwwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDQYJKoZI
hvcNAQEFBQADgYEAsRlHLlVJkozPeWWAEkZsnO/mdovPVsEBod8hOeNKcnBjYmeV
BzjcQIN9qaV7CE59NI3w5Hc+uleh0CtB6+9QhSBmrKq+jNGoNPSXQsyEZm4o+sCS
LvSVvbZ1ysiOlMaHh6+zG0grK9OurNSXMkHD3GDU8B/3ztQIIET79LHIHDs=
- -----END CERTIFICATE-----

parsed ID CERT: Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 3 (0x3)
        Signature Algorithm: sha1WithRSAEncryption
        Issuer: CN=gibson.pdx.redhat.com, C=US, L=Raleigh
        Validity
            Not Before: Jul  7 20:04:20 2010 GMT
            Not After : Jul  7 20:04:20 2011 GMT
        Subject: CN=admin/UID=fb12d975-1f33-4b34-8ac9-0adb6089fb87, OU=admin
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                Public-Key: (2048 bit)
                Modulus:
                    00:8a:e4:df:79:25:e7:f0:f2:ef:48:c2:77:66:1f:
                    4f:85:d3:59:cb:33:a6:67:b8:1d:55:ec:23:1e:ca:
                    ee:b1:47:95:09:c5:34:f4:97:a5:21:a7:64:fe:bd:
                    12:31:15:38:f9:e9:32:38:1b:f1:5d:79:cf:d3:27:
                    bf:81:ce:6d:6f:ad:5f:b6:d3:ec:f0:e5:db:e3:6f:
                    2a:f0:af:bd:93:04:78:54:ca:8f:6c:97:c7:7e:29:
                    42:5c:32:2b:81:4e:7f:c5:6b:8b:9f:67:30:c3:0b:
                    ab:e5:5d:4a:7e:bf:dd:39:64:5c:4c:b4:ef:78:10:
                    61:af:42:a5:df:54:42:b8:02:18:71:d1:56:df:35:
                    3f:4a:c5:22:76:04:fd:ab:09:fc:97:20:c8:80:c8:
                    41:10:5b:a0:05:a4:e6:19:5e:66:15:21:95:f5:04:
                    9d:5e:c6:5a:28:13:82:9b:02:aa:d4:dc:e0:b2:6a:
                    3a:1f:3a:11:a8:98:3e:3f:3d:e3:5c:c6:20:13:ae:
                    86:d3:4f:b9:54:7a:a8:fb:84:c5:8a:b4:80:d7:03:
                    fb:81:32:47:b6:ee:c2:10:72:eb:84:16:5a:ab:e9:
                    fe:a8:47:1f:d7:0c:f6:27:ea:00:b5:35:d0:a9:bd:
                    fc:65:b1:1d:64:92:44:bb:1d:4b:6a:dc:70:d0:f4:
                    da:9f
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            Netscape Cert Type:
                SSL Client, S/MIME
            X509v3 Key Usage:
                Digital Signature, Key Encipherment, Data Encipherment
            X509v3 Authority Key Identifier:

keyid:0A:B8:33:59:9D:14:0E:9A:F4:C9:2B:23:DC:F1:A3:19:55:BE:6F:6C
                DirName:/CN=gibson.pdx.redhat.com/C=US/L=Raleigh
                serial:E7:26:07:4C:F5:48:97:64

            X509v3 Subject Key Identifier:
                8B:54:03:68:B1:94:A4:E7:03:54:4B:07:0B:20:1F:4E:7B:28:08:CC
            X509v3 Extended Key Usage:
                TLS Web Client Authentication
    Signature Algorithm: sha1WithRSAEncryption
        b1:19:47:2e:55:49:92:8c:cf:79:65:80:12:46:6c:9c:ef:e6:
        76:8b:cf:56:c1:01:a1:df:21:39:e3:4a:72:70:63:62:67:95:
        07:38:dc:40:83:7d:a9:a5:7b:08:4e:7d:34:8d:f0:e4:77:3e:
        ba:57:a1:d0:2b:41:eb:ef:50:85:20:66:ac:aa:be:8c:d1:a8:
        34:f4:97:42:cc:84:66:6e:28:fa:c0:92:2e:f4:95:bd:b6:75:
        ca:c8:8e:94:c6:87:87:af:b3:1b:48:2b:2b:d3:ae:ac:d4:97:
        32:41:c3:dc:60:d4:f0:1f:f7:ce:d4:08:20:44:fb:f4:b1:c8:
        1c:3b

Consumer UID: admin
Arg [test_role_check (test_role_check.TestRoleCheck)]
Arg [somevalue]
Certificate UID doesnt match the consumer UID you passed in
consumer_access_granted? False
AAG: False, CAG: False
Access denied.
[2010-08-19 09:49:05.057697] <pulp.auth.SystemPrincipal object at
0x2dc1e50> called UserApi.clean on
.Object DB users: adding unique index: id
password received is some password
login test_auth
name None
[2010-08-19 09:49:05.060194] <pulp.auth.SystemPrincipal object at
0x2dc1e50> called UserApi.create on login: test_auth
Role checking start, function: <function some_other_method at 0x2fb5a28>
Role Name [admin], check? [True]
Roles to check: {'admin': True, 'consumer': None}
Checking username/pass
admin access granted: False
AAG: False, CAG: False
Access denied.
Role checking start, function: <function some_other_method at 0x2fb5a28>
Role Name [admin], check? [True]
Roles to check: {'admin': True, 'consumer': None}
Checking username/pass
auth_string string: Basic dGVzdF9hdXRoOmludmFsaWQgcGFzc3dvcmQ=

Username: test_auth hashed password: invalid password
Stored user password:
wmh6sJtXS0g=,GujA7n+hktPQU/RBWWzLmrRUkT9GLcVJ1tTLTKqnxds=
Good Password? [False]
admin access granted: False
AAG: False, CAG: False
Access denied.
Role checking start, function: <function some_other_method at 0x2fb5a28>
Role Name [admin], check? [True]
Roles to check: {'admin': True, 'consumer': None}
Checking username/pass
auth_string string: Basic bm9uIGV4aXN0aW5nIHVzZXI6c29tZSBwYXNzd29yZA==

Role checking start, function: <function some_other_method at 0x2fb5a28>
Role Name [admin], check? [True]
Roles to check: {'admin': True, 'consumer': None}
Checking username/pass
auth_string string: Basic dGVzdF9hdXRoOnNvbWUgcGFzc3dvcmQ=

Username: test_auth hashed password: some password
Stored user password:
wmh6sJtXS0g=,GujA7n+hktPQU/RBWWzLmrRUkT9GLcVJ1tTLTKqnxds=
Good Password? [True]
admin access granted: True
AAG: True, CAG: False
check_roles : Access granted
Role checking start, function: <function some_other_method2 at 0x2fb5b18>
Role Name [admin], check? [True]
Role Name [consumer], check? [True]
Roles to check: {'admin': True, 'consumer': True}
Checking username/pass
auth_string string: Basic dGVzdF9hdXRoOmludmFsaWQgcGFzc3dvcmQ=

Username: test_auth hashed password: invalid password
Stored user password:
wmh6sJtXS0g=,GujA7n+hktPQU/RBWWzLmrRUkT9GLcVJ1tTLTKqnxds=
Good Password? [False]
admin access granted: False
consumer_access_granted? False
AAG: False, CAG: False
Access denied.
Role checking start, function: <function some_other_method2 at 0x2fb5b18>
Role Name [admin], check? [True]
Role Name [consumer], check? [True]
Roles to check: {'admin': True, 'consumer': True}
Checking username/pass
auth_string string: Basic bm9uIGV4aXN0aW5nIHVzZXI6c29tZSBwYXNzd29yZA==

Role checking start, function: <function some_other_method2 at 0x2fb5b18>
Role Name [admin], check? [True]
Role Name [consumer], check? [True]
Roles to check: {'admin': True, 'consumer': True}
Checking username/pass
auth_string string: Basic dGVzdF9hdXRoOnNvbWUgcGFzc3dvcmQ=

Username: test_auth hashed password: some password
Stored user password:
wmh6sJtXS0g=,GujA7n+hktPQU/RBWWzLmrRUkT9GLcVJ1tTLTKqnxds=
Good Password? [True]
admin access granted: True
consumer_access_granted? False
AAG: True, CAG: False
check_roles : Access granted
[2010-08-19 09:49:05.404778] <pulp.auth.SystemPrincipal object at
0x2dc1e50> called UserApi.clean on
...................F



- -- 
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMbTdJAAoJEOMmcTqOSQHCsVUH/jRT4/K/SgJEnBoilr/B60XG
ISFlrPbGQxk//q03zoWRsRNCq18i2UhBJ4Ifxt+k+IckRy9AsR9+R+B5T0Q1XfDA
YBEgS1sNgq96oHhx6thidutUXoYj/fKgNwGjTotOibYpV+pmBs2hsUWvTHKJh0QR
C8LeKJHEGe9fGjfd+HXCrqiD94w2trpunSHQyX8tWbfmmdbKIu3G21Mg5QINfuva
LUTohaOYNS9kQx2WqZlsIAA6m6DPnuYhseZgKKHi7gCm5DBSUPvnO4Aj5UHPvDpW
N/HpHGnlSz7t/wMNjkBUhyPgBt+h5MrL6RNBWwGEkGBYN5QEi3lRcgCcEyb5nJs=
=27T+
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]