Skip to content

Instantly share code, notes, and snippets.

View Ch00k's full-sized avatar
🪒
shaving yaks

Andrii Yurchuk Ch00k

🪒
shaving yaks
View GitHub Profile
[ruby-2.1.0] ~ $ telnet in-v3.mailjet.com 587
Trying 5.135.135.65...
Connected to in-v3.mailjet.com.
Escape character is '^]'.
220 srv26.mailjet.com ESMTP Mailjet
auth login
334 VXNlcm5hbWU6
<username bas64>
334 UGFzc3dvcmQ6
<password base64>
2014-04-29 17:38:46.276 INFO eventlet.wsgi.server [-] 95.69.200.218 - - [29/Apr/2014 17:38:46] "GET /v3/customers HTTP/1.1" 401 333 0.006713
2014-04-29 17:39:20.179 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. from (pid=14664) process_request /opt/stack/keystone/keystone/middleware/core.py:271
2014-04-29 17:39:20.181 INFO eventlet.wsgi.server [-] 95.69.200.218 - - [29/Apr/2014 17:39:20] "PUT /v3/customers HTTP/1.1" 404 247 0.002481
2014-04-29 17:41:51.025 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. from (pid=14664) process_request /opt/stack/keystone/keystone/middleware/core.py:271
2014-04-29 17:41:51.027 INFO eventlet.wsgi.server [-] 95.69.200.218 - - [29/Apr/2014 17:41:51] "HEAD /v3/customers HTTP/1.1" 404 154 0.002142
2014-04-29 17:42:43.220 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. from (pid=14664) process_request /opt/stack/keystone
def assertCodeAndMessage(self, code, message, response):
self.assertEqual(code, int(response[0]['status'])) and \
self.assertIn(response[1]['error']['message'], message)
mysql> describe instances;
+--------------------------+-----------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------------------+-----------------------+------+-----+---------+----------------+
| created_at | datetime | YES | | NULL | |
| updated_at | datetime | YES | | NULL | |
| deleted_at | datetime | YES | | NULL | |
{
"NovaServers.create_server_create_volume_attach_volume": [
{
"args": {
"flavor_id": "9838a62a-873f-48d6-ac04-c4c09cb12ba2",
"image_id": "b93188e8-f69d-40e0-a18b-3a1c3bca32c2"
},
"runner": {
"type": "continuous",
"times": 1,
diff --git a/rally/benchmark/scenarios/nova/servers.py b/rally/benchmark/scenarios/nova/servers.py
index 6af8316..c51d902 100644
--- a/rally/benchmark/scenarios/nova/servers.py
+++ b/rally/benchmark/scenarios/nova/servers.py
@@ -35,6 +35,14 @@ class NovaServers(utils.NovaScenario,
def __init__(self, *args, **kwargs):
super(NovaServers, self).__init__(*args, **kwargs)
+ def create_server_create_volume_attach_volume(self, image_id, flavor_id,
+ min_sleep=0, max_sleep=0,
Running setup.py install for python-keystoneclient
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/ay/v_envs/rally/build/python-keystoneclient/setup.py", line 21, in <module>
d2to1=True)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/Users/ay/v_envs/rally/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/Users/ay/v_envs/rally/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
import re
macs = 'C4544423F6D7'\
'C4544423F74A'\
'C4544423F6E1'\
'C454441E3602'\
'C454441E3554'\
'C454441E37D3'\
'C454441E37A9'\
'C454441E370A'\
AmbiguousEndpoints: AmbiguousEndpoints: [
{
u'url': u'http: //192.168.0.1: 8776/v1/2117b2035e5446b99e24f54aff635605',
u'region': u'RegionOne',
u'legacy_endpoint_id': u'ceeb60b4894447d39e01f4ba2873c5e5',
'serviceName': None,
u'interface': u'admin',
u'id': u'133d8c3025e5460d85ff7e2736e08409'
},
{
ERROR: cliff.app Conflict occurred attempting to store project. no such table: project (HTTP 409)
+ ADMIN_TENANT=
++ openstack user create admin --project '' --email admin@example.com --password 123qwe
++ get_field 2
++ grep ' id '
++ read data
ERROR: cliff.app An unexpected error prevented the server from fulfilling your request. (OperationalError) no such table: domain u'SELECT domain.id AS domain_id, domain.name AS domain_name, domain.enabled AS domain_enabled, domain.extra AS domain_extra \nFROM domain \nWHERE domain.id = ?' ('default',) (HTTP 500)
+ ADMIN_USER=