zuul/zuul
Tristan Cacqueray 2f520fe720 scheduler: fix enqueue event to use canonical project name
When trying to enqueue an event using a canonical project name, we need to
fix the doEnqueueEvent method to use the full project name. Otherwise it fails
with:

zuul.rpcclient.RPCFailure: Traceback (most recent call last):
[...]
  File "zuul/scheduler.py", line 829, in _doEnqueueEvent
    (trusted, project) = tenant.getProject(event.project_name)
  File "zuul/model.py", line 3458, in getProject
    "with a hostname" % (name,))
Exception: Project name 'openstack/tripleo-heat-templates' is ambiguous,
           please fully qualify the project with a hostname

Even when the enqueue command was done using the canonical project name.

Change-Id: I68210993ca4d5917c40df9a198f2e47dd2b0399c
2018-07-13 06:58:36 +00:00
..
ansible Merge "Treat ::1 as localhost in addition to 127.0.0.1" 2018-06-19 09:23:09 +00:00
cmd Merge "zuul-migrate: run / post-run playbooks need .yaml extensions" 2018-06-19 09:25:08 +00:00
connection Cleanup unused connection.getWebController info param 2018-06-01 15:52:53 -07:00
driver Merge "timer: skip projects not using the pipeline" 2018-07-12 22:20:29 +00:00
execution_context Add wrapper driver execution context 2017-08-18 16:35:12 -07:00
executor Merge "Add zuul.child_jobs in ansible inventory file" 2018-07-11 06:34:20 +00:00
lib Fix zuul-web sql connections 2018-06-06 16:13:40 -07:00
manager Report config errors when removing cross-repo jobs 2018-07-11 07:52:48 +02:00
merger Fix logging of clone url 2018-07-04 07:09:42 +00:00
reporter Move status_url from webapp to web section 2018-01-29 14:16:28 +01:00
source Limit search scope of getChangesDependingOn to tenant 2018-05-24 00:15:51 +00:00
sphinx Add zuul-sphinx as a requirement 2017-08-07 14:56:17 -07:00
trigger Remove use of six library 2017-06-19 10:34:57 -05:00
web zuul-web: key endpoint: return 404 when tenant or project not found 2018-07-11 18:27:26 +02:00
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
_setup_hook.py Use yarn and webpack to manage zuul-web javascript 2018-03-04 07:20:40 -06:00
change_matcher.py Fix implied branch matchers and tags 2017-12-01 15:54:24 -08:00
configloader.py Report config errors when removing cross-repo jobs 2018-07-11 07:52:48 +02:00
exceptions.py mqtt: add basic reporter 2018-05-02 07:20:46 +00:00
model.py Merge "Report config errors when removing cross-repo jobs" 2018-07-11 20:57:27 +00:00
nodepool.py zuul autohold: allow operator to specify nodes TTL 2018-03-26 10:32:18 +02:00
rpcclient.py zuul autohold: allow operator to specify nodes TTL 2018-03-26 10:32:18 +02:00
rpclistener.py Merge "zuul-web: key endpoint: return 404 when tenant or project not found" 2018-07-12 22:36:49 +00:00
scheduler.py scheduler: fix enqueue event to use canonical project name 2018-07-13 06:58:36 +00:00
version.py Report git sha in status page version 2018-04-27 10:21:43 -07:00
zk.py Better exception handling during autohold 2017-10-13 11:26:45 -04:00