This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-07-23 20:40:32.018 DEBUG trove.openstack.common.service [-] ******************************************************************************** from (pid=921) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2229 | |
2015-07-23 20:40:32.044 DEBUG trove.common.rpc.service [-] Creating RPC server for service guestagent from (pid=921) start /home/ubuntu/trove/trove/common/rpc/service.py:54 | |
2015-07-23 20:40:32.889 DEBUG oslo_messaging._drivers.amqp [-] Pool creating new connection from (pid=921) create /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:103 | |
2015-07-23 20:40:33.138 INFO oslo_messaging._drivers.impl_rabbit [-] Connecting to AMQP server on 10.0.0.1:5672 | |
2015-07-23 20:40:34.591 INFO oslo_messaging._drivers.impl_rabbit [-] Connected to AMQP server on 10.0.0.1:5672 | |
2015-07-23 20:40:35.127 DEBUG trove.guestagent.datastore.service [req-c1f9ea81-5438-413d-b73d-f57b5c5e2758 b3e64229a159444cb567fc97b0e514bc f52eda5160fa4751ae8eb85928d13445] Casting set_status message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
ENV['VAGRANT_DEFAULT_PROVIDER'] = 'libvirt' | |
Vagrant.configure(2) do |config| | |
if Vagrant.has_plugin?("vagrant-cachier") | |
config.cache.scope = :machine | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@packer-ubuntu-1404-server-vagrant:~$ redstack int-tests --group=couchdb_supported | |
/opt/stack/trove-integration/scripts ~ | |
******************************************************************************* | |
Running Trove Integration Tests... | |
******************************************************************************* | |
python -B /opt/stack/trove-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=couchdb_supported | |
RUNNING TEST ARGS : ['/opt/stack/trove-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=couchdb_supported'] | |
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] | |
nose.plugins.manager: DEBUG: Configuring plugins | |
nose.plugins.manager: DEBUG: Plugins enabled: [<nose.plugins.capture.Capture object at 0x7f7a1d49e410>, <nose.plugins.logcapture.LogCapture object at 0x7f7a1d49e450>, <nose.plugins.deprecated.Deprecated object at 0x7f7a1d49e850>, <nose.plugins.skip.Skip object at 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@packer-ubuntu-1404-server-vagrant:~$ redstack int-tests --group=couchdb_supported --stop | |
/opt/stack/trove-integration/scripts ~ | |
******************************************************************************* | |
Running Trove Integration Tests... | |
******************************************************************************* | |
python -B /opt/stack/trove-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=couchdb_supported --stop | |
RUNNING TEST ARGS : ['/opt/stack/trove-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=couchdb_supported', '--stop'] | |
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] | |
nose.plugins.manager: DEBUG: Configuring plugins | |
nose.plugins.manager: DEBUG: Plugins enabled: [<nose.plugins.capture.Capture object at 0x7f7e90525c50>, <nose.plugins.logcapture.LogCapture object at 0x7f7e90525c90>, <nose.plugins.deprecated.Deprecated object at 0x7f7e904c00d0>, <nose.plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@packer-ubuntu-1404-server-vagrant:~$ redstack int-tests --group=couchdb_supported | |
/opt/stack/trove-integration/scripts ~ | |
******************************************************************************* | |
Running Trove Integration Tests... | |
******************************************************************************* | |
python -B /opt/stack/trove-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=couchdb_supported | |
RUNNING TEST ARGS : ['/opt/stack/trove-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=couchdb_supported'] | |
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] | |
nose.plugins.manager: DEBUG: Configuring plugins | |
nose.plugins.manager: DEBUG: Plugins enabled: [<nose.plugins.capture.Capture object at 0x7f63be67a3d0>, <nose.plugins.logcapture.LogCapture object at 0x7f63be67a410>, <nose.plugins.deprecated.Deprecated object at 0x7f63be67a810>, <nose.plugins.skip.Skip object at 0x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/trove/tests/scenario/helpers/couchdb_helper.py b/trove/tests/scenario/helpers/couchdb_helper.py | |
index 503bd16..ceaa8b4 100644 | |
--- a/trove/tests/scenario/helpers/couchdb_helper.py | |
+++ b/trove/tests/scenario/helpers/couchdb_helper.py | |
@@ -28,7 +28,13 @@ class CouchdbHelper(TestHelper): | |
self.database = 'foodb' | |
def create_client(self, host, *args, **kwargs): | |
- url = 'http://' + host + ':5984/' | |
+ username = kwargs.get("username") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@packer-ubuntu-1404-server-vagrant:~$ redstack int-tests --group=couchdb_supported | |
/opt/stack/trove-integration/scripts ~ | |
******************************************************************************* | |
Running Trove Integration Tests... | |
******************************************************************************* | |
python -B /opt/stack/trove-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=couchdb_supported | |
RUNNING TEST ARGS : ['/opt/stack/trove-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=couchdb_supported'] | |
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] | |
nose.plugins.manager: DEBUG: Configuring plugins | |
nose.plugins.manager: DEBUG: Plugins enabled: [<nose.plugins.capture.Capture object at 0x7ff74c5ef3d0>, <nose.plugins.logcapture.LogCapture object at 0x7ff74c5ef410>, <nose.plugins.deprecated.Deprecated object at 0x7ff74c5ef810>, <nose.plugins.skip.Skip object at 0x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DatabaseActionsGroup | |
Create an instance with initial databases. OK 13.60 | |
Create databases on an existing instance. OK 0.70 | |
List the created databases. FAIL | |
Ensure creating a database with blank specification fails. OK 0.12 | |
Ensure creating a database with blank name fails. OK 0.16 | |
Ensure creating an existing database fails. OK 0.11 | |
Delete the created databases. OK 2.69 | |
Delete non-existing databases. OK 0.80 | |
Ensure creating a system database fails. FAIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from trove.tests.scenario.helpers.test_helper import TestHelper | |
class CouchdbHelper(TestHelper): | |
def __init__(self, expected_override_name): | |
super(CouchdbHelper, self).__init__(expected_override_name) | |
def get_helper_credentials(self): | |
return {'name': 'lite', 'password': 'litepass', 'database': 'firstdb'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/trove/common/context.py b/trove/common/context.py | |
index 014aa50..c9dd1a6 100644 | |
--- a/trove/common/context.py | |
+++ b/trove/common/context.py | |
@@ -34,6 +34,7 @@ class TroveContext(context.RequestContext): | |
def __init__(self, **kwargs): | |
self.limit = kwargs.pop('limit', None) | |
self.marker = kwargs.pop('marker', None) | |
+ self.datastore = kwargs.pop('datastore', None) | |
super(TroveContext, self).__init__(**kwargs) |
NewerOlder