Ryan Petrello
b08e5db267
update the changelog in anticipation of a forthcoming AWX release
2020-02-07 17:12:38 -05:00
softwarefactory-project-zuul[bot]
8991396d23
Merge pull request #5828 from AlanCoding/openstack_bump
...
Bump openstacksdk version
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-07 20:09:59 +00:00
softwarefactory-project-zuul[bot]
5decde3f70
Merge pull request #5845 from shanemcd/missing-base-image-deps
...
Add packages missing from base images
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-07 18:54:46 +00:00
Shane McDonald
3f57061509
Add packages missing from base images
...
Related:
- https://github.com/ansible/awx/issues/5770
- https://github.com/ansible/awx/issues/5724
2020-02-07 13:06:42 -05:00
softwarefactory-project-zuul[bot]
6395d64681
Merge pull request #5843 from wenottingham/intentionally-adding-database-queries
...
Bypass memcached to get last gather time to avoid reading cached values.
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-07 13:57:54 +00:00
Bill Nottingham
f3e2caeaa7
Bypass memcached to get last gather time to avoid reading cached values.
2020-02-06 21:41:41 -05:00
softwarefactory-project-zuul[bot]
ce5c4359ee
Merge pull request #5787 from fosterseth/tm_processed_field
...
Improve task manager performance for task dependencies
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-06 21:30:48 +00:00
softwarefactory-project-zuul[bot]
c4ddf50cad
Merge pull request #5832 from marshmalien/output-status-bar
...
Add host status bar
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-06 21:22:23 +00:00
Marliana Lara
d250dd0cd6
Adjust ansi colors to complement the host status bar
2020-02-06 14:12:49 -05:00
softwarefactory-project-zuul[bot]
96bbbdd5c9
Merge pull request #5836 from ryanpetrello/migrate-error
...
fix scary error message on initial (install time) awx-manage migrate
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-06 17:31:40 +00:00
Seth Foster
9b4b2167b3
TaskManager process dependencies only once
...
This adds a boolean "dependencies_processed" field to UnifiedJob
model. The default value is False. Once the task manager generates
dependencies for this task, it will not generate them again on
subsequent runs.
The changes also remove .process_dependencies(), as this method repeats
the same code as .process_pending_tasks(), and is not needed. Once
dependencies are generated, they are handled at .process_pending_tasks().
Adds a unit test that should catch regressions for this fix.
2020-02-06 11:47:33 -05:00
Marliana Lara
028a0a9279
Adjust host status colors
2020-02-06 11:21:14 -05:00
softwarefactory-project-zuul[bot]
30354dbcd0
Merge pull request #5621 from rebeccahhh/workflow-convergence
...
Any/All boolean added in workflow convergence
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-06 15:30:40 +00:00
Ryan Petrello
543a87ac88
fix error message on initial awx-manage migrate
2020-02-06 06:37:05 -05:00
Marliana Lara
4be7cf66ec
Add host status bar
2020-02-05 19:57:55 -05:00
softwarefactory-project-zuul[bot]
fd027f87a9
Merge pull request #5810 from keithjgrant/use-endpoint
...
Add useRequest hook
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 23:26:42 +00:00
softwarefactory-project-zuul[bot]
dac6e115c1
Merge pull request #5829 from marshmalien/job-output-navigation
...
Style job output pagination control bar
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 23:17:16 +00:00
Rebeccah
eca516f8ce
removed 'self' from positional arguemnt of workflow attribute 'all_parents_must_converge' per Alans suggestion, since django takes it to be verbose_name, which is not needed
2020-02-05 17:38:36 -05:00
Jake McDermott
b06645e125
Show any/all convergence option on root node
2020-02-05 15:51:38 -05:00
Rebeccah
fd60cd1a35
fixed copy functionality to include convergence as is instead of reseting ALL nodes to be default ANY nodes
2020-02-05 15:34:54 -05:00
Rebeccah
ad8bcd0de2
moved migration dependency from 0106 to 0107
2020-02-05 14:28:35 -05:00
Rebeccah
fdc29eebb7
expanded unit test to include 3 root nodes meeting on a convergence node and successfully marking that to node.
2020-02-05 14:28:35 -05:00
Rebeccah
63ae2cac38
Jake McDermott found some behavior that revealed a logical bug that would have caused issues later with ALL convergence nodes in sequential order via the API, although not the UI, and was causing existing issues with Root Nodes spawning repeatedly. To fix this I refactored the code from marking DNR nodes into it's own function that checks parents convergence criteria and leveraged that in bfs_nodes_to_run so that root nodes and convergence nodes can be differentiated but both can be correctly processed, also so that children of convergence nodes can be properly traversed by the function
2020-02-05 14:28:35 -05:00
Rebeccah
4e787cc079
made marking nodes as DNR more 'eager', added more unit tests, and added convergence check to bfs_nodes_to_run with new changes to the eagerness of DNR marking since it needs it to prevent convergence nodes from running too quickly
2020-02-05 14:28:35 -05:00
Apurva Bakshi
2de37ce5df
add convergence attribute to awxkit
2020-02-05 14:28:35 -05:00
Rebeccah
a419547731
redid some formatting and syntax per personal preferences, comments on PR, and suggestions from @jrb
2020-02-05 14:28:35 -05:00
Jake McDermott
04844aa44f
Add 'ALL' indicator to 'ALL' nodes
2020-02-05 14:28:35 -05:00
Rebeccah
1b3fbee38d
workflow convergence toggle migration
2020-02-05 14:28:35 -05:00
Rebeccah
6d2a2ab714
drastically improved performance by removing unnecessary iteration over children of parent nodes, additionally added an extra check that the node didn't already have a job so that it wasn't cycling over nodes that had already run when running through all_nodes
2020-02-05 14:28:35 -05:00
Rebeccah
82dd4a3884
remove node_object comparison and use the full dict to eliminate issues comparing obj and compare instead the whole node object with the node objects in the list
2020-02-05 14:28:35 -05:00
Jake McDermott
4fe9e5da14
Use select for any/all convergence choice
2020-02-05 14:28:35 -05:00
Jake McDermott
bbb4701fa9
Don't show any/all convergence option on root node
2020-02-05 14:28:35 -05:00
Rebeccah
86a39938fe
fixed issue where successful convergence wasn't being met due to the not quite correct leveraging of get_children
2020-02-05 14:28:35 -05:00
Jake McDermott
987fc26537
Add any/all option for workflow node convergence
2020-02-05 14:28:34 -05:00
Rebeccah
70cf4cf5d4
added in handling for a parent being DNR so status is only checked if the parent isn't a DNR parent (in which case the parent has no status, which was breaking the logic) also edited a comment and added in a DNR check that @alancoding suggested to cut out duplicates in the DAG list
2020-02-05 14:28:34 -05:00
Rebeccah
2d3172f648
added in support for existing workflow unit tests
2020-02-05 14:28:34 -05:00
Rebeccah
b2c33e3204
redid migration dependency
2020-02-05 14:28:34 -05:00
Rebeccah
f7f648b956
included all_parents_must_converge in the get_workflow_job_fieldnames so that the true/false is copied into the job node and not just in the template node. Also added in the migration for the DB, also relocated logic from bfs_nodes_to_run down into mark_dnr_nodes to prevent nodes not being marked as DNR but not being marked to run, causing them to run anyways
2020-02-05 14:28:34 -05:00
Rebeccah
780f104ab2
shifted from dependants/dependencies to children/parents for clarity in function names, also added in toggle logic
2020-02-05 14:28:34 -05:00
Rebeccah
4c35adad6c
added logic to include workflow convergence nodes to nodes to run or not run based on their parents successful statuses
2020-02-05 14:28:34 -05:00
Rebeccah
cf24c81b3e
updated syntax from python2 to 3
2020-02-05 14:28:34 -05:00
Marliana Lara
6d792a8234
Style job output navigation control bar
2020-02-05 12:33:30 -05:00
AlanCoding
1558c6f942
Bump openstacksdk version
2020-02-05 11:31:24 -05:00
softwarefactory-project-zuul[bot]
2f75b48c63
Merge pull request #5423 from AlanCoding/pycurl
...
Add pycurl to container images
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 16:21:25 +00:00
softwarefactory-project-zuul[bot]
979418620c
Merge pull request #5823 from chrismeyersfsu/fix-instance_migration2
...
fix instance migration is_isolated() issue
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 14:52:18 +00:00
softwarefactory-project-zuul[bot]
482e0ac311
Merge pull request #5768 from AlanCoding/fewer_computed_fields
...
Remove computed fields artifacts no longer valid
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 14:25:10 +00:00
chris meyers
a36bf4af64
fix instance migration is_isolated() issue
...
* Older versions of Instance model code may not contain the
is_isolated() method. This change accounts for that fact.
2020-02-05 09:16:31 -05:00
AlanCoding
3bbce18173
Remove computed fields artifacts no longer used
...
Remove deleted field from notification payload
2020-02-04 20:23:37 -05:00
softwarefactory-project-zuul[bot]
e54fd19bca
Merge pull request #5817 from chrismeyersfsu/fix-instance_migration
...
use existing version of Instance
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 00:00:06 +00:00
AlanCoding
d2289fe9c6
add pycurl to container images
2020-02-04 14:41:51 -05:00