Commit Graph
100 Commits
Author SHA1 Message Date
Luke Sneeringer a9260db790 Adding an instance manager. 2014-10-20 08:04:16 -05:00
Luke Sneeringer f77ae6f1bc Fixing a variable error. 2014-10-20 08:04:16 -05:00
Luke Sneeringer 4915ba291e Working instance registration. 2014-10-20 08:04:15 -05:00
Luke Sneeringer 3e2cf3acb3 Beginning work on instance registration, sanity checks. 2014-10-20 08:04:15 -05:00
Luke Sneeringer 35c6c72f2e Add Instance.role property. 2014-10-20 08:04:15 -05:00
Luke Sneeringer 072ab2118f Instance model (for HA) 2014-10-20 08:04:15 -05:00
Luke Sneeringer b740faeccd Setup wizard adjustments. 2014-10-20 08:04:15 -05:00
Luke Sneeringer f5b7d500a5 Addition of a /ping/ endpoint to give basic HA info. 2014-10-20 08:04:14 -05:00
Luke Sneeringer c6993ae44a Explicit import of django. 2014-09-11 12:52:37 -05:00
Luke Sneeringer debd9b8850 Re-activated SQLite restriction. Test passes in pg. 2014-09-11 12:45:46 -05:00
Luke Sneeringer 98ae1a7858 Corrected JobStartCancel Test. 2014-09-11 09:02:41 -05:00
Luke Sneeringer 73b058bcab Remove MIDDLEWARE_CLASSES from UI test. 2014-09-10 15:12:17 -05:00
Luke Sneeringer c6d374d12a Add autocommit to migration 36 if it's off. 2014-09-10 15:07:30 -05:00
Luke Sneeringer 59f3321b13 Updating Django to 1.6.7 in revision txts. 2014-09-10 13:36:03 -05:00
Luke Sneeringer 3267a988f8 Shift Django to 1.6.x (>= 1.6.7). 2014-09-10 12:17:35 -05:00
Luke Sneeringer fa02d11d30 Final renames from /etc/awx/ and /var/log/awx/ 2014-08-25 13:25:53 -04:00
Luke Sneeringer 4931d911fa Merge branch 'expunge-awx-unstable' 2014-08-25 13:21:58 -04:00
Luke Sneeringer deaf54f2d7 Migrating logs to /var/log/tower/. 2014-08-25 12:31:18 -04:00
Luke Sneeringer 55323fac57 Merge branch 'master' into expunge-awx-unstable 2014-08-25 10:51:26 -04:00
Luke Sneeringer 6d65423a8c Make the /etc/awx/ migration more permissive for one run. 2014-08-22 12:33:00 -04:00
Luke Sneeringer 27f2e05431 Merge branch 'expunge-awx-unstable' of github.com:ansible/ansible-commander into expunge-awx-unstable
Conflicts:
	awx/main/task_engine.py
	awx/ui/static/js/helpers/Access.js
2014-08-22 10:26:23 -04:00
Luke Sneeringer 3b45252039 Theoretical move from /etc/awx/ to /etc/tower/. 2014-08-22 10:12:12 -04:00
Luke Sneeringer ab1456f4a2 Minor grammar fix. 2014-08-20 12:11:35 -04:00
Luke Sneeringer 356532424e Vendor pywinrm (and dependencies).
https://trello.com/c/FQ9AkmRV/46-install-vendored-pywinrm-for-ansible-us
e
2014-08-20 09:35:40 -04:00
Luke Sneeringer ef04f453e7 Accept and convert SSH creds ending in \u003d.
This commit fixes an issue where copying an SSH credential ending in a
literal "\u003d", which is easy to do in GCE-land, doesn't work.

https://trello.com/c/L7Eowjrn/331-traceback-on-gce-inventory-import
2014-08-19 12:11:58 -04:00
Luke Sneeringer d7d9c9f285 Revert attempt to make group deletion alter the group name.
This reverts commits:
  * a2df65aab7e0473e3881b8ca4c1fb6eae4c878f1
  * 595e2d9a0a24df633036aba1d94cc611335c8584
  * 89df892e9ab1768f82f76295863dd1189b278a2c
