Commit Graph

13724 Commits

Author SHA1 Message Date
Matthew Jones
e7ba2a1078 Updating changelog for Instance Groups 2017-05-12 13:24:14 -04:00
Marliana Lara
cad1ba0972 Merge pull request #6253 from marshmalien/truncateRevisionHash
Abbreviate revision hash within the Projects panel
2017-05-12 12:37:54 -04:00
Michael Abashian
06d5f16730 Fixed inventory codemirror namespace clashing amongst other small bug fixes 2017-05-12 12:24:01 -04:00
Chris Meyers
cc4692932a update Host manager to handle Query Sets
* filter_host_string now returns a query set instead of Q(). This change
updates the Host manager to remove the .filter() call since the results
returned from filter_host_string() has already turned Q() -> Query Set
2017-05-12 12:14:32 -04:00
Matthew Jones
81611b44f6 Fix an incorrect reference on instance group jobs list 2017-05-12 12:12:29 -04:00
Chris Meyers
ac534abe24 expose insights_system_id via api
* insights_system_id is read-only. Only modified via the fact gathering
code path.
2017-05-12 12:09:20 -04:00
Chris Meyers
eb27233e5c clear insights system id if not found
* Host previously found to have an insights system id that then later
are found to not have an insights system id, have their system id
cleared.
2017-05-12 12:00:30 -04:00
Chris Meyers
3cdc332497 rename insight tracking field; handle duplicate
* rename from insights_machine_id to insights_system_id
* gracefully handle duplicate insights machine id's
2017-05-12 10:47:49 -04:00
Marliana Lara
62c4efe19b Remove try/catch block of copyRevisionHash() 2017-05-12 10:02:52 -04:00
Ryan Petrello
0ac4f71e5b refactor and fix ssh_private_key and ssh_key_unlock validation
`clean_ssh_key_data` and `clean_ssh_key_unlock` no longer work because
they're not actual fields on `model.Credential` anymore.  This change
refactors/moves their validation to a place that works (and makes more
sense).
2017-05-12 09:42:29 -04:00
Alan Rominger
f7f27e94d1 Merge pull request #6249 from AlanCoding/job_action_serializer
Avoid re-building fields for cancel and relaunch endpoints
2017-05-12 09:37:25 -04:00
Chris Meyers
b55af095ef boolean logic performed on filter results
* Before, the boolean logic operators were performed against the Q()
objects, iteratively. Now, boolean logic is done after
Host.objects.filter(Q()). This results in the wanted and expected
results.
2017-05-12 09:26:11 -04:00
Matthew Jones
51bb85c3e2 Purge remaining references to rampart groups
* Acceptance Docs references
* Installer references
2017-05-11 22:25:57 -04:00
Matthew Jones
c1a6fc050d Simplify can_access for instance groups on job templates 2017-05-11 22:17:42 -04:00
Michael Abashian
c04ac86df8 Merge pull request #6248 from mabashian/makefile-fix
Fixed make docker-compose-test
2017-05-11 21:21:12 -04:00
Marliana Lara
82683d423f Add tooltip to revision copy link 2017-05-11 18:20:35 -04:00
AlanCoding
244ebecd16 avoid re-building fields for cancel and relaunch endpoints 2017-05-11 17:11:57 -04:00
Michael Abashian
070de2fe67 Fixed make docker-compose-test 2017-05-11 17:11:23 -04:00
Alan Rominger
7a1c6c6794 Merge pull request #6241 from AlanCoding/scm_inv_feedback
SCM inventory acceptance and bug updates
2017-05-11 16:30:26 -04:00
Michael Abashian
88e5abd4d9 Fixed host list related groups tab. Can now associate and disassociate a host from a group 2017-05-11 16:15:50 -04:00
Wayne Witzel III
54876e71e7 Added tests for post conditional logic 2017-05-11 15:31:39 -04:00
Marliana Lara
65dd53ac5f Add ability to copy revision hash to clipboard
*Update copy link styles to match app theme
2017-05-11 15:27:10 -04:00
Matthew Jones
f8fc9cff5c Adding Instance Group permissions and tests 2017-05-11 15:14:18 -04:00
Matthew Jones
8bc1490368 Increase test coverage for task scheduler inventory updates
Also fixes some bugs found in that process
2017-05-11 14:36:13 -04:00
Shane McDonald
dfdf59bcf5 Fix RPM builds
The version of setuptools bundled with virtualenv is broken. This fixes things for both online and offline pip installs.
2017-05-11 14:26:52 -04:00
Marliana Lara
cc94d724ec Add SeeMore and SeeLess link actions 2017-05-11 14:18:36 -04:00
Alan Rominger
bdde87f7f5 Merge pull request #6245 from AlanCoding/alan_rockin_ramparts
Introduce view to allow associations but no creations
2017-05-11 14:10:21 -04:00
Wayne Witzel III
aff084e1f6 Update permissions/RBAC for updates 2017-05-11 14:01:32 -04:00
Matthew Jones
2c2e0d20a7 Exit logic fixes for instance group tools 2017-05-11 13:56:30 -04:00
Matthew Jones
47f4e5358b View Fixes for instance groups
* Return "instance_groups" instead of "rampart_groups" on the ping
  endpoint
