[Yahoo-eng-team] [Bug 1536300] [NEW] Catalog response is inconsistent for domain scoped token

2016-01-20 Thread Haneef Ali
Public bug reported: Some of the endpoints include tenant information and if we use domain scoped token there is no tenant information. So the catalog doesn't have any entry for those services for domain scoped token which looks odd Since domain scoped token is used only by identity, the better

[Yahoo-eng-team] [Bug 1528661] [NEW] Create region throws schema validation error for empty region

2015-12-22 Thread Haneef Ali
Public bug reported: { " region" : {} } This is a valid request in kilo. But this no longer works in liberty. Liberty is throwing "index_out_of_range" error which is re thrown as schema validation error.

[Yahoo-eng-team] [Bug 1526976] [NEW] Any operation without token fails with internal server error for fernet token

2015-12-16 Thread Haneef Ali
Public bug reported: This bug is only for fernet token. Configure keystone to use fernet token. Call any operation without passing a X-Auth-Token. It reports 500 error. It should throw 401 e.g curl -X DELEETE $OS_AUTH_URL/v3/projects/ Haneef Ali (haneef) -- You received this bug notification

[Yahoo-eng-team] [Bug 1521772] [NEW] List users in a group by name throws HTTP 500 error

2015-12-01 Thread Haneef Ali
Public bug reported: (keystone.common.wsgi): 2015-12-01 21:53:58,603 INFO wsgi __call__ GET http://192.168.245.9:35357/v3/groups/42b6bb3bb70f487cbf9633bf55eb9ddc/users?name=admin (keystone.common.wsgi): 2015-12-01 21:53:58,610 ERROR wsgi __call__ Entity '' has no property 'name' Traceback

[Yahoo-eng-team] [Bug 1499555] [NEW] You can crash keystone or make the DB very slow by assigning many roles

2015-09-24 Thread Haneef Ali
Public bug reported: This is applicable for UUID and PKI tokens. Token table has extra column where we store role information. It is a blob with 64K limit Basically we can do the following Say user is U, and Project is P for i =1 to 1000 ( or any large number) role x

[Yahoo-eng-team] [Bug 1485035] [NEW] cadf payload doesn't have initiator for v2 calls

2015-08-14 Thread Haneef Ali
Public bug reported: CADF payload doesn't have initiator for any of the v2 calls. e.g 1) v2 update user 2) This internally calls identity_driver.update_user without imitator argument which is a default argument initialized to None 3) If we call v3 update user, then we pass

[Yahoo-eng-team] [Bug 1483860] [NEW] Keystone version discovery is broken if you configure admin_endpoint and public_endpoint in conf file

2015-08-11 Thread Haneef Ali
Public bug reported: Keystone version discovery is broken if you configure admin_endpoint and public_endpoint in conf file. Version discovery is supposed to return the configured endpoint, but it will always return admin endpoint. This bug is in Juno/Kilo/master. This is only applicable for

[Yahoo-eng-team] [Bug 1441733] [NEW] pip install or python setup.py install should include httpd/keystone.py

2015-04-08 Thread Haneef Ali
Public bug reported: Now the recommended way to install keystone is via apache. But httpd/keystone.py is not included when we do python setup.py install in keystone. It should be included ** Affects: keystone Importance: Undecided Status: New -- You received this bug

[Yahoo-eng-team] [Bug 1436141] Re: Federation get unscoped token from assertion throws : ERROR tuple index out of range

2015-03-25 Thread Haneef Ali
The exception doesn't haappen with new mapping ** Changed in: keystone Status: New = Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1436141 Title: Federation get

[Yahoo-eng-team] [Bug 1436141] [NEW] Federation get unscoped token from assertion throws : ERROR tuple index out of range

2015-03-24 Thread Haneef Ali
Public bug reported: Relevant line in the code https://github.com/openstack/keystone/blob/master/keystone/contrib/federation/utils.py#L158 Relevant logs keystone.contrib.federation.utils): 2015-03-25 02:40:06,920 DEBUG utils process rules: [{u'remote': [{u'type': u'openstack_user',

[Yahoo-eng-team] [Bug 1431669] [NEW] Create saml assertion doesn't work with fernet token

2015-03-12 Thread Haneef Ali
Public bug reported: TypeError: token must be bytes. (keystone.common.wsgi): 2015-03-13 03:04:16,968 ERROR token must be bytes. Traceback (most recent call last): File /usr/local/lib/python2.7/dist-packages/keystone/common/wsgi.py, line 238, in __call__ result = method(context, **params)

[Yahoo-eng-team] [Bug 1430951] [NEW] Revocation causes duplicate events in revocation table

