Skip to content

Instantly share code, notes, and snippets.

-------------------- >> begin captured logging << --------------------
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.199.222:8779/v1.0/fae985d970114bf7913b1e08e51fdd62/instances -X POST -H "X-Auth-Project-Id: alt_demo" -H "User-Agent: python-troveclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 9ab10fe2d8e24e4480abee1ee6c0e46e"
troveclient.compat.client: DEBUG: REQ BODY: {"instance": {"users": [{"password": "litepass", "name": "lite", "databases": [{"name": "firstdb"}]}], "availability_zone": "nova", "flavorRef": "https://192.168.199.222:8779/v1.0/fae985d970114bf7913b1e08e51fdd62/flavors/10", "volume": {"size": 1}, "databases": [{"collate": "latin2_general_ci", "name": "firstdb", "character_set": "latin2"}, {"name": "db2"}], "datastore": {"type": "mysql"}, "name": "TEST_2014-02-05 20:54:01.767833"}}
troveclient.compat.client: DEBUG: RESP:{'date': 'Thu, 06 Feb 2014 02:54:02 GMT', 'status': '200', 'content-length': '799', 'content-type': 'application/
vagrant@trove:~/trove-integration/scripts$ FAKE_MODE=True ./redstack int-tests --group=dbaas.api.configurations --stop
*******************************************************************************
Running Trove Integration Tests...
*******************************************************************************
python -B /home/vagrant/trove-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=dbaas.api.configurations --stop
RUNNING TEST ARGS : ['/home/vagrant/trove-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=dbaas.api.configurations', '--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 0x4739810>, <nose.plugins.logcapture.LogCapture object at 0x4739850>, <nose.plugins.deprecated.Deprecated object at 0x4739c50>, <nose.plugins.skip.Skip
datastore_parameters = Table(
'datastore_parameters',
meta,
Column('id', String(36), primary_key=True, nullable=False),
Column('name', String(64), nullable=False),
Column('datastore_version_id', String(64),
primary_key=True, nullable=False),
Column('restart_required', Boolean(), nullable=False, default=False),
Column('max', String(36)),
Column('min', String(36)),
vagrant@precise64:~/trove-integration/scripts$ trove-manage
OpenStack Trove version: 2012.1-dev
/usr/local/bin/trove-manage category action [<args>]
Available categories:
datastore
db
vagrant@precise64:~/trove-integration/scripts$ trove-manage datastore
diff --git a/trove/common/configurations.py b/trove/common/configurations.py
index ea2b28f..87111c1 100644
--- a/trove/common/configurations.py
+++ b/trove/common/configurations.py
@@ -78,6 +78,12 @@ class MySQLConfParser(object):
continue
elif line_clean.startswith(':'):
continue
+ # python 2.6 configparser doesnt like params without values
+ elif line_clean.startswith('[') and line_clean.endswith(']'):
{
"color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme",
"ensure_newline_at_eof_on_save": true,
"flatland_sidebar_tree_xsmall": true,
"flatland_square_tabs": true,
"font_size": 11.0,
"ignored_packages":
[
"Vintage"
],
+ [[ 0 -ne 0 ]]
+ IMAGE=/home/vagrant/devstack/files/cirros-0.3.1-x86_64-uec.tar.gz
+ [[ http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz =~ openvz ]]
+ [[ http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz =~ \.vmdk ]]
+ [[ http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz =~ \.vhd\.tgz ]]
+ [[ http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz =~ \.xen-raw\.tgz ]]
+ KERNEL=
+ RAMDISK=
+ DISK_FORMAT=
+ CONTAINER_FORMAT=
2014-04-28 21:45:11.967 ERROR keystoneclient.common.cms [-] Signing error: Error opening signer certificate /etc/keystone/ssl/certs/signing_cert.pem
140722309220000:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/keystone/ssl/certs/signing_cert.pem','r')
140722309220000:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
unable to load certificate
2014-04-28 21:45:11.968 ERROR keystone.common.wsgi [-] Command 'openssl' returned non-zero exit status 3
2014-04-28 21:45:11.968 TRACE keystone.common.wsgi Traceback (most recent call last):
2014-04-28 21:45:11.968 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/common/wsgi.py", line 207, in __call__
2014-04-28 21:45:11.968 TRACE keystone.common.wsgi result = method(context, **params)
2014-04-28 21:45:11.968 TRACE keystone.common.wsgi File "/opt/stack/keystone/keystone/common/controller.py", line 152, in inner
diff --git a/scripts/files/elements/ubuntu-percona/pre-install.d/10-percona-apt-key b/scripts/files/elements/ubuntu-pe
index 7db291c..9133c37 100755
--- a/scripts/files/elements/ubuntu-percona/pre-install.d/10-percona-apt-key
+++ b/scripts/files/elements/ubuntu-percona/pre-install.d/10-percona-apt-key
@@ -14,7 +14,7 @@ if [ ! -e /home/${GUEST_USERNAME}/.gnupg ]; then
mkdir -p /home/${GUEST_USERNAME}/.gnupg
fi
-apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
+apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-keys 1C4CBDCDCD2EFD2A
diff --git a/scripts/files/elements/ubuntu-percona/pre-install.d/10-percona-apt-key b/scripts/files/elements/ubuntu-pe
index 7db291c..9133c37 100755
--- a/scripts/files/elements/ubuntu-percona/pre-install.d/10-percona-apt-key
+++ b/scripts/files/elements/ubuntu-percona/pre-install.d/10-percona-apt-key
@@ -14,7 +14,7 @@ if [ ! -e /home/${GUEST_USERNAME}/.gnupg ]; then
mkdir -p /home/${GUEST_USERNAME}/.gnupg
fi
-apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
+apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-keys 1C4CBDCDCD2EFD2A