trove/trove/tests/unittests/guestagent
Amrith Kumar a7115e22f7 secure oslo_messaging.rpc
This is an interim commit of the changes for secure
oslo-messaging.rpc. In this commit we introduce the code for
serializers that will encrypt all traffic being sent on
oslo_messaging.rpc.

Each guest communicates with the control plane with traffic encrypted
using a per-instance key. This includes both traffic from the
taskmanager to the guest as well as the guest and the conductor.

Per-instance keys are stored in the infrastructure database. These
keys are further encrypted in the database.

Tests that got annoyed have been placated.

Upgrade related changes have been proposed. If an instance has no key,
no encryption is performed. If the guest gets no key, it won't
encrypt, just pass through. When an instance is upgraded, keys are
added.

The output of the trove show command (and the show API) have been
augmented to show which instances are using secure RPC communication
** if the requestor is an administrator **.

A simple caching mechanism for encryption keys has been proposed; this
will avoid the frequent database access to get the encryption
keys. For Ocata, to handle the upgrade case, None as an encryption_key
is a valid one, and is therefore not cached. This is why we can't use
something like lrucache.

A brief writeup has been included in dev docs
(dev/secure_oslo_messaging.rst) which shows how the feature can be
used and would help the documentation team write up the documentation
for this capability.

Change-Id: Iad03f190c99039fd34cbfb0e6aade23de8654b28
DocImpact: see dev/secure_oslo_messaging.rst
Blueprint: secure-oslo-messaging-messages
Related: If0146f08b3c5ad49a277963fcc685f5192d92edb
Related: I04cb76793cbb8b7e404841e9bb864fda93d06504
2017-01-11 07:56:35 -05:00
..
__init__.py Remove copyright from empty files 2014-01-16 13:13:23 +04:00
test_agent_heartbeats_models.py Improve coverage in guestagent and backup models 2016-06-29 11:28:54 -05:00
test_api.py secure oslo_messaging.rpc 2017-01-11 07:56:35 -05:00
test_backups.py Implement full online backups for DB2 2016-09-13 20:35:01 +00:00
test_cassandra_manager.py Improve guestagent datastore models 2016-10-12 11:51:57 -04:00
test_configuration.py Fix Postgresql configuration test and guest-log 2016-09-20 17:26:05 +00:00
test_couchbase_manager.py Unittests patch 'CONF.datastore_manager' 2016-05-27 21:15:35 +00:00
test_couchdb_manager.py Unittests patch 'CONF.datastore_manager' 2016-05-27 21:15:35 +00:00
test_datastore_manager.py Unittests patch 'CONF.datastore_manager' 2016-05-27 21:15:35 +00:00
test_db2_manager.py Implement configuration management for DB2 2016-09-08 00:47:32 -07:00
test_dbaas.py Improve guestagent datastore models 2016-10-12 11:51:57 -04:00
test_galera_cluster_api.py secure oslo_messaging.rpc 2017-01-11 07:56:35 -05:00
test_galera_manager.py Implement MariaDB Clustering 2016-03-01 03:30:34 +00:00
test_guestagent_utils.py Merge "Fix user & database pagination in guests" 2016-07-29 05:44:13 +00:00
test_manager.py Add support for module ordering on apply 2016-12-26 05:35:39 +00:00
test_mariadb_manager.py Unittests patch 'CONF.datastore_manager' 2016-05-27 21:15:35 +00:00
test_models.py Added dangling mock detection to 'guestagent' 2015-06-04 15:01:10 +00:00
test_mongodb_cluster_manager.py Implement DBaaS Ceilometer Notifications 2016-02-27 00:16:28 +00:00
test_mongodb_manager.py Improve guestagent datastore models 2016-10-12 11:51:57 -04:00
test_mysql_manager.py Unittests patch 'CONF.datastore_manager' 2016-05-27 21:15:35 +00:00
test_operating_system.py Add log retrieval to Cassandra 2016-08-14 17:45:02 +00:00
test_pkg.py pkg: replace commands module with subprocess 2016-06-16 02:26:49 +02:00
test_query.py Use proper queries to update user properties 2016-07-18 17:31:26 -04:00
test_redis_manager.py Unittests patch 'CONF.datastore_manager' 2016-05-27 21:15:35 +00:00
test_service.py Implement dangling mock detector for unittests 2015-05-04 17:53:53 -04:00
test_vertica_api.py secure oslo_messaging.rpc 2017-01-11 07:56:35 -05:00
test_vertica_manager.py Unittests patch 'CONF.datastore_manager' 2016-05-27 21:15:35 +00:00
test_volume.py Replace pexpect with processutils in volume.py 2016-12-22 17:54:56 -08:00