2015-03-11 Thread Haneef Ali
Public bug reported: Revoke a project scoped token You see 3 entries in revocation_event table 1) (id, user_id, project_id, role_id, issued_before) 2) (id, user_id,, issued_before) 3) (id, user_id,, issued_before) 2 3 are redundant. Definitely 3) is redundant as it is same as 2) BTW, this

[Yahoo-eng-team] [Bug 1430062] [NEW] Fernet token response has wrong methods

2015-03-09 Thread Haneef Ali
Public bug reported: If you validate fernet token, the token response has 2 methods. Since the token is obtained using the password method, the response should only have password method ex - token response expires_at: 2015-03-14T03:06:39Z, extras: {}, issued_at:

[Yahoo-eng-team] [Bug 1418678] [NEW] Most of the keystone calls generate exception in dogpile when caching is disabled

2015-02-05 Thread Haneef Ali
Public bug reported: Eventhough dogpile caching is disabled, most of the calls generate the following three lines 2015-02-03 15:17:13.041 30043 DEBUG dogpile.core.dogpile [-] NeedRegenerationException _enter /opt/stack/venvs/openstack/lib/python2.7/site-packages/dogpile/core/dogpile.py:94

[Yahoo-eng-team] [Bug 1394730] [NEW] Keystone should not allow creation multiple service with same type

2014-11-20 Thread Haneef Ali
Public bug reported: In service table only ID is primary not type. (i.e) I can create two service of type compute. Assume if I do so, then horizon and other services clients will throw exception since they don't know which service to pick it up. Best to way to avoid this, is to not allow

[Yahoo-eng-team] [Bug 1387379] [NEW] List users and List project raises 401 for admin users if you enable multi domain configuration

2014-10-29 Thread Haneef Ali
Public bug reported: Steps to reproduce 1) Enable domain specifc dirvers for identity domain_specific_drivers_enabled = True 2) Add domain specific configuration files 3) Either get a token which as admin priveillage or ADMIN token configured in keystone.conf 4) Use the token to go GET

[Yahoo-eng-team] [Bug 1386810] [NEW] Keystone should not create a queue. Or it should empty the queue

2014-10-28 Thread Haneef Ali
Public bug reported: If you enable messaging keystone creates a queue notificaiton.info and sends a message with the routing key notification.info to the queue. As per rabbitmq, producer sends a message to an Exchange and Consumer creates a queue and attaches to the exchange to receve the

[Yahoo-eng-team] [Bug 1384457] [NEW] Self value in Link is wrong in GET /OS-REVOKE/events

2014-10-22 Thread Haneef Ali
Public bug reported: There are 2 events in the path # curl -k -H X-Auth-Token:SomeToken http://localhost:35357/v3/OS-REVOKE/events | python -mjson.tool % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total

[Yahoo-eng-team] [Bug 1383924] [NEW] keystone notification should use different topic for CADF and normal notificaiton

2014-10-21 Thread Haneef Ali
Public bug reported: Keystone uses same topic for both normal notificaiton and audit. Ideally both should be in different topic. Both has different security/persistence requirement ** Affects: keystone Importance: Undecided Status: New -- You received this bug notification

[Yahoo-eng-team] [Bug 1378532] [NEW] Keystone token date format is inconsistent

