Haokun-Chen
6cfd9dbfe4
refactor configuration (settings)
...
sub-nav added
2018-10-18 13:37:41 -04:00
Bill Nottingham
f27ec8cd89
Update Django version in version check.
2018-10-18 09:23:59 -04:00
Wayne Witzel III
f2cec03900
fix typo in length
2018-10-17 16:34:24 -04:00
Ryan Petrello
53ae05094e
use the proper logger for the callback receiver
2018-10-17 10:56:29 -04:00
Ryan Petrello
79002ae563
upgrade to the latest kombu + celery
2018-10-16 16:14:58 -04:00
Ryan Petrello
6e4f3efc4b
silence the noisy error that's printed w/ awx-manage check_migrations
2018-10-16 13:48:03 -04:00
Ryan Petrello
6ff1fe8548
allow users to specify BROKER_URL with passwords that contain : and @
2018-10-16 11:56:57 -04:00
Matthew Jones
0477581dea
Fix up flake8
2018-10-16 11:30:07 -04:00
Matthew Jones
d5c557c639
Proper parameterization for scm tests
2018-10-16 11:30:06 -04:00
Matthew Jones
8e60cb1270
Purge an unneeded ansible 2.4 version check
2018-10-16 11:30:05 -04:00
chris meyers
906eb98d8e
fixes dispatcher test that inadvertently access db
...
* Logger inadvertently triggered by dispatcher tests that do not need DB
access. Mock settings to sidestep DB access.
2018-10-16 11:30:04 -04:00
Ryan Petrello
f3e73bbed8
don't call rabbitmqctl forget_cluster_node for isolated instances
2018-10-16 09:47:53 -04:00
mabashian
9645e5bcd3
Remove portalMode accidental portalMode inclusion that resulted from merge conflict
2018-10-15 18:50:58 -04:00
mabashian
0a09d98fe8
Removes system tracking code from the UI. Moves import of shared out to app.js
2018-10-15 18:50:58 -04:00
Ryan Petrello
1224e2c889
Merge pull request #2440 from ryanpetrello/fix-list-based-survey-choices
...
remove over-eager survey choices validation
2018-10-15 17:05:06 -04:00
Ryan Petrello
00cae104b3
remove over-eager survey choices validation
...
it looks like choices can also be a list and _maybe_ comma delimited;
clearly there's a lot of history here; let's verify and test what's _really_ supported and _then_ add any necessary validation
2018-10-15 16:40:17 -04:00
Wayne Witzel III
6e3b2a5c2d
better error handling when over limit
2018-10-15 16:07:14 -04:00
Ryan Petrello
720a634702
don't attempt to recover special QUIT messages in the worker pool
...
when `--reload` is sent to the dispatcher, it sends a special QUIT
message to each worker in the pool so that it will exit gracefully at
the next opportunity
when a worker process exits unexpectedly, the dispatcher attempts to
recover its queued messages and sends them to another worker in the
pool; in this scenario, we should _never_ re-enqueue these special
QUIT messages (because the process doesn't need to quit, it's already
gone)
To reproduce this race condition:
1. Launch an adhoc that does `sleep 60`
2. Run `awx-manage run_dispatcher --reload` to enqueue a `QUIT` message
into the worker's queue
3. Find the pid of the worker running the `sleep 60` and `SIGKILL` it.
4. Observe that dispatcher attempts to requeue the `QUIT` message and
logs a confusing error.
2018-10-15 12:17:52 -04:00
Chris Meyers
c722e50595
Merge pull request #2425 from chrismeyersfsu/fix-ldap_group_type
...
fix issue with ldap queries containing unicode
2018-10-15 10:49:43 -05:00
Ryan Petrello
9d81727d16
fix a typo on the JT add page that breaks the custom venv field
2018-10-15 11:19:58 -04:00
Ryan Petrello
011c8ae822
fix a typo on the JT add page that breaks the custom venv field
2018-10-15 11:04:31 -04:00
softwarefactory-project-zuul[bot]
73f54b2237
Merge pull request #2373 from marshmalien/always_nodes_ui
...
Display WF always nodes in conjunction with success and failure
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-12 22:43:32 +00:00
Ryan Petrello
867ff5da71
minor nit for https://github.com/ansible/tower/pull/3060
2018-10-12 16:17:14 -04:00
softwarefactory-project-zuul[bot]
0a964b2bf6
Merge pull request #2266 from ansible/celery-tastes-bad
...
replace the celery-based task queue with a kombu-based implementation
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-12 18:40:54 +00:00
Ryan Petrello
d4e3127fb4
properly handle AnsibleVaultEncryptedUnicode objects in the callback
2018-10-12 12:29:46 -04:00
chris meyers
2e98446394
fix issue with ldap queries containing unicode
2018-10-12 10:33:01 -04:00
Marliana Lara
e7c52bc5e7
Merge pull request #8 from dsesami/always_nodes_ui_tests
...
Always nodes ui tests
2018-10-12 10:20:10 -04:00
Daniel Sami
c25d208465
added browser close at end, waits for spinners
2018-10-12 10:18:49 -04:00
softwarefactory-project-zuul[bot]
9570981c7f
Merge pull request #2351 from jakemcdermott/enhancement-2515
...
add views for organization permissions and roles
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-11 20:41:08 +00:00
softwarefactory-project-zuul[bot]
6eb1feffcd
Merge pull request #2117 from walkafwalka/allow_awx_login_autocomplete
...
Allow autocomplete on the AWX login page
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-11 20:23:37 +00:00
softwarefactory-project-zuul[bot]
48511b6c33
Merge pull request #2281 from AlanCoding/consistent2
...
Always allow resource creation via global list
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-11 20:12:39 +00:00
softwarefactory-project-zuul[bot]
3a4cc0d464
Merge pull request #1911 from AlanCoding/spec_it_out
...
Much more comprehensive validation of survey specs
Reviewed-by: Shane McDonald <me@shanemcd.com >
https://github.com/shanemcd
2018-10-11 20:00:43 +00:00
Jake McDermott
78901ab48e
add organization permissions view
2018-10-11 14:21:44 -04:00
Jake McDermott
938bf1b531
add organizations tab to team permissions screen
2018-10-11 14:21:29 -04:00
Marliana Lara
27da141889
Address review comments
2018-10-11 13:13:01 -04:00
Daniel Sami
1e3c229460
lint fixes
2018-10-11 12:24:55 -04:00
AlanCoding
cfa93b52b7
Always allow resource creation via global list
2018-10-11 12:21:45 -04:00
Daniel Sami
8fceaf8810
Tests for UI workflow always nodes
2018-10-11 12:14:00 -04:00
AlanCoding
bdc7efb274
humble beginnings of survey question type validation
2018-10-11 12:10:40 -04:00
Ryan Petrello
10c76e2337
update Azure inventory script to latest from Ansible
...
rebased version of https://github.com/ansible/awx/pull/2234
2018-10-11 11:47:55 -04:00
Ryan Petrello
ff1e8cc356
replace celery task decorators with a kombu-based publisher
...
this commit implements the bulk of `awx-manage run_dispatcher`, a new
command that binds to RabbitMQ via kombu and balances messages across
a pool of workers that are similar to celeryd workers in spirit.
Specifically, this includes:
- a new decorator, `awx.main.dispatch.task`, which can be used to
decorate functions or classes so that they can be designated as
"Tasks"
- support for fanout/broadcast tasks (at this point in time, only
`conf.Setting` memcached flushes use this functionality)
- support for job reaping
- support for success/failure hooks for job runs (i.e.,
`handle_work_success` and `handle_work_error`)
- support for auto scaling worker pool that scale processes up and down
on demand
- minimal support for RPC, such as status checks and pool recycle/reload
2018-10-11 10:53:30 -04:00
Ryan Petrello
da74f1d01f
refactor and test the callback receiver as a base for a task dispatcher
2018-10-11 10:53:26 -04:00
chris meyers
cfb58eb145
fix issue with ldap queries containing unicode
2018-10-10 12:32:27 -04:00
Jake McDermott
5ae19fd9c2
update development documentation
2018-10-10 09:23:47 -04:00
Daniel Sami
b02677a8d0
Initial commit for UI tests for always nodes
2018-10-09 16:32:24 -04:00
Marliana Lara
1b25dd0127
Fix ui-lint error
2018-10-09 14:21:59 -04:00
AlanCoding
a4dfd96a8d
Validate ANSIBLE_ injectors on save and increase verbosity
2018-10-09 13:46:51 -04:00
Marliana Lara
a2f4e36e47
Show all wf options when node is not a root node
...
* Edge type of root node is always "always"
* If node is not a root node, show all options: always, success, fail
* Remove edge conflict logic
2018-10-09 11:30:53 -04:00
adamscmRH
ad566cc651
tests for always_nodes
2018-10-09 11:30:53 -04:00
adamscmRH
4d9523afa4
lift always node mutex restriction
2018-10-09 11:30:49 -04:00