2014-08-14 16:47:48 -04:00
Luke Sneeringer a34b5f6b1b Ensure that manual pre_save and post_save sends created. 2014-08-14 15:06:00 -04:00
Luke Sneeringer c4825dbf6c Fix VMware capitalization 2014-08-14 14:59:37 -04:00
Luke Sneeringer c028b2fce8 Make group deletion free up the group name. 2014-08-14 14:56:01 -04:00
Luke Sneeringer 331019be60 Add missing import. 2014-08-14 08:30:15 -04:00
Luke Sneeringer d58c6f43d0 Add LETTERS constant. 2014-08-13 13:42:31 -04:00
Luke Sneeringer 764420c560 Make mark_inactive_recursive plow over the name. 2014-08-13 13:41:28 -04:00
Luke Sneeringer 7721a52584 Make schedules accept gce/vmware/wa credentials. 2014-08-13 12:00:42 -04:00
Luke Sneeringer 43cbfc2b33 Alter save mechanism on Django 1.4 2014-08-13 11:39:47 -04:00
Luke Sneeringer 9e134ba8b9 Merge branch 'master' of github.com:ansible/ansible-commander
Conflicts:
	setup/roles/packages_el/vars/default.yml
2014-08-11 14:51:16 -05:00
Luke Sneeringer d438dd31f4 Make VMWare script less willing to set client to None. 2014-08-11 10:05:50 -05:00
Luke Sneeringer 6747d0690a Suppress warnings on CentOS when installing gmp
...and other warnings.

https://trello.com/c/heqXqTNM/187-centos-6-5-gmp-error-during-run-requires-setup-playbook-improvements
2014-08-08 11:38:33 -05:00
Luke Sneeringer 4723ad0a71 VMware support within Tower. 2014-08-07 11:09:33 -05:00
Luke Sneeringer 0f76c34c81 Unit test and bugfix for GCE/Azure job runs. 2014-08-04 13:46:32 -05:00
Luke Sneeringer e50711e301 Use expanduser on cache dir loaded from INI. 2014-08-04 10:15:41 -05:00
Luke Sneeringer 674e895d0a Shift default Azure cache directory from /tmp to ~ 2014-08-04 10:13:40 -05:00
Luke Sneeringer 0a0844f40e Require pycrypto >= 2.6 for gce.py 2014-08-04 09:38:42 -05:00
Luke Sneeringer 49d689fdb2 Fix cert regex.
This makes the certificate not have to be at the beginning of the regex
for the SSH key.
2014-08-04 09:28:33 -05:00
Luke Sneeringer fb1099234e Adding GCE/Azure envvar support to jobs. 2014-08-01 11:13:55 -05:00
Luke Sneeringer 5987f60e3f Add _meta to Azure inventory script. 2014-08-01 11:08:15 -05:00
Luke Sneeringer 67ddbd6fd6 Fixed capitalization inconsistency.
This commit makes "FirefoxSocketHelp.js" be refered to with consistnent
capitalization to its filesystem represenation.

