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
$ trove user-list 64c8f37d-a126-4e8d-bfb8-23cb44432a99 ERROR: An error occurred communicating with the guest: Remote error: TroveError Not supported [u'Traceback (most recent call last):\n', u' File "/home/stack/trove/trove/openstack/common/rpc/amqp.py", line 440, in _process_data\n **args)\n', u' File "/home/stack/trove/trove/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n result = getattr(proxyobj, method)(ctxt, **kwargs)\n', u' File "/home/stack/trove/trove/guestagent/datastore/mongodb/manager.py", line 130, in list_users\n raise exception.TroveError(ERROR_MSG)\n', u'TroveError: Not supported\n'].. |
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
import hmac | |
import struct | |
import hashlib | |
import binascii | |
def force_bytes(s, encoding='utf-8', strings_only=False, errors='strict'): | |
""" | |
Similar to smart_bytes, except that lazy instances are resolved to | |
strings, rather than kept as lazy objects. |
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
File "/opt/stack/trove/trove/taskmanager/models.py", line 481, in _build_volume_info | |
volume_info = self._create_volume(volume_size) | |
File "/opt/stack/trove/trove/taskmanager/models.py", line 510, in _create_volume | |
volume_size, name="mysql-%s" % self.id, description=volume_desc) | |
File "/opt/stack/python-cinderclient/cinderclient/v2/volumes.py", line 185, in create | |
return self._create('/volumes', body, 'volume') | |
File "/opt/stack/python-cinderclient/cinderclient/base.py", line 153, in _create | |
resp, body = self.api.client.post(url, body=body) | |
File "/opt/stack/python-cinderclient/cinderclient/client.py", line 209, in post | |
return self._cs_request(url, 'POST', **kwargs) |
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
#!/bin/bash | |
passwd root <<_EOF_ | |
root | |
root | |
_EOF_ | |
rm -fr /etc/mysql | |
iptables -F | |
apt-get update | |
cd /tmp | |
wget http://mirror.netcologne.de/apache.org/couchdb/source/1.5.0/apache-couchdb-1.5.0.tar.gz |
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
#!/bin/bash | |
passwd root <<_EOF_ | |
root | |
root | |
_EOF_ | |
rm -fr /etc/mysql | |
iptables -F | |
apt-get update | |
apt-get -y install build-essential m4 libncurses5-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu1-mesa-dev fop xsltproc default-jdk |
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
FS structure: | |
/template/ | |
---------/datastore/ | |
-------------------default.config.template | |
-------------------heat.template | |
-------------------override.config.template | |
-------------------/version_a/ | |
---------------------------config.template | |
-------------------/version_b/ |
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
Action items: | |
- Tempest tests improvements; | |
- Separating agent code from codebase (https://blueprints.launchpad.net/trove/+spec/separate-guestagent-related-code); | |
- Replication/Clustering: | |
- Contract(nothing new); | |
- URL mapping (cluster, replication or /{tenant_id}/instances/). | |
- Point in time recovery; | |
- Guest transport. | |
- Guest versioning. Update or upgrade. |
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
[DEFAULT] | |
... | |
[mysql] | |
... | |
[redis] |
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
#!/bin/bash | |
passwd root <<_EOF_ | |
root | |
root | |
_EOF_ | |
iptables -F | |
apt-get update | |
apt-get install curl |
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
[DEFAULT] | |
verbose = True | |
debug = True | |
bind_host = 0.0.0.0 | |
bind_port = 8778 | |
rabbit_host = 192.168.121.1 | |
db_api_implementation = 'trove.db.sqlalchemy.api' | |
api_extensions_path = trove/extensions/routes | |
nova_proxy_admin_user = admin | |
nova_proxy_admin_pass = 14d2771debb24e62 |
OlderNewer