Commit Graph

3948 Commits

Author SHA1 Message Date
Aaron Tan
e7b37c6627 [UX]Improve LOG_AGGREGATOR_LOGGERS label text 2017-07-14 14:35:19 -04:00
Matthew Jones
1b02809f9e Fixing missing import for licenseforbids
This was improperly removed during the license refactor
2017-07-14 10:54:21 -04:00
Matthew Jones
891f26c850 Fix an issue where an unlicensed system would throw errors
In the case where the license was entirely not present but the tower
license module was present
2017-07-14 10:21:26 -04:00
Christian Adams
f5bbccf0cd Merge pull request #6979 from rooftopcellist/IntegrityError
Fix IntegrityError on Source Update
2017-07-14 06:45:31 -07:00
adamscmRH
d065d5176e Removes redundant atomic transactions 2017-07-14 06:41:53 -07:00
Aaron Tan
e053d2c33a Merge pull request #7059 from jangsutsr/6624_stablize_summary_field_display_for_host_serializer
Stablize summary field display for host serializer
2017-07-13 16:48:17 -04:00
Aaron Tan
636147f7f0 Stablize summary field display for host serializer. 2017-07-13 16:30:47 -04:00
Ryan Petrello
d03cacbb57 Merge pull request #7062 from ryanpetrello/fix-7050
properly copy parent roles when migrating v1 SSH creds to SSH + Vault
2017-07-13 16:20:16 -04:00
Ryan Petrello
58abfc3fde properly copy parent roles when migrating v1 SSH creds to SSH + Vault
see: #7050
2017-07-13 15:02:55 -04:00
Wayne Witzel III
8cf3bb3134 Merge pull request #7058 from wwitzel3/host-smart_inventories
Update how we repopulate the /host/:id/smart_inventories data
2017-07-13 14:54:30 -04:00
Wayne Witzel III
6f1ef7fe0b Update how we repopulate the /host/:id/smart_inventories data 2017-07-13 14:04:33 -04:00
adamscmRH
0d0c75c318 Change to update if already exists 2017-07-13 13:55:42 -04:00
Matthew Jones
8e8324983b Merge branch 'license_module_switch' into devel
* license_module_switch:
  Hide eula if stub license is used
  Fix up some issues on feature validation for licenses
  Remove any references to internal licensing utilities
  Switch out existing obfuscated license with external module
2017-07-13 11:08:47 -04:00
Matthew Jones
c1ce79d0a5 Fix up some issues on feature validation for licenses
Also purging and fixing up some unit test behavior
2017-07-13 10:27:43 -04:00
Alan Rominger
7c3020eada Merge pull request #7048 from AlanCoding/fix-7022
Act. stream Race condition avoidance with additional adjustments
2017-07-13 09:57:10 -04:00
Ryan Petrello
0b67f2fd9a Merge pull request #7047 from ryanpetrello/debug-tasks
log task failures when DEBUG = True
2017-07-13 09:51:24 -04:00
AlanCoding
0a6329feff deleted related in activity stream tests/surfacing
This adds a test to replicate the scenario reported about
bugs in activity stream entry generation in cascade delete
chains. Also puts a new string in the entry that uses the
deleted objects's primary key.
2017-07-13 09:07:53 -04:00
Ryan Petrello
2d5c021b72 log task failures when DEBUG = True
this helps a lot for development - otherwise you have to go look an
explanaton in the database for these sorts of failures
2017-07-13 08:24:42 -04:00
Chris Meyers
2f7a720ba1 Merge pull request #7033 from chrismeyersfsu/fix-3801
use newest aws env var names for creds
2017-07-13 08:09:24 -04:00
Chris Meyers
352e83aa84 fix diff_mode migration error 2017-07-13 07:54:58 -04:00
adamscmRH
5a307dd62b Added defaults to get_or_create methods 2017-07-12 22:40:34 -04:00
Ryan Petrello
80224b791d avoid a race condition in recording deletions in the activity stream
1. You delete something.
2. A signal is generated to record an activity stream deletion.
3. The process of deleting that activity stream deletion attempts to
   look up a related field which has been deleted (in the meantime) via
   a cascade.

