summaryrefslogtreecommitdiffstats
path: root/requirements/requirements.in (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-11-30add docs about max_forks and max_concurrent_jobsElijah DeLee1-0/+12
Add this to the capacity.md that also dicsusses details about task_impact and forks and how that is used in the application.
2022-11-30filter tasks when instance groups are filteredElijah DeLee1-4/+19
this is necessary when requests are made to to api/v2/job_templates/ID/instance_groups Thanks to Sarah who found this!
2022-11-30add new fields to awxkitElijah DeLee1-1/+1
2022-11-30settings for max forks/job on default job queueElijah DeLee3-2/+28
This will allow users of the operator to set these settings so from the start when the operator creates the default execution queue they can control the max_forks and max_concurrent_jobs on the default container group.
2022-11-30use task manager models more consistently in serializerElijah DeLee4-19/+60
2022-11-30update UI for max_forks and max_concurrent_jobsElijah DeLee11-2/+101
This includes updates for container groups and instance groups. Includes updates to ui test data with new fields
2022-11-30Add max_forks, max_concurrent_jobs to collectionElijah DeLee1-0/+20
Now these items can be set on instance_groups via the collection.
2022-11-30Add max concurrent jobs and max forks per igElijah DeLee11-183/+488
The intention of this feature is primarily to provide some notion of max capacity of container groups, but the logic I've left generic. Default is 0, which will be interpereted as no maximum number of jobs or forks. Includes refactor of variable and method names for clarity. instances_by_hostname is an internal attribute of TaskManagerInstances. Clarify when we are expecting the actual TaskManagerInstances object. Unify how we process running tasks and consume capacity. This has the effect that we do less expensive work in after_lock_init and have 1 less loop over all the running tasks. Previously we looped for both building the dependency graph as well as for calculating the starting capacity of all the instances and instance groups. Now we acheive both tasks in the same loop. Because of how this changes the somewhat subtle "do-si-do" of how to initialize the Task Manager models, introduce a wrapper class that tries to take some of that burden off of other areas where we re-use this like in the serializer and the metrics. Also use this wrapper class to handle nicities of how to track capacity consumption on instances and instance groups. Add tests for max_forks and max_concurrent_jobs Fixup tests that use TaskManagerModels to accomodate changes. assign ig before call to consume capacity if we don't do it in that order, then we don't correctly account for the container group jobs we are starting in the middle of the task manager run
2022-11-30Add the `elements: str` type to the listsJeff Bradberry1-0/+12
2022-11-30Fix a problem with migration main/0164Jeff Bradberry1-14/+4
Since the original version of the migration a) invoked the .save() method, and b) involved a model with a custom field that had a post_save handler attached, this migration had a side-effect that caused the codebase's version of the model to be used when the table involved wasn't yet up to date. This triggers an UndefinedColumn error. This change works around the problem by making use of queryset .update() methods instead, which should avoid the post_save signal trigger.
2022-11-29prevent unsupported locale setting error in GHAHao Liu7-0/+20
related to https://github.com/ansible/ansible/pull/78175 the way the GHA runner is built, Python runs with a mixed locale between the FS bits and the default encoding, which can cause unpredictable issues adding env var `LC_ALL: "C.UTF-8"` prevent flakiness due to locale issue Signed-off-by: Hao Liu <haoli@redhat.com>
2022-11-21Install sosreport controller plugin into proper path (#12036)21.9.0anxstj1-1/+2
2022-11-18Fix fallout from turning off work signing in docker-composeAlan Rominger2-15/+29
2022-11-17Adds an Instance Group component that renders IGs as a PF LabelAlex Corey11-155/+72
2022-11-17delete old qsstats-magic licenseKeith J. Grant1-24/+0
2022-11-17queue ws messages received before job is fetchedKeith J. Grant1-15/+34
2022-11-16update awx collection workflow module schema with new options (#13162)Sean Sullivan3-10/+118
2022-11-15Disable work signing by default in dev envShane McDonald6-5/+14
Certs are generated on the host and there is currently an issue due to openssl version mispatch between Fedora 36 and CentOS Stream 8 which causes: tools_awx_1 | ERROR 2022/11/15 17:09:17 could not load signing key file: unknown block type PRIVATE KEY tools_awx_1 | ERROR 2022/11/15 17:09:17 could not load signing key file: unknown block type PRIVATE KEY
2022-11-15Fix syntax issues introduced in the translation processChristian M. Adams28-203816/+102
2022-11-15Default to 0 execution nodes in dev envShane McDonald2-2/+4
2022-11-15Bulk save facts, and move to before status change (#12998)Alan Rominger5-66/+90
* Facts scaling fixes for large inventory, timing issue Move save of Ansible facts to before the job status changes this is considered an acceptable delay with the other performance fixes here Remove completely unrelated unused facts method Scale related changes to facts saving: Use .iterator() on queryset when looping Change save to bulk_update Apply bulk_update in batches of 100, to reduce memory Only save a single file modtime, avoiding large dict Use decorator for long func time logging update decorator to fill in format statement
2022-11-15Pushing updated strings for localizationChristian M. Adams9-13723/+13679
2022-11-11Doing a hard pin on djangoJohn Westcott IV1-1/+1
2022-11-10Update conf.pyTVo1-2/+3
Updated variables to reflect automation controller name.
2022-11-10Remove the django-qsstats-magic dependencyJeff Bradberry4-29/+1
2022-11-10Add proper declaration of secret version if present (#13071)Joe Garcia1-1/+2
2022-11-10Fixes #13119 #13120 Conjur Cloud support & update brand (#13121)Joe Garcia6-15/+14
* Fixes #13119 #13120 Cloud support & update brand * rm base64 import to pass lint * Update references across the board * Removed final reference to CyberArk Conjur Secret Lookup
2022-11-10Replace the querysets provided by django-qsstats-magicJeff Bradberry1-20/+39
with ones that are constructed to do the same thing, without any extraneous functionality.
2022-11-09Add more integration tests for export collectionArtsiom Musin1-0/+34
2022-11-09Add elements as str for export in collectionArtsiom Musin1-1/+1
2022-11-09Updating the patch release of django per dependabot alertsJohn Westcott IV2-2/+2
2022-11-09Updating README and update.sh usageJohn Westcott IV2-9/+42
2022-11-09Resolve review commentsArtsiom Musin3-31/+29
2022-11-09add node_type to instance info and capacity metricsJessica Mack2-5/+13
2022-11-08Avoid adding the 'config' subparser twiceJeff Bradberry1-2/+4
Once since it is defined as a CustomCommand subclass, and once because it is an endpoint at the /api/v2/ level. With Python 3.11 argparse has become more strict and will raise an exception when you try to inject duplicate subparsers.
2022-11-08Add multiple assert export for awx cliArtsiom Musin2-12/+18
2022-11-07fixed GET and POST descriptors in swagger.json - ↵Sarabraj Singh1-3/+4
/api/v2/job_templates/{id}/launch/ endpoint
2022-11-04enable feature branch api-schema test (#12550)Hao Liu2-0/+25
- enable schema upload to s3 bucket for feature branch - add workflow to delete schema from s3 bucket when feature branch is deleted Signed-off-by: Hao Liu <haoli@redhat.com>
2022-11-04move license directory out of docsHao Liu327-7/+7
Signed-off-by: Hao Liu <haoli@redhat.com>
2022-11-03Revert "Merge pull request #12993 from AlexSCorey/fixWorkflow"Michael Abashian1-2/+1
This reverts commit 75e6366c5e0c9e10dddeec75729b77e1ab47ca1a, reversing changes made to af6fec55929ce31628582597463c6f018ee8dd6f.
2022-11-03No InventoryUpdates when source Project is failed (#13063)Rick Elrod4-15/+42
Previously, in some cases, an InventoryUpdate sourced by an SCM project would still run and be successful even after the project it is sourced from failed to update. This would happen because the InventoryUpdate would revert the project back to its last working revision. This behavior is confusing and inconsistent with how we handle jobs (which just refuse to launch when the project is failed). This change pulls out the logic that the job launch serializer and RunJob#pre_run_hook had implemented (independently) to check if the project is in a failed state, and puts it into a method on the Project model. This is then checked in the project launch serializer as well as the inventory update serializer, along with SourceControlMixin#sync_and_copy as a fallback for things that don't run the serializer validation (such as scheduled jobs and WFJT jobs). Signed-off-by: Rick Elrod <rick@elrod.me>
2022-11-02Refactor test_get_cleanup_task_kwargs_active_jobs and add new testAlan Rominger2-6/+25
This takes some logic out of the queryset logic, using some established assumptions about the task manager if a job lands on a hybrid node (or is a project update) then it will have the same controller and execution node With that established, the queryset can be simplified
2022-11-02Bump @patternfly/react-core from 4.239.0 to 4.250.1 in /awx/uidependabot[bot]2-28/+28
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react) from 4.239.0 to 4.250.1. - [Release notes](https://github.com/patternfly/patternfly-react/releases) - [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@4.239.0...@patternfly/react-core@4.250.1) --- updated-dependencies: - dependency-name: "@patternfly/react-core" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02initial commit of new machinery to handle redirects for webhook ↵Sarabraj Singh3-21/+118
notifications (#13083)
2022-11-02Bump @patternfly/react-icons from 4.90.0 to 4.92.10 in /awx/uidependabot[bot]2-10/+10
Bumps [@patternfly/react-icons](https://github.com/patternfly/patternfly-react) from 4.90.0 to 4.92.10. - [Release notes](https://github.com/patternfly/patternfly-react/releases) - [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@4.90.0...@patternfly/react-icons@4.92.10) --- updated-dependencies: - dependency-name: "@patternfly/react-icons" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01Use optional chaining operator to prevent the modal from throwing an error.Kia Lam2-9/+53
2022-11-01de-duplicate default settingsElijah DeLee1-11/+8
2022-11-01Fix traceback on timeout with slicing + facts (#13139)21.8.0Rick Elrod2-4/+26
Slicing a QS with a step parameter forces the QS and returns a list. Fixes #13131 Signed-off-by: Rick Elrod <rick@elrod.me>
2022-11-01Bump @patternfly/patternfly from 4.210.2 to 4.217.1 in /awx/uidependabot[bot]2-8/+8
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly) from 4.210.2 to 4.217.1. - [Release notes](https://github.com/patternfly/patternfly/releases) - [Changelog](https://github.com/patternfly/patternfly/blob/main/RELEASE-NOTES.md) - [Commits](https://github.com/patternfly/patternfly/compare/prerelease-v4.210.2...prerelease-v4.217.1) --- updated-dependencies: - dependency-name: "@patternfly/patternfly" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31Make installing minikube optional in dev setupSeth Foster4-19/+37