Chris Meyers
0f99dbe1d2
fixes MONGO_HOST not found error
2016-03-18 10:56:00 -04:00
Chris Meyers
c5eae5de41
Merge pull request #1213 from ansible/revert-1208-mongoectomy_packaging
...
Revert "remove mongo as packaging req"
2016-03-10 12:02:25 -05:00
Chris Meyers
0006a6847c
Merge pull request #1208 from chrismeyersfsu/mongoectomy_packaging
...
remove mongo as packaging req
2016-03-10 11:39:15 -05:00
Chris Meyers
ca6e6e06e9
Merge pull request #1193 from chrismeyersfsu/mongoectomy_migration
...
migrate data from mongo to postgres
2016-03-10 11:06:39 -05:00
Chris Meyers
3fde9050a4
Merge pull request #1204 from chrismeyersfsu/fix-remove_mongo
...
remove the starting of mongo
2016-03-10 07:34:37 -05:00
Chris Meyers
cf1a78866c
flake8
2016-03-09 16:51:52 -05:00
Chris Meyers
259d4ec47b
flake8
2016-03-09 16:48:42 -05:00
Chris Meyers
4ff16548b6
drop mongo database when complete
2016-03-09 15:53:07 -05:00
Chris Meyers
3d963d540f
remove the starting of mongo
2016-03-09 15:40:09 -05:00
Chris Meyers
2e86c58a65
remove mongo fact tests
2016-03-09 15:25:58 -05:00
Chris Meyers
bc6eaeb0a9
migrate data from mongo to postgres
2016-03-09 15:25:57 -05:00
Chris Meyers
220d4c635e
fix fact cache receiver
2016-03-09 14:41:54 -05:00
Chris Meyers
5759db1229
flake8 fix
2016-03-04 14:14:10 -05:00
Chris Meyers
29e0652bfc
Merge pull request #1117 from chrismeyersfsu/fix-fact_cache_receiver
...
find correct fact to update
2016-03-04 11:51:40 -05:00
Chris Meyers
451a633b3f
Merge pull request #1115 from chrismeyersfsu/fix-mongo_off
...
do not require mongo to be on
2016-03-04 11:44:37 -05:00
Chris Meyers
7494b13704
find correct fact to update
...
* The fact cache receiver needs to look for an exact match, rather than
* a relative, most recent fact.
2016-03-04 11:41:08 -05:00
Chris Meyers
2d2940fabc
Merge pull request #1109 from chrismeyersfsu/fix-system_tracking_unit_tests
...
mock system tracking feature enabled
2016-03-04 11:15:10 -05:00
Chris Meyers
d56dc25314
do not require mongo to be on
2016-03-04 10:52:12 -05:00
Chris Meyers
cfeae51254
deny endpoint access to system tracking feature based on license
2016-03-04 10:14:13 -05:00
Chris Meyers
09c5a189ed
remove forgotten print
2016-03-04 07:56:29 -05:00
Chris Meyers
569dd83ff6
mock system tracking feature enabled
2016-03-03 13:53:25 -05:00
Chris Meyers
44618d4956
flake8 fix
2016-03-03 11:45:40 -05:00
Chris Meyers
88bf44bfcb
Update requirements_jenkins.txt
2016-03-03 11:10:43 -05:00
Chris Meyers
60484267e7
Merge pull request #1088 from chrismeyersfsu/mongoectomy_cleanup
...
postgres fact cleanup
2016-03-03 08:31:43 -05:00
Chris Meyers
b0d228579a
add test case to verify delete logic
2016-03-02 12:57:52 -05:00
Chris Meyers
9d24236632
pin pyflakes to allow flake8 to succeed
...
* flake8 monkeypatches pyflakes to add codes to linting results. It
would seem that pyflakes 1.1.0 adds more checks but flake8 doesn't
monkeypatch to expose them. I've submitted a PR to add error code 405 to
be able to express that we ignore it in our setup.cfg
https://gitlab.com/pycqa/flake8/merge_requests/56
2016-03-02 09:30:52 -05:00
Chris Meyers
4fc7fea2b8
follow up and finish option request test
2016-03-01 17:28:29 -05:00
Chris Meyers
4b56ea3d07
postgres fact cleanup
2016-03-01 16:57:22 -05:00
Chris Meyers
88865a2203
flake8 fix
2016-03-01 16:57:00 -05:00
Chris Meyers
67d1aa6c86
migration with correct help_text
2016-03-01 10:39:51 -05:00
Chris Meyers
b5d8aa52c9
get accepts data param, use it
2016-03-01 10:08:08 -05:00
Chris Meyers
5340af2335
updated api tests to use new get fixture format
2016-03-01 09:48:58 -05:00
Chris Meyers
f6fa11e383
fix Fact migration
2016-03-01 09:16:48 -05:00
Chris Meyers
356b9c99b3
Merge branch 'mongoectomy_implementation' into devel
2016-03-01 08:22:40 -05:00
Chris Meyers
7ffe46fc74
add postgres Fact model, update views, tests
...
* awx.main.models Fact added
* view host fact and timeline updated to use new Postgres Fact model instead of Mongo
* Removed license set start Mongo logic
* added View tests
* added Model tests
* Removed mongo fact unit tests
* point at modified jsonbfield that supports sqlite storage driver
* postgresify fact cache receiver
* test OPTIONS endpoint
* Note: single fact view not implemented yet.
2016-02-24 14:38:54 -05:00
Chris Meyers
c2d2c57aad
add newer version of proot
...
Use proot version that is used in production (5.1.0). Solves the ansible-playbook 2.0 symlink issue we see in our container when launching jobs.
2016-02-24 08:58:41 -05:00
Chris Meyers
62d0e8f6a5
Update Dockerfile
...
Add dateutils python package for `private/license_writer.py` to succeed
2016-02-24 08:52:16 -05:00
Chris Meyers
cad54a43a1
Merge pull request #1001 from chrismeyersfsu/fix-options_choices
...
bring back meta choice options lost in upgrade
2016-02-23 13:55:53 -05:00
Chris Meyers
61fd645d25
Revert "add error to requirements.txt for jenkins testing"
...
This reverts commit b1543763a4c195c857ec82bda058e06a0becf816.
2016-02-23 12:49:28 -05:00
Chris Meyers
3535cf3b08
add error to requirements.txt for jenkins testing
2016-02-23 12:35:54 -05:00
Chris Meyers
3013bcbebb
remove duplicate shade
2016-02-23 12:27:51 -05:00
Chris Meyers
244d1ac73d
keystone dep fix
2016-02-23 11:47:26 -05:00
Chris Meyers
1915347aff
fix req
2016-02-23 10:32:39 -05:00
Chris Meyers
d70615efbd
bring back meta choice options lost in upgrade
...
* status and launch_type OPTIONS choices were lost in the django + drf
upgrade. This brings them back.
2016-02-22 12:58:35 -05:00
Chris Meyers
6434171977
add -y to ansible ppa adding
2016-02-16 13:51:16 -05:00
Chris Meyers
56b0da30f1
adds fact model
2016-02-15 15:39:22 -05:00
Chris Meyers
7b07bb7d93
fix bad mocking
2016-02-01 16:02:52 -05:00
Chris Meyers
e793a179fd
Merge pull request #763 from chrismeyersfsu/openstack_#685
...
point at packages with source on pypi
2016-02-01 12:19:14 -05:00
Chris Meyers
306d0d401a
point at packages with source on pypi
...
* --target doesn't use wheels. Some packages only have wheel. Bump back
the package versions that have source in them, but not too far back such
that the interfaces change. It's a balancing act.
2016-02-01 12:16:26 -05:00
Chris Meyers
53f07fff08
Merge pull request #754 from chrismeyersfsu/openstack_#685
...
requests needs openssl
2016-01-29 16:26:15 -05:00
Chris Meyers
7d73cb1bcf
requests needs openssl
2016-01-29 16:25:37 -05:00
Chris Meyers
c7b8090e3b
Merge pull request #748 from chrismeyersfsu/openstack_#685
...
pyrax bumpb new python license
2016-01-29 11:20:15 -05:00
Chris Meyers
ad27ae1f7d
pyrax bumpb new python license
2016-01-29 11:19:30 -05:00
Chris Meyers
7cff53e7b9
Merge pull request #744 from chrismeyersfsu/openstack_#685
...
separate pip requirements file for python2.6
2016-01-28 17:46:13 -05:00
Chris Meyers
264fca1f3d
separate pip requirements file for python2.6
...
* platforms, like centos6, with python2.6 need old raggity packages.
Let them have the old raggity packages.
2016-01-28 17:35:21 -05:00
Chris Meyers
13c01d91d5
Merge pull request #726 from chrismeyersfsu/openstack_#685
...
bump shade from 0.5.0 to 1.4
2016-01-27 14:07:14 -05:00
Chris Meyers
7afa14aabb
bump shade from 0.5.0 to 1.4
2016-01-27 11:50:57 -05:00
Chris Meyers
ddbef34095
Merge pull request #664 from chrismeyersfsu/#619-desired_state_passwords
...
testable playbook w/ state wanted pattern
2016-01-22 08:32:49 -05:00
Chris Meyers
fe91c73fd2
testable playbook w/ state wanted pattern
...
* remove complicated redis config assembly
* backup and restore discover credentials rather than requiring
* backup strategy no longer drops the db. This allows awx user to
restore without creatdb persmission.
* removed mongo from backup/restore
* added password change support for redis, pg, munin
* added update_password command and respective tests
* tests for munin, pg, redis password change
* unit tests for munin, redis password change
* tests for postgres host (ip and socket) change
* tests for postgres backup/restore on remote db
2016-01-22 08:17:18 -05:00
Chris Meyers
abecbb3ed1
tower api tooling
...
* flake8 ignore inventory plugins pulled from core
* update Dockerfile to include redis-server
2016-01-14 10:23:14 -05:00
Chris Meyers
4f20b6c861
Merge pull request #544 from chrismeyersfsu/feature-hubspot
...
update hubspot with tower release info
2016-01-07 15:19:52 -05:00
Chris Meyers
366dc9dad2
Merge pull request #540 from chrismeyersfsu/feature-installer_simple_easy
...
more testable installer
2016-01-07 13:28:29 -05:00
Chris Meyers
a4a077566a
add postgres socket support and tests
2016-01-06 12:35:10 -05:00
Chris Meyers
667d8a2667
fix the connection check fix
...
* Multiple exceptions in except should be a tuple. Otherwise, the second
parameter will be the error object. Apposed to the intent, for it to be
another exception in a list of exceptions.
2015-12-07 13:48:19 -05:00
Chris Meyers
78ac2ccb55
more robust check added to mongo db connection
...
Calling mongoengine (or pymongo) connect() after already calling
connect() resulting in getting the first connection (connection
pooling). This is bad if we are relying on connect() to determine if
mongo is up. Added executing a ping/pong command after the connect()
command to ensure mongo is still/really up.
2015-12-04 13:25:57 -05:00
Chris Meyers
fe9f502e91
flake8 fix
2015-12-04 10:49:04 -05:00
Chris Meyers
4a6bceaeb0
Merge pull request #504 from chrismeyersfsu/license-a_piece_of_my_soul
...
2.4.0 python lib licenses
2015-11-17 15:49:36 -05:00
Chris Meyers
128f516e81
added dm.xmlsec.bindin license
2015-11-17 15:48:59 -05:00
Chris Meyers
b37af76599
update requirements.txt README
2015-11-16 11:20:57 -05:00
Chris Meyers
46428e7674
add pyrad to requirements.txt
2015-11-16 11:15:08 -05:00
Chris Meyers
a1f9476f6d
added appdirs
2015-11-16 11:14:17 -05:00
Chris Meyers
5142732f59
Merge pull request #505 from chrismeyersfsu/fix-django-radius
...
bump django-radius to include new license
2015-11-16 10:05:49 -05:00
Chris Meyers
693a4412c8
bump django-radius to include new license
2015-11-16 09:59:41 -05:00
Chris Meyers
47dc5b62ba
add django-radius license
2015-11-16 09:26:02 -05:00
Chris Meyers
93076533c7
python openid
2015-11-13 15:29:49 -05:00
Chris Meyers
e92004c6c5
remove duplicate, wrongfully created, license files
2015-11-13 15:02:37 -05:00
Chris Meyers
0cd7746290
keep pre-existing license files
2015-11-13 15:01:05 -05:00
Chris Meyers
4f66949cd9
2.4.0 python lib licenses
2015-11-13 14:51:28 -05:00
Chris Meyers
9829d83839
Merge pull request #498 from chrismeyersfsu/fix-delete_when_license_expired
...
allow multi-org expired licenses to delete orgs
2015-11-13 10:12:44 -05:00
Chris Meyers
97c56d451e
allow multi-org expired licenses to delete orgs
2015-11-12 15:33:00 -05:00
Chris Meyers
c52c7c2f9f
Merge pull request #494 from chrismeyersfsu/feature-socket_tests
...
adds socket tests
2015-11-06 14:39:03 -05:00
Chris Meyers
e928aa40a5
Merge pull request #493 from chrismeyersfsu/feature-git_hook
...
added git pre commit hook to run flake8
2015-11-06 10:48:38 -05:00
Chris Meyers
3f4913f5ab
adds socket tests
2015-11-06 10:30:56 -05:00
Chris Meyers
014419f6ca
Merge pull request #492 from chrismeyersfsu/fix-ha_remove
...
fixes remove_instance error
2015-11-06 07:56:50 -05:00
Chris Meyers
0b4efa3fcd
added git pre commit hook to run flake8
2015-11-06 07:38:29 -05:00
Chris Meyers
dbbfde0d25
fixes remove_instance error
...
* Initialize object attribute to None so a later if check that depends
on that attributes succeeds. The attribute is related to unifying the
command line args to the *_instance command set.
* Added regression test case
2015-11-06 07:19:09 -05:00
Chris Meyers
5845730cf6
Merge pull request #485 from chrismeyersfsu/fix-openstack_jt
...
add openstack cred file to env for jt launch
2015-11-05 11:28:26 -05:00
Chris Meyers
a0f327e6c5
Merge pull request #484 from chrismeyersfsu/feature-stdout_format
...
add content encoding for json to stdout
2015-11-03 10:11:24 -05:00
Chris Meyers
0889f1ebe1
add content encoding for json to stdout
...
* content_format=ansi&content_encoding=base64 support added to
?format=json on stdout endpoint.
Currently the json `content` value is made into html.
This change will allow support for consuming STDOUT for display on the
terminal.
2015-11-03 09:38:49 -05:00
Chris Meyers
3a8044754c
add openstack cred file to env for jt launch
2015-11-03 09:37:38 -05:00
Chris Meyers
bcc2cb7914
Merge pull request #479 from chrismeyersfsu/fix-basic_auth_cookies
...
if basic auth in headers, don't use cookie token
2015-10-19 17:07:14 -04:00
Chris Meyers
1db26531a1
if basic auth in headers, don't use cookie token
...
* Allows for basic auth to be used when cookie token fails
2015-10-19 14:49:15 -04:00
Chris Meyers
f051c13374
list cust inv scripts with deleted orgs
2015-10-14 07:36:32 -05:00
Chris Meyers
4c14827f46
add placeholder for ansible callback plugin path var
2015-10-12 13:36:33 -05:00
Chris Meyers
1bcfc67a52
allow user to add ansible callback plugin paths to job runtime
2015-10-12 13:33:46 -05:00
Chris Meyers
4d7c02aae3
Merge pull request #471 from chrismeyersfsu/fix-consolidate_config
...
consolidate auth configs to session.py
2015-10-09 10:09:02 -04:00
Chris Meyers
dfdd567cbc
Merge pull request #470 from chrismeyersfsu/feature-license_enforce2
...
license enforcement
2015-10-09 10:08:51 -04:00
Chris Meyers
ad383ebccc
license enforcement
...
* add rebrand and auth_enterprise feature to license
* enforce auth_enterprise by not surfacing auth callback info at /auth
endpoint
2015-10-08 18:00:29 -04:00
Chris Meyers
83fe3282dc
add basic auth enabled / disabled setting
2015-10-07 11:36:08 -04:00
Chris Meyers
dcd731071f
pin django debug toolbar for django dep reason
...
* fix IPy dep
* new django debug toolbar released today, broke things. Pin to our old
version of django to ensure success.
2015-10-07 11:34:50 -04:00