see: #6721
see: #7022
2017-07-12 16:39:39 -04:00
Matthew Jones
96a9d048b8 Remove any references to internal licensing utilities 2017-07-12 16:20:35 -04:00
Chris Meyers
6511d2968e use newest aws env var names for creds 2017-07-12 15:27:18 -04:00
Christian Adams
e6c004babb Merge pull request #6951 from rooftopcellist/diff_help_text
Add help_text for diff mode
2017-07-12 14:57:00 -04:00
adamscmRH
b2193921ed consolidated migrations for diff help text 2017-07-12 14:12:08 -04:00
adamscmRH
58bd747cb1 Fixes group & host integrity error 2017-07-12 14:06:17 -04:00
adamscmRH
e01d98f2a2 Fix IntegrityError on Source Update 2017-07-12 14:06:17 -04:00
adamscmRH
ee9efef4d4 Added Migrations for diff help text 2017-07-12 14:00:50 -04:00
Aaron Tan
c6ed70dd9d Merge pull request #6928 from jangsutsr/6904_strengthen_attribute_check_for_tower_conf_validators
Strengthen attribute check for Tower configuration validations
2017-07-12 13:30:44 -04:00
Chris Meyers
77e25b236d Merge pull request #7019 from chrismeyersfsu/fix-6960
require that insights projects have insights cred
2017-07-12 13:05:05 -04:00
Chris Meyers
376170124e require that insights projects have insights cred 2017-07-12 12:52:26 -04:00
AlanCoding
2c81a2489e prohibit direct creation of manual inventory sources 2017-07-12 12:29:56 -04:00
Alan Rominger
0c3eac6aa0 Merge pull request #6922 from AlanCoding/dir_crawling
Detailed tweaking of inventory and playbook listings
2017-07-12 12:10:55 -04:00
Alan Rominger
4afb65f447 Merge pull request #6909 from AlanCoding/no_manual_source_proj
Disallow manual projects for SCM inventory
2017-07-12 12:08:19 -04:00
Chris Meyers
fa5fb22fa4 Merge pull request #6981 from chrismeyersfsu/fix-6945
correctly create jobs in migrations
2017-07-11 20:05:39 -04:00
Alan Rominger
28b311fdb5 Merge pull request #6992 from AlanCoding/inv_src_name
Make inventory source naming consistent with v1
2017-07-11 17:04:51 -04:00
Aaron Tan
19e3071fec Merge pull request #6997 from jangsutsr/625_enable_source_region_for_azure_inv_src
Enable source_region for azure_rm inventory source
2017-07-11 17:02:41 -04:00
Aaron Tan
bfec1aceb3 Enable source_region for azure_rm inventory source 2017-07-11 16:41:42 -04:00
Wayne Witzel III
0ab5124b80 call the delayed delete after the save call for Inventory 2017-07-11 16:29:10 -04:00
AlanCoding
777b1c3023 make inventory source naming consistent with v1 2017-07-11 16:15:33 -04:00
Chris Meyers
c34a89714c rework hosts without insights creds error message 2017-07-11 14:25:12 -04:00
Ryan Petrello
28f44c3ab0 filter Insights credentials from /api/v1/credentials/
see: #6978
see: #6088
2017-07-11 13:55:43 -04:00
Chris Meyers
f119b94134 correctly create jobs in migrations
* Do not import Project. Instead, use get_model() and ensure the
polymorphic ctype is set correctly.
* Point migrated job templates at the new fact scan playbook
2017-07-11 13:44:08 -04:00
Ryan Petrello
bc869284f7 Merge pull request #6968 from ryanpetrello/fix-6959
fix a few issues in credential type kind validation
2017-07-11 13:30:07 -04:00
Alan Rominger
6d251babb5 Merge pull request #6947 from AlanCoding/circular
Move circular group association validation to view
2017-07-11 12:45:29 -04:00
Matthew Jones
8486944eaa Switch out existing obfuscated license with external module
This creates a new fallback license module called StubLicense that
will be used in the event that the tower_license module is not
installed.

All existing license mechanisms are routed through the get_licenser()
util method
2017-07-11 12:01:24 -04:00
Ryan Petrello
09055f9c2f fix a few issues in credential type kind validation
- fix a typo from `network` to `net`
- properly update OPTIONS for CredentialTypes to reflect allowed `kind`
  values for POST/PUT/

see: #6959
2017-07-11 09:43:55 -04:00
Ryan Petrello
1d5023189e Merge pull request #6964 from ryanpetrello/fix-3508
add additional field validation to AWX_TASK_ENV
2017-07-11 09:26:56 -04:00
Alan Rominger
b8b2d8695e Merge pull request #6912 from AlanCoding/schedule_scm_inv
Allow scheduling of SCM inventory sources (with exception)
2017-07-10 21:55:16 -04:00