Fixes a showstopping Tower bug on case-sensitive filesystems. :)
2014-07-30 15:43:42 -05:00
Luke Sneeringer 482f1ba771 Fix RSA credential checking in Azure.
https://trello.com/c/dPU6GsGT/204-improve-supported-azure-rsa-key-format
s
2014-07-30 15:13:07 -05:00
Luke Sneeringer 5e71d2ce0e Add tower-manage. 2014-07-30 11:57:07 -05:00
Luke Sneeringer 69dc0a10ca Merge branch 'azure-unstable' 2014-07-29 13:17:59 -05:00
Luke Sneeringer cc2e45b44e Fix job templates credential checks. 2014-07-29 13:09:56 -05:00
Luke Sneeringer cf96240556 Azure inventory sync! 2014-07-29 13:06:27 -05:00
Luke Sneeringer 0f5263c027 Adding deps. 2014-07-28 14:40:51 -05:00
Luke Sneeringer e837bbd2d0 [in progress] Azure 2014-07-28 14:04:47 -05:00
Luke Sneeringer 95567ff004 [in progress] Azure support. 2014-07-28 13:22:58 -05:00
Luke Sneeringer de953ec3ed Fixed bug caught by unit tests. 2014-07-25 11:12:13 -05:00
Luke Sneeringer 5bf06ba37f Vendoring libcloud. 2014-07-25 11:12:13 -05:00
Luke Sneeringer a1059dabae Working GCE inventory sync. 2014-07-25 11:12:12 -05:00
Luke Sneeringer a05aac8a50 Add host and project to the credential serializer. 2014-07-25 11:12:12 -05:00
Luke Sneeringer 37295a9c47 Adding GCE iteration to an if/elif/elif 2014-07-25 11:12:12 -05:00
Luke Sneeringer c6f7c1d2da In progress: Adding GCE to inventory source. 2014-07-25 11:12:12 -05:00
Luke Sneeringer 4c887c5614 Credential passaround. 2014-07-25 11:12:12 -05:00
Luke Sneeringer e7a08a016c Adding path support to credentials.js 2014-07-25 11:12:12 -05:00
Luke Sneeringer dd35df7255 Adding project to credentials. 2014-07-25 11:12:11 -05:00
Luke Sneeringer de88b8b222 Updating GCE inventory to support env vars. 2014-07-25 11:12:11 -05:00
Luke Sneeringer 0257451bf7 Adding GCE RSA keys. 2014-07-25 11:12:11 -05:00
Luke Sneeringer 4d0abd4cca Removed PEM file things. 2014-07-25 11:12:11 -05:00
Luke Sneeringer dd79ba8de7 Beginning PEM file support for GCE. 2014-07-25 11:12:11 -05:00
Luke Sneeringer ca19ddb3d5 Beginning work on GCE. 2014-07-25 11:12:11 -05:00
Luke Sneeringer e44784651a Added vmware inventory plugin from Ansible. 2014-07-25 11:12:11 -05:00
Luke Sneeringer 7548ffc6dd Added vmware support to tasks. 2014-07-25 11:12:11 -05:00
Luke Sneeringer 627c6f029e Adding sensible ordering to common models.
https://trello.com/c/tTwRM2VV/102-tower-api-teams-endpoint-does-not-sort-consistently
2014-07-24 15:01:16 -05:00
Luke Sneeringer 7e284e0c4a Theoretical move from /etc/awx/ to /etc/tower/. 2014-07-17 14:02:56 -05:00
Luke Sneeringer 7789ccd3eb Ability to add VMWare host. 2014-07-16 16:43:17 -04:00
Luke Sneeringer 61dea4de4d Change human credential types.
This commit updates the human credential types from SCM/AWS to "Source
Control" and "Amazon Web Services".
2014-07-16 08:23:47 -05:00
Luke Sneeringer d293f1fa52 Group things in .gitignore 2014-07-15 08:41:23 -05:00
Luke Sneeringer 6930057d32 Removing Vagrant dev things. 2014-06-25 08:59:24 -05:00
Luke Sneeringer 2fcbe9e989 Make /jobs/{id}/job_plays/ paginated. 2014-06-19 15:18:10 -05:00
Luke Sneeringer 4eddd692fb Merge branch 'vagrant-unstable' 2014-06-19 14:54:16 -05:00
Luke Sneeringer fbb408f817 Rename tools/vagrant to tools/dev_setup
Because these playbooks (should) work without Vagrant!
2014-06-19 14:53:02 -05:00
Luke Sneeringer 5d528e2db8 Merge branch 'master' into vagrant-unstable
Conflicts:
	awx/api/tests/job_tasks.py
	awx/api/utils/decorators.py