2014-10-07 Thread Haneef Ali
Public bug reported: issued_at field is only in v3, but v2 token response has issued_at. This is not a major issue. But the format of the date is inconsistent token: { expires: 2014-10-08T00:51:35Z, id: a94eec3993a74bf4b26f91bd485f3b6d, issued_at:

[Yahoo-eng-team] [Bug 1378036] [NEW] Keystone unit tests should use domain scoped token

2014-10-06 Thread Haneef Ali
Public bug reported: Keystone is moving towards v3. Identity operations are supposed to use domain scoped token and all the services are supposed to use tenant scoped token. The concept of domain_admin will work only if you use domain scoped token. Most of l the keystone unit tests use v3

[Yahoo-eng-team] [Bug 1374045] [NEW] Add v3 endpoint for identity in catalog

2014-09-25 Thread Haneef Ali
Public bug reported: This is a wish list. Since we are moving to v3, it is better to add v3 endpoint in sample_data.sh. We still have only v2.0 endpoint.I don't think keystoenclient will be affected since it doesn't use the endpoint from catalog, but relies on version discovery ** Affects:

[Yahoo-eng-team] [Bug 1361306] [NEW] Keysttone doesn't handle user_attribute_id mapping

2014-08-25 Thread Haneef Ali
Public bug reported: By default keystone gets the id from first field of DN. It doesn't use user_id_attibute mapping from keystone.conf In the following code, id attribute is always 1 element in DN ---Relevent code--- @staticmethod def _dn_to_id(dn): return

[Yahoo-eng-team] [Bug 1361307] [NEW] Please port Certificate apis to V3

2014-08-25 Thread Haneef Ali
Public bug reported: This is a wish list We need certificates API to get the PKI certficates in the services. If we depreicate v2.0 api, it will be odd, if the services rely on v2.0 api to fetch certificates. ** Affects: keystone Importance: Undecided Status: New -- You

[Yahoo-eng-team] [Bug 1329864] [NEW] Owner role is broken in default v2 policy file

2014-06-13 Thread Haneef Ali
Public bug reported: In v2 policy.json owner is defined as owner : user_id:%(user_id)s, It should be owner : user_id:%(user_id)s or user_id:%(target.token.user_id)s, Affected APIs, Using default v2 policy file a user can't delete his own token due to this defect ** Affects:

[Yahoo-eng-team] [Bug 1306835] [NEW] V3 list users filter by email address throws exception

2014-04-11 Thread Haneef Ali
Public bug reported: V3 list_user filter by email throws excpetion. There is no such attribute email. keystone.common.wsgi): 2014-04-11 23:09:00,422 ERROR type object 'User' has no attribute 'email' Traceback (most recent call last): File

[Yahoo-eng-team] [Bug 1295212] [NEW] Revoke token intermittently dumps stacktrace - Icehouse M3

2014-03-20 Thread Haneef Ali
Public bug reported: Revoke token intermittently dumps stack trace. I don't see remove method in RevokeTree object. May be I'm missing something (keystone.common.wsgi): 2014-03-20 03:17:55,054 ERROR 'RevokeTree' object has no attribute 'remove' Traceback (most recent call last): File

[Yahoo-eng-team] [Bug 1295212] Re: Revoke token intermittently dumps stacktrace - Icehouse M3

2014-03-20 Thread Haneef Ali
Looks like this is fixed now in upstream on 3/8 by Morgan ** Changed in: keystone Status: New = Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1295212 Title:

[Yahoo-eng-team] [Bug 1294737] [NEW] Disable domain doesn't remove domain scoped tokens

2014-03-19 Thread Haneef Ali
Public bug reported: Disable domain only revokes project scope token. It doesn't revoke domain scoped tokens ** Affects: keystone Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to

[Yahoo-eng-team] [Bug 1294735] [NEW] Disable domain doesn't disable users in the domain

2014-03-19 Thread Haneef Ali
Public bug reported: If you disable a domain, the users in the domain are not disabled. ** Affects: keystone Importance: Undecided Status: New ** Summary changed: - disable domain + Disable domain doesn't disable users in the domain -- You received this bug notification because

[Yahoo-eng-team] [Bug 1291465] [NEW] Allow user defined ids.

2014-03-12 Thread Haneef Ali
Public bug reported: This is a feature request We should alow user supplied domain_id/user_id. There are some policy defintions in policy.v2.cloudadmin.json which relies on user being on particular domain. We really don't want to have UUID in policy files to identify the domain_id. One way

[Yahoo-eng-team] [Bug 1287414] [NEW] Keystone should not require CA key

2014-03-03 Thread Haneef Ali
Public bug reported: Why do we need CA key? In a real deployment I were to get a cert for my server from Verisign, then verisign won't provide its key. Basically the code should work without CA key. I believe it is not required for ssl setup and signing. [ssl] #enable = True #certfile =

[Yahoo-eng-team] [Bug 1284895] [NEW] GET v3/roles/​{role_id}​/users Lists users with a specified role.

2014-02-25 Thread Haneef Ali
Public bug reported: This api is in the doc, but not in code ** Affects: keystone Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1284895

[Yahoo-eng-team] [Bug 1282752] [NEW] Dogpile cache in catalog driver

2014-02-20 Thread Haneef Ali
Public bug reported: Actually this is a wishlist. We have caching in assignment and token. It will be really helpful if we have caching in catalog as this is mostly static data. This will greatly improve create token performance. ** Affects: keystone Importance: Undecided

[Yahoo-eng-team] [Bug 1282391] [NEW] Delete domain fails if the domain has domain grants

2014-02-19 Thread Haneef Ali
Public bug reported: UserDomainGrant and GroupDomainGrant has foriegn key relation with domains. So we can't delete a domain unless we remove the grants. On deletedomain we need to -- Delete users -- Delete groups -- Delete projects which should take care of removal of foreign key