Commit Graph

1556 Commits

Author SHA1 Message Date
Yunfan Zhang
0de369b42f Fix job id incorrectly cast to string in ActiveJobConflict. 2018-06-08 09:31:38 -04:00
Chris Meyers
431ee9bbbf Merge pull request #2049 from chrismeyersfsu/improvement-jobs_total3
add total job count for instance + instance group
2018-06-06 12:56:03 -04:00
chris meyers
b876c2af62 add total job count for instance + instance group 2018-06-05 12:05:22 -04:00
Wayne Witzel III
b0d1ba4861 Merge pull request #2054 from wwitzel3/release_3.3.0
Only duplicate nodes if original WFJT is not available
2018-06-05 09:22:41 -04:00
Wayne Witzel III
7affa15efe Only duplicate nodes if original WFJT is not available 2018-06-05 13:08:06 +00:00
Alan Rominger
d250b89f47 Merge pull request #2041 from AlanCoding/lazy_passwords
No launch config errors with replacable ASK credential
2018-06-05 07:49:43 -04:00
AlanCoding
648ec3141b no launch config errors with replacable ASK credential 2018-06-04 11:19:22 -04:00
chris meyers
b94cf379f6 do not choose offline instances 2018-06-04 10:06:59 -04:00
chris meyers
8d352a4edf conform isolated system to new early node choice
* Randomly chose an instance in the controller instance group for which
to control the isolated node run. Note the chosen instance via a job
controller_node field
2018-06-04 10:06:59 -04:00
chris meyers
e720fe5dd0 decide the node a job will run early
* Deciding the Instance that a Job runs on at celery task run-time makes
it hard to evenly distribute tasks among Instnaces. Instead, the task
manager will look at the world of running jobs and choose an instance
node to run on; applying a deterministic job distribution algo.
2018-06-04 10:06:59 -04:00
adamscmRH
97c5ff0b33 make scope write by default 2018-06-01 13:24:32 -04:00
Ryan Petrello
e03c584b80 mark dynamic Credential Type labels and help_text for i18n
see: https://github.com/ansible/tower/issues/1960
related: https://github.com/ansible/ansible-tower/pull/6844
2018-05-25 15:08:11 -04:00
Ryan Petrello
d8f86ecba0 add help text for the new custom_virtualenv field
see: https://github.com/ansible/tower/issues/1866
2018-05-23 16:19:59 -04:00
Alan Rominger
550c6edb33 Merge pull request #1851 from AlanCoding/sch_modified_by
Fix schedules modified_by getting nulled
2018-05-23 10:42:07 -04:00
Ryan Petrello
8bbc36336e Merge pull request #1906 from ryanpetrello/delete-user-activity-stream
store metadata about ActivityStream.actor when the User is deleted
2018-05-23 10:15:01 -04:00
Ryan Petrello
f434196bae store denormalized metadata about ActivityStream.actor for accounting
see: https://github.com/ansible/tower/issues/1782
2018-05-23 09:47:26 -04:00
AlanCoding
b7e9bda6cf track prior organization_id by base model prior values tore
Also fix bug where unified pointers were counted in
the prior values store
2018-05-23 08:54:03 -04:00
Alan Rominger
7d36bd1fb2 Merge pull request #1786 from AlanCoding/system_params2
Add exception to allow relaunching callback jobs
2018-05-22 12:48:58 -04:00
Ryan Petrello
4abac44411 prevent unicode in instance hostnames and instance group names
see: https://github.com/ansible/tower/issues/1721
2018-05-18 16:28:43 -04:00
AlanCoding
967624c576 fix schedules modified_by getting nulled 2018-05-18 07:38:49 -04:00
AlanCoding
db6cc7c50b Add exception to allow relaunching callback jobs
allows for execute_role level users to directly
relaunch callback-type jobs, even though limit
has changed from JT, it is a down-selection
2018-05-17 14:41:56 -04:00
Ryan Petrello
f49d52ad8e Merge pull request #1807 from ryanpetrello/polymorphic_created_by_delete
restore a django-polymorphic workaround to avoid a weird cascade bug
2018-05-16 11:03:41 -04:00
Ryan Petrello
39cb1cb60c fix a nuanced parsing bug in naive UNTIL= parsing 2018-05-16 09:35:04 -04:00
Ryan Petrello
db1a669c68 work around a django-polymorphic bug that breaks certain cascades
see: #1794
2018-05-15 16:55:37 -04:00
Ryan Petrello
a942ccb272 Merge pull request #1778 from ryanpetrello/1k-ought-to-be-enough-for-anybody
truncate certain event fields when they are overly long
2018-05-14 14:30:42 -04:00
Ryan Petrello
bb3b19e174 truncate certain event fields when they are overly long
see: https://github.com/ansible/tower/issues/1775
2018-05-14 14:02:17 -04:00
Alan Rominger
6a0966d456 Merge pull request #1761 from AlanCoding/project_save_diff
Update project if certain params changed
2018-05-14 11:13:46 -04:00
AlanCoding
b79606d9d3 update project if certain params changed 2018-05-11 13:59:15 -04:00
Ryan Petrello
6c0af2ef57 Merge pull request #1667 from ryanpetrello/and-you-get-a-timezone
change timezone behavior slightly for Schedule.rrule to make things simpler for UI folks
2018-05-11 09:55:23 -04:00
AlanCoding
949895d0bc fix team parentage being removed 2018-05-10 11:13:09 -04:00
Ryan Petrello
c52eb0f327 provide a naive UNTIL= datestamp for schedules for UI convenience 2018-05-09 15:51:52 -04:00
Ryan Petrello
056933e33e refactor naive UNTIL= coercion 2018-05-09 15:00:48 -04:00
Ryan Petrello
00ae91dace slight cleanup and refactor of Schedule.timezone property 2018-05-08 08:28:51 -04:00
Ryan Petrello
441e5cc9c2 allow naive UNTILs to be specified for schedule rrules 2018-05-07 13:00:01 -07:00
Ryan Petrello
fbe2391b86 provide the timezone so that the UI doesn't have to
this will also ensure that UI doesn't use a different front end library
that will yield different results than the underlying Python code
2018-05-07 13:00:01 -07:00
Jake McDermott
d00b8549b4 disable activity stream for relaunched job label associations 2018-05-07 07:22:03 -04:00
Jake McDermott
45ffe7a955 update api-ui job urls 2018-05-02 14:17:28 -04:00
adamscmRH
4197a9fd35 granularly prevent filtering oauth secrets 2018-04-30 11:54:23 -04:00
AlanCoding
c88303ca67 revert change to allow org members to see teams 2018-04-26 13:37:08 -04:00
Ryan Petrello
1eb5e98743 Merge branch 'release_3.2.4' into release_3.3.0 2018-04-26 11:10:28 -04:00
AlanCoding
b7f280588c add handling for missing related items of events 2018-04-25 10:33:43 -04:00
Matthew Jones
c6e76ec6c7 Merge pull request #1557 from ansible/instance_group_rebuild_on_save
Update group cluster policies on save, not just created
2018-04-25 08:57:47 -04:00
Matthew Jones
4442e7de25 Merge pull request #1555 from ansible/no_instancegroup_for_workflowjob
Remove Instance Group concept/usage from WorkflowJobs
2018-04-25 08:30:40 -04:00
Matthew Jones
4af8a53232 Remove Instance Group concept/usage from WorkflowJobs
This also relaxes some of the task manager rules on Instance Groups
down the full stack such that workflow jobs tend to shortcut the
processing or omit it altogether.

This lets the workflow job spawning logic exist outside of the
instance group queues, which it doesn't need to participate in in the
first place.
2018-04-25 08:29:49 -04:00
Matthew Jones
05419d010b Update group cluster policies on save, not just created
Currently updating policy settings doesn't trigger a re-evaluation of
instance group policies, this makes sure we re-evaluate in the event
that anything changes.
2018-04-24 21:40:11 -04:00
Ryan Petrello
c98ede2f27 fix a bug in custom virtualenv when Project.organization is None
see: https://github.com/ansible/tower/issues/1490
2018-04-24 16:53:10 -04:00
AlanCoding
13550acb91 fix cross-talk between JT-proj due to arg mutability 2018-04-24 11:29:33 -04:00
AlanCoding
68975572f3 do not update modified_by for system fields 2018-04-24 10:48:23 -04:00
Wayne Witzel III
07474d5b21 Extend become_method to model field validation as well 2018-04-23 10:33:59 -04:00
Wayne Witzel III
d6ac9b6e3d Restore previous choices, clean up some minor things 2018-04-23 10:33:59 -04:00