Ian Wienand d1326df6ee Use openstacksdk submit_task
Task manager stats sending was broken with openstacksdk updates and
fixed in I8617ab2895d1544a6902ae5a3d6a97b87bfd2ec9.

What used to happen is that openstacksdk run_task() would call
post_run_task(); however with changes to use a threadpool this became
an async call so was not reflecting the post-run state but just the
post-insert-into-threadpool-queue state.

The referenced change moved the post_run_task() call into
submit_task(), where it is called after the task has been wait()ed
for (and actually run).

Unfortunatley, since this file overrides submit_task, it means that
post_run_task is not being called any more and we are not producing
timing stats.

I believe we can use the openstacksdk task manager's submit_task
directly.  There are two differences; the "raw" argument was removed
from upstream with I7b46e263a76d84573bdfbbece57b1048764ed939 and is no
longer necessary.  The ManagerStoppedException is private to this file
and doesn't appear to have an external dependencies; thus the
openstacksdk's TaskManagerStopped exception will work just the same.

Change-Id: I427e6ae9e4beae6d551427fc12a3cde2c1d03aba
2018-11-09 07:28:38 +11:00
2018-11-09 07:28:38 +11:00
2018-11-08 14:23:39 +11:00
2018-10-25 10:24:45 +00:00
2018-10-24 08:36:18 -07:00
2018-04-26 11:52:17 -05:00
2018-07-23 13:44:06 +02:00
2018-01-18 10:13:57 -08:00
2018-04-26 11:52:17 -05:00
2018-10-25 10:24:45 +00:00
2018-07-20 12:03:35 -05:00
2018-01-19 00:30:22 +00:00
2018-08-03 10:19:44 -05:00
2018-10-25 10:24:45 +00:00
2018-10-13 12:07:38 -04:00
2015-09-14 16:19:13 -04:00
2018-11-01 15:33:44 +01:00

Nodepool

Nodepool is a system for managing test node resources. It supports launching single-use test nodes from cloud providers as well as managing access to pre-defined pre-existing nodes. Nodepool is part of a suite of tools that form a comprehensive test system, including Zuul.

The latest documentation for Nodepool is published at: https://zuul-ci.org/docs/nodepool/

The latest documentation for Zuul is published at: https://zuul-ci.org/docs/zuul/

Getting Help

There are two Zuul-related mailing lists:

zuul-announce

A low-traffic announcement-only list to which every Zuul operator or power-user should subscribe.

zuul-discuss

General discussion about Zuul, including questions about how to use it, and future development.

You will also find Zuul developers in the #zuul channel on Freenode IRC.

Contributing

To browse the latest code, see: https://git.zuul-ci.org/cgit/nodepool/tree/ To clone the latest code, use git clone https://git.zuul-ci.org/nodepool

Bugs are handled at: https://storyboard.openstack.org/#!/project/openstack-infra/nodepool

Code reviews are handled by gerrit at https://review.openstack.org

After creating a Gerrit account, use git review to submit patches. Example:

# Do your commits
$ git review
# Enter your username if prompted

Join #zuul on Freenode to discuss development or usage.

License

Nodepool is free software, licensed under the Apache License, version 2.0.

Python Version Support

Nodepool requires Python 3. It does not support Python 2.

Description
Manage a pool of nodes for a distributed test infrastructure
Readme 35 MiB
Languages
Python 98.3%
Shell 1.1%
Dockerfile 0.3%
Jinja 0.3%