Commit Graph

717 Commits

Author SHA1 Message Date
Ryan Petrello
14addae813 delete inventories in the background via a celery task
see: #4382
see: #6279
2017-06-22 14:32:33 -04:00
Ryan Petrello
922ffa905c Merge pull request #6670 from ryanpetrello/fix-3303
fix a bug in team-based credential validation
2017-06-22 11:19:38 -04:00
Alan Rominger
8f254dbd82 Merge pull request #6675 from AlanCoding/controller_id_sf
add isolated job controller_id to summary fields
2017-06-22 10:44:53 -04:00
AlanCoding
f62f0ca1e6 add isolated job controller_id to summary fields 2017-06-21 16:29:06 -04:00
Ryan Petrello
e832a56506 fix a bug in team-based credential validation
when a credential is created with `team` in the payload, set the
credential's `organization` *prior* to validation so that we don't miss
organization-oriented validators (like the org + name + kind unique
validation)

see: #3303
2017-06-21 14:25:51 -04:00
Chris Meyers
965159a1fb rename store_facts to use_fact_cache 2017-06-21 13:45:27 -04:00
adamscmRH
fa5b18e4d3 Fix InsGroup Cap Calc 2017-06-20 11:09:00 -04:00
Ryan Petrello
422950f45d Support for executing job and adhoc commands on isolated Tower nodes (#6524) 2017-06-14 11:47:30 -04:00
Ryan Petrello
d4afa41acb key prompting of all credentials off of ask_credential_on_launch
see: #6371
2017-06-12 12:26:58 -04:00
Aaron Tan
bd4b2cfd6d Merge pull request #6537 from jangsutsr/6410_add_count_to_host_group_summary_field
Add count to host group summary field.
2017-06-12 09:50:51 -04:00
Aaron Tan
b09ad85978 Add count to host group summary field. 2017-06-09 17:53:41 -04:00
Jake McDermott
e6e4c69da4 add verbosity to job launch options (#6485) 2017-06-09 13:38:59 -04:00
Ryan Petrello
685771ade3 Merge pull request #6469 from ryanpetrello/fix-6363
resolve a few CredentialType.inputs validation issues
2017-06-09 09:44:19 -04:00
Aaron Tan
2197d24845 Merge pull request #6449 from jangsutsr/6410_show_related_groups_for_hosts
Add groups field to host summary
2017-06-08 16:47:51 -04:00
Ryan Petrello
1f41e002a6 Merge pull request #6399 from ryanpetrello/fix-6390
fix a bug in POST /api/v1/credential detection of Vault payloads
2017-06-08 15:40:26 -04:00
Chris Meyers
d0dc41daac turn single element array into string 2017-06-08 08:24:42 -04:00
Chris Meyers
2317687468 allow changing source_project
* scm project backed inventory now allows source_project to be mutated.
We reset the tracked revision when this happens.
2017-06-07 15:37:51 -04:00
Ryan Petrello
9bba3d9749 resolve a few CredentialType.inputs validation issues
see: #6363
2017-06-06 15:48:23 -04:00
Aaron Tan
9e9a3e22c8 Add groups field to host summary. 2017-06-06 13:23:58 -04:00
Ryan Petrello
a706440ff6 Merge pull request #6407 from ryanpetrello/fix-6385
improve a few permission-related errors for CredentialType update/delete
2017-06-05 15:20:26 -04:00
Ryan Petrello
fd4b86349c fix a 500 error in /api/v1/credentials/ backwards compat
see: #6414
2017-06-01 11:26:18 -04:00
Ryan Petrello
71dda544ab fix a bug in /api/v1/credential detection of Vault payloads
see: #6390
2017-06-01 10:18:43 -04:00
Ryan Petrello
e0a629db58 improve error formatting for jsonschema failures on Credential.inputs
this provides error messages keyed by input fields, so that instead of
e.g.,

{
    'inputs': ['Invalid certificate or key: u'XYZ']
}

...you get:

{
    'inputs': {
        'ssh_key_data': ['Invalid certificate or key: u'XYZ']
    }
}

Includes /api/v1/ compatability for error message format.  Requests to
/api/v1/ will get:

{'ssh_key_data': ['Invalid certificate or key: u'XYZ']}
2017-06-01 09:48:42 -04:00
Chris Meyers
eb6e598f6c add insights_credential to summary fields on inventory 2017-06-01 08:47:21 -04:00
Ryan Petrello
995683c9b2 Merge pull request #6401 from ryanpetrello/fix-6394
add more context for default extra_credentials to the JT launch endpoint
2017-05-31 17:36:15 -04:00
Aaron Tan
a993025e0d Merge pull request #6053 from jangsutsr/named_url
Named URL
2017-05-31 17:02:42 -04:00
Ryan Petrello
462b2c6696 improve a few permission-related errors for CredentialType update/delete
see: #6385
2017-05-31 15:48:34 -04:00
Ryan Petrello
34b4270b1c add more context for default extra_credentials to the JT launch endpoint
see: #6394
2017-05-31 13:22:46 -04:00
Aaron Tan
f25391fe86 Implement named URL feature. 2017-05-31 12:09:54 -04:00
Aaron Tan
604243428c Add URL and type fields to instances/instance groups. 2017-05-30 17:00:27 -04:00
Wayne Witzel III
01471e02bb Merge pull request #6358 from wwitzel3/issue-6099
Add smart_inventories endpoint to Host
2017-05-26 14:24:01 -04:00
Chris Meyers
1a10205e0c Merge pull request #6300 from chrismeyersfsu/feature-insights_proxy
insights proxy
2017-05-26 14:17:04 -04:00
Chris Meyers
441946d332 add v1 vs. v2 inclusion/exclusion 2017-05-26 14:04:15 -04:00
Wayne Witzel III
e28cd97ffb Add smart_inventories endpoint to Host 2017-05-26 10:16:12 -04:00
Chris Meyers
87eea59845 add per-inventory insights credential 2017-05-26 07:25:36 -04:00
Aaron Tan
b50820fa60 Merge pull request #6305 from jangsutsr/6272_prevent_nested_encrypted_field_leak_in_activity_stream
Prevent nested encrypted field leak in activity stream
2017-05-24 09:55:29 -04:00
Aaron Tan
a15bc6d0f7 Merge pull request #6295 from jangsutsr/6243_update_user_profile_to_record_source_backend
Introduce sso UserEnterpriseAuth model
2017-05-24 09:42:41 -04:00
Aaron Tan
7f1f68ee28 Prevent nested encrypted field leak in activity stream. 2017-05-23 14:05:55 -04:00
Aaron Tan
d314f83416 Introduce sso UserEnterpriseAuth model. 2017-05-22 13:30:00 -04:00
Chris Meyers
fb53ca8455 insights proxy
* Issue request to Red Hat Insights API from Tower
/hosts/<id>/insights endpoint. User the first found Satellite 6
Credential as Basic Auth requests to Insights API.
2017-05-22 10:11:31 -04:00
Wayne Witzel III
e4f4cc1372 add kind to Inventory summarizable fields 2017-05-19 10:59:50 -04:00
Chris Meyers
e81a7e1c25 allow insights_system_id to be set to null via api 2017-05-18 11:31:58 -04:00
Wayne Witzel III
d652ed16d0 Dynamic -> Smart Inventory 2017-05-17 16:25:40 -04:00
Alan Rominger
430852b73d Merge pull request #6271 from AlanCoding/wfj_no_node
Remove `execution_node` from WFJ serializer
2017-05-16 14:44:50 -04:00
AlanCoding
2cbb2c6d53 remove execution_node from WFJ serializer 2017-05-16 12:31:29 -04:00
Chris Meyers
27c32de4a2 Merge pull request #6242 from chrismeyersfsu/implement-6203
associate insights machine id w/ host on fact scan
2017-05-16 10:27:45 -04:00
Matthew Jones
f96324aad8 Adding more informative fields to HA model views
Requested by the UI team to drive an Instances/InstanceGroup display
2017-05-15 15:47:48 -04:00
Wayne Witzel III
b9520c7f3b Merge pull request #6246 from wwitzel3/issue-5756
Create /inventories/N/update_inventory_sources endpoint.
2017-05-12 17:30:00 -04:00
AlanCoding
c6a3a7cc34 JT RBAC edits for extra_credentials and vault_credential 2017-05-12 17:13:58 -04:00
Matthew Jones
1a4a6273a4 Merge branch 'rampart_groups_setup_playbook' into devel
* rampart_groups_setup_playbook:
  Updating changelog for Instance Groups
  Fix an incorrect reference on instance group jobs list
  Purge remaining references to rampart groups
  Simplify can_access for instance groups on job templates
  Adding Instance Group permissions and tests
  Increase test coverage for task scheduler inventory updates
  Exit logic fixes for instance group tools
  View Fixes for instance groups
  new view to allow associations but no creations
  Updating acceptance documentation and system docs
  Updating unit tests for task manager refactoring
  Update views and serializers to support instance group (ramparts)
  Implementing models for instance groups, updating task manager
  Updating the setup playbook to support instance group installation
  Add nginx to server start and switch back to first tmux win
  Fix an issue where the local queue wouldn't use the rabbitmq name
2017-05-12 13:40:30 -04:00