trove/trove/tests/unittests/guestagent
Matt Van Dijk 0e87bb5ecf Add better input checking for MongoDB
A user-create on the Trove admin user "admin.os_admin" can change the
password of that user, rendering the guest agent useless (the password
it tries to use no longer being valid).

A user-create can also be used to change the password of existing users.

The guest does no validation of inputs for various user-* commands.

None of the above should be allowed.

The fix is to skip any names on the ignored user's list and add more
checking for existing users in codepaths.

Tests are also updated as needed.

Change-Id: Icae98f57f7beda23e52b7e59a1a386c03ff20cf8
Closes-bug: 1517622
2015-11-23 09:59:23 -05:00
..
__init__.py Remove copyright from empty files 2014-01-16 13:13:23 +04:00
test_agent_heartbeats_models.py Correct errors resulting in "No handlers ..." error message 2015-11-10 15:42:22 -05:00
test_api.py Correct errors resulting in "No handlers ..." error message 2015-11-10 15:42:22 -05:00
test_backups.py Defer revision dir initialization in GA 2015-11-05 05:15:13 -05:00
test_cassandra_manager.py Fixes hacking rules 2015-05-29 07:27:59 +00:00
test_configuration.py Guestagent configuration tests mock chown/chmod 2015-11-11 12:06:26 -05:00
test_couchbase_manager.py Correct errors resulting in "No handlers ..." error message 2015-11-10 15:42:22 -05:00
test_couchdb_manager.py Fixes hacking rules 2015-05-29 07:27:59 +00:00
test_db2_manager.py Fixes hacking rules 2015-05-29 07:27:59 +00:00
test_dbaas.py Refactor the datastore manager classes (more) 2015-11-16 11:51:10 -05:00
test_dbmodels.py Added dangling mock detection to 'guestagent' 2015-06-04 15:01:10 +00:00
test_guestagent_utils.py Replace assertEqual(None, *) with assertIsNone in tests 2015-10-23 10:36:06 -04:00
test_models.py Added dangling mock detection to 'guestagent' 2015-06-04 15:01:10 +00:00
test_mongodb_cluster_manager.py Defer revision dir initialization in GA 2015-11-05 05:15:13 -05:00
test_mongodb_manager.py Add better input checking for MongoDB 2015-11-23 09:59:23 -05:00
test_mysql_manager.py Refactor the datastore manager classes (more) 2015-11-16 11:51:10 -05:00
test_operating_system.py Fix tox py27 error 2015-11-12 17:37:47 -05:00
test_pkg.py Correct errors resulting in "No handlers ..." error message 2015-11-10 15:42:22 -05:00
test_pxc_api.py Correct errors resulting in "No handlers ..." error message 2015-11-10 15:42:22 -05:00
test_pxc_manager.py Refactor the datastore manager classes (more) 2015-11-16 11:51:10 -05:00
test_query.py Added dangling mock detection to 'guestagent' 2015-06-04 15:01:10 +00:00
test_redis_manager.py Refactor the datastore manager classes (more) 2015-11-16 11:51:10 -05:00
test_service.py Implement dangling mock detector for unittests 2015-05-04 17:53:53 -04:00
test_vertica_api.py Correct errors resulting in "No handlers ..." error message 2015-11-10 15:42:22 -05:00
test_vertica_manager.py Correct errors resulting in "No handlers ..." error message 2015-11-10 15:42:22 -05:00
test_volume.py Correct errors resulting in "No handlers ..." error message 2015-11-10 15:42:22 -05:00