Public bug reported: When running Keystone testing in Rally, the OS_INTERFACE/endpoint_type variable gets ignored or changed to admin in order to create users and do other tasks. While this may be useful for most Openstack installations, we require the endpoint_type to remain "public" throughout the entirety of the Rally process.
The change proposed (I'm creating this bug report after submitting a change for review) simply checks for the OS_INTERFACE variable before proceeding to set and endpoint_type in the service_catalog. Example: Params: auth_url: https://publicUrl:5000 endpoint_type: public sourced OS_INTERFACE: public sourced OS_ENDPOINT_TYPE: publicURL You can see that keystone tries to hit the admin endpoint, completely disregarding the user's request to hit public. -------------------------------------------------------------------------------- Preparing input task -------------------------------------------------------------------------------- Input task is: { "KeystoneBasic.create_delete_user": [ { "args": {}, "runner": { "type": "constant", "times": 100, "concurrency": 10 } } ] } Task syntax is correct :) 2016-05-26 13:46:58.139 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation. 2016-05-26 13:46:58.149 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation of scenarios names. 2016-05-26 13:46:58.151 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Completed: Task validation of scenarios names. 2016-05-26 13:46:58.151 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation of syntax. 2016-05-26 13:46:58.153 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Completed: Task validation of syntax. 2016-05-26 13:46:58.153 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation of semantic. 2016-05-26 13:46:58.153 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation check cloud. 2016-05-26 13:46:58.562 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Completed: Task validation check cloud. 2016-05-26 13:46:58.567 21751 INFO rally.plugins.openstack.context.keystone.users [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Enter context: `users` 2016-05-26 13:46:58.924 21751 WARNING keystoneclient.auth.identity.base [-] Failed to contact the endpoint at http://adminUrl:35357 for discovery. Fallback to using that endpoint as the base url. 2016-05-26 13:46:58.947 21751 WARNING rally.common.broker [-] Failed to consume a task from the queue: Unable to establish connection to http://adminUrl:35357/domains/default 2016-05-26 13:46:58.948 21751 INFO rally.plugins.openstack.context.keystone.users [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Exit context: `users` 2016-05-26 13:47:00.360 21751 INFO rally.plugins.openstack.context.keystone.users [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Completed: Exit context: `users` Task config is invalid: `Unable to setup context 'users': 'Failed to create the requested number of tenants.'` ** Affects: keystone Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Identity (keystone). https://bugs.launchpad.net/bugs/1586434 Title: Service Catalog ignores interface Status in OpenStack Identity (keystone): New Bug description: When running Keystone testing in Rally, the OS_INTERFACE/endpoint_type variable gets ignored or changed to admin in order to create users and do other tasks. While this may be useful for most Openstack installations, we require the endpoint_type to remain "public" throughout the entirety of the Rally process. The change proposed (I'm creating this bug report after submitting a change for review) simply checks for the OS_INTERFACE variable before proceeding to set and endpoint_type in the service_catalog. Example: Params: auth_url: https://publicUrl:5000 endpoint_type: public sourced OS_INTERFACE: public sourced OS_ENDPOINT_TYPE: publicURL You can see that keystone tries to hit the admin endpoint, completely disregarding the user's request to hit public. -------------------------------------------------------------------------------- Preparing input task -------------------------------------------------------------------------------- Input task is: { "KeystoneBasic.create_delete_user": [ { "args": {}, "runner": { "type": "constant", "times": 100, "concurrency": 10 } } ] } Task syntax is correct :) 2016-05-26 13:46:58.139 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation. 2016-05-26 13:46:58.149 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation of scenarios names. 2016-05-26 13:46:58.151 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Completed: Task validation of scenarios names. 2016-05-26 13:46:58.151 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation of syntax. 2016-05-26 13:46:58.153 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Completed: Task validation of syntax. 2016-05-26 13:46:58.153 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation of semantic. 2016-05-26 13:46:58.153 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Task validation check cloud. 2016-05-26 13:46:58.562 21751 INFO rally.task.engine [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Completed: Task validation check cloud. 2016-05-26 13:46:58.567 21751 INFO rally.plugins.openstack.context.keystone.users [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Enter context: `users` 2016-05-26 13:46:58.924 21751 WARNING keystoneclient.auth.identity.base [-] Failed to contact the endpoint at http://adminUrl:35357 for discovery. Fallback to using that endpoint as the base url. 2016-05-26 13:46:58.947 21751 WARNING rally.common.broker [-] Failed to consume a task from the queue: Unable to establish connection to http://adminUrl:35357/domains/default 2016-05-26 13:46:58.948 21751 INFO rally.plugins.openstack.context.keystone.users [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Starting: Exit context: `users` 2016-05-26 13:47:00.360 21751 INFO rally.plugins.openstack.context.keystone.users [-] Task 5eabbbe2-52d1-4d0e-94f3-b13415070de2 | Completed: Exit context: `users` Task config is invalid: `Unable to setup context 'users': 'Failed to create the requested number of tenants.'` To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1586434/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