2014-06-19 14:20:34 -05:00
Luke Sneeringer 0fb2160d0f Fix the job_tasks test. 2014-06-19 14:12:49 -05:00
Luke Sneeringer c8e5892d54 Re-fixed an error from a merge conflict. 2014-06-19 13:23:59 -05:00
Luke Sneeringer 23b617b580 Adding a job_tasks test. 2014-06-19 13:23:40 -05:00
Luke Sneeringer 91afd12f31 Adding a job_tasks test. 2014-06-19 13:16:35 -05:00
Luke Sneeringer 09ef25a8ad Re-fixed an error from a merge conflict. 2014-06-19 08:01:57 -05:00
Luke Sneeringer ba7c33eaa2 Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-19 07:59:32 -05:00
Luke Sneeringer 2f1d667e64 Don't run the large inventory timing test locally.
This commit turns off local execution of the timing test for a large
inventory.

This test is pointless on local development, where (1) memory varies
widely and (2) we're using an entirely different database (SQLite) for
testing.

Pulling it out makes local testing considerably quicker and avoids
specious failures.
2014-06-18 15:41:08 -05:00
Luke Sneeringer 1f91028399 Tests for the @paginated decorator.
This commit adds tests which test most of the @paginated
decorator. A couple api_settings edge cases are not yet covered.
2014-06-18 15:41:08 -05:00
Luke Sneeringer 66fb5ab07a Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-18 15:41:08 -05:00
Luke Sneeringer 131dd67994 Revert "Make /api/v1/jobs/{id}/job_tasks/ scale."
This reverts commit 88971080670f8f104db0f322a49ed2f3bb5e1ef0.
2014-06-18 15:39:50 -05:00
Luke Sneeringer 65b87b9694 Tests for the @paginated decorator.
This commit adds tests which test most of the @paginated
decorator. A couple api_settings edge cases are not yet covered.
2014-06-18 15:37:30 -05:00
Luke Sneeringer 2ac5090d70 Paginate the job_tasks page.
This commit adds pagination to the /api/v1/jobs/{id}/job_tasks/ page,
which previously lacked it.

AC-1340
2014-06-18 13:01:53 -05:00
Luke Sneeringer bb338f3637 Make /api/v1/jobs/{id}/job_tasks/ scale.
This commit fixes an issue where the `job_tasks` endpoint
scaled poorly as the number of job tasks increased.

Note: This is a revert of a revert, because I felt this needed
code review and didn't want it on master yet. Sorry.

AC-1341
2014-06-18 12:59:57 -05:00
Luke Sneeringer 55e1258a5d Revert "Make /api/v1/jobs/{id}/job_tasks/ scale."
This reverts commit 88971080670f8f104db0f322a49ed2f3bb5e1ef0.
2014-06-18 12:56:32 -05:00
Luke Sneeringer ea2bb5e201 Make /api/v1/jobs/{id}/job_tasks/ scale.
This commit fixes an issue where the `job_tasks` endpoint
scaled poorly as the number of job tasks increased.

AC-1341
2014-06-18 07:17:40 -05:00
Luke Sneeringer 461e4d5e2a Make /api/v1/jobs/{id}/job_tasks/ scale.
This commit fixes an issue where the `job_tasks` endpoint
scaled poorly as the number of job tasks increased.

AC-1341
2014-06-17 15:22:13 -05:00
Luke Sneeringer a28d90a1ed Add more memoryz. 2014-06-17 12:31:17 -05:00
Luke Sneeringer 8f099cbe90 Merge branch 'master' into vagrant-unstable 2014-06-17 08:01:16 -05:00
Luke Sneeringer dd5fcbbfbd Vagrant Local Development
This commit adds playbooks and files necessary to do local development
from within Vagrant.

These playbooks start with a fresh Ubuntu 12.04 machine and:
  - Install Ansible
  - Install the Tower nightly
  - Install all components to exactly mirror production, except Apache
  - Install uwsgi and nginx for local development (since Apache lacks a
working auto-reload)

This isn't entirely perfect -- in particular, developing on task code
is probably challenging until I figure out how to get celery not to
read from the install, but it is a very easy way to get 90% of the way
there very, very quickly.
2014-06-12 16:51:48 -05:00
Luke Sneeringer 25abbc1c16 Add a space to an error message. Fixes AC-1156. 2014-06-12 16:46:48 -05:00