* Don't pre-filter IG jobs endpoints for status
2017-05-11 13:55:31 -04:00
AlanCoding
14b5ab984b new view to allow associations but no creations 2017-05-11 13:11:11 -04:00
Wayne Witzel III
0e816a2d98 Create /inventories/N/update_inventory_sources endpoint 2017-05-11 13:05:49 -04:00
AlanCoding
97ca6bc897 SCM inventory acceptance and bug updates
* fixed a problem where the SCM last revision was not getting reset
* change the 400 editing error to just reset the last revision
* handle `source_vars` in the same way as custom scripts
* block unallowed `source_vars` in the validator
* hide POST in OPTIONS for inventory source sublist if not allowed
2017-05-11 12:04:48 -04:00
Chris Meyers
b9b0b29d97 associate insights machine id w/ host on fact scan
* Add inisghts fact scan module
* Update fact scan playbook to call new insight fact scan module
* JT run w/ store_facts=True will save scanned facts. We "skim" the
machine_id fact from Insights fact scans and associate it with the host
that the fact scan came from.
2017-05-11 11:20:52 -04:00
Marliana Lara
a27bd045de WIP: First attempt with Badge Icons 2017-05-11 10:07:44 -04:00
Ryan Petrello
44c1935590 Merge pull request #6232 from ryanpetrello/jt_promptable_extra_creds
add prompting for JT.extra_credentials
2017-05-11 07:51:36 -04:00
Ryan Petrello
53c3ece32b add prompting for JT.extra_credentials
see: #2913
2017-05-11 07:29:53 -04:00
Marliana Lara
0bf28ffed8 Filter revision hash to less than 7 characters 2017-05-10 16:28:30 -04:00
Matthew Jones
704da9c7f2 Updating acceptance documentation and system docs 2017-05-10 16:15:49 -04:00
Alan Rominger
2b15d04096 Merge pull request #6218 from AlanCoding/scm_inv_cancel
SCM inventory cancel propagation
2017-05-10 15:52:31 -04:00
Aaron Tan
f18b7f2f19 Merge pull request #6211 from jangsutsr/6188_handle_500_error_with_toggling_log_aggregator_enable
Handle 500 error with toggling log aggregator enable
2017-05-10 15:38:47 -04:00
AlanCoding
fc590535be update inventory file list on every project update 2017-05-10 15:34:31 -04:00
Ryan Petrello
830c7901a3 Merge pull request #6222 from ryanpetrello/fix-6160
properly filter `User.password` from ActivityStream entries
2017-05-10 15:27:52 -04:00
Ryan Petrello
2a59e91d4c Merge pull request #6221 from ryanpetrello/rdb-tooling
add tooling to aid in remote debugging sessions
2017-05-10 15:27:30 -04:00
Aaron Tan
ecd87e07c6 Merge pull request #6224 from jangsutsr/6169_create_tacacs_n_radius_users_with_password_disabled
Create tacacs and radius users with password disabled
2017-05-10 15:26:36 -04:00
Matthew Jones
5508bad97c Updating unit tests for task manager refactoring
* Purging old task manager unit tests
* Migrating those tests to functional tests
* Updating fixtures and factories to support a change in the way the
  task manager is tested
* Fix an issue with the mk_credential fixture when used in functional
  tests. Previously it had trouble with multiplel invocations when
  persistence was used
2017-05-10 12:45:37 -04:00
Matthew Jones
705f8af440 Update views and serializers to support instance group (ramparts)
* includes top level views for instances and instance groups and
  extending those views to be able to view running jobs
* Associative endpoints on Organizations, Inventories, and Job
  Templates
* Related and summary field entries where appropriate
* Adding job model references to executing instance group
* Fix up default queue properties for clustering from the settings file
* Update production and default settings for instance queues in settings
2017-05-10 12:33:03 -04:00
Matthew Jones
4ced911c00 Implementing models for instance groups, updating task manager
* New InstanceGroup model and associative relationship with Instances
* Associative instances between Organizations, Inventory, and Job
  Templates and InstanceGroups
* Migrations for adding fields and tables for Instance Groups
* Adding activity stream reference for instance groups
* Task Manager Refactoring:
** Simplifying task manager relationships and move away from the
   interstitial hash tables
** Simplify dependency determination logic
** Reduce task manager runtime complexity by removing the partial
   references and moving the logic into the task manager directly or
   relying on Job model logic for determinism
2017-05-10 12:32:54 -04:00
Michael Abashian
3065d0a935 Merge pull request #6226 from mabashian/inventory-breadcrumbs
Breadcrumb fixes and nested groups/hosts state refactoring
2017-05-10 11:22:10 -04:00
Matthew Jones
e1296f6d3a Updating the setup playbook to support instance group installation
* Support instance groups that begin with "rampart_" and automatically
  group those using celery and data models
* Update settings file to appropriately consider instance groups after
  install and to properly route messages
2017-05-10 11:18:08 -04:00