Skip to content

Instantly share code, notes, and snippets.

@dtroyer
Created September 5, 2013 17:37
Show Gist options
  • Save dtroyer/6453466 to your computer and use it in GitHub Desktop.
Save dtroyer/6453466 to your computer and use it in GitHub Desktop.
dtroyer@dstack:/opt/stack/python-troveclient (master) $ cd /opt/stack/trove/; bin/trove-api --config-file=/etc/trove//trove.conf --debug 2>&1 | tee /var/log/trove/trove-api.log || echo "tr-api failed to start" | tee "/opt/stack/status/stack/tr-api.failure"
tee: /var/log/trove/trove-api.log: No such file or directory
2013-09-05 15:14:04.835 17330 INFO trove.db.sqlalchemy.session [-] Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'echo': False}
2013-09-05 15:14:05.011 17330 CRITICAL root [-] No section 'trove' (prefixed by 'app' or 'application' or 'composite' or 'composit' or 'pipeline' or 'filter-app') found in config /etc/trove/api-paste.ini
tr-api failed to start
dtroyer@dstack:/opt/stack/python-troveclient (master) $ cd /opt/stack/trove/; bin/trove-taskmanager --config-file=/etc/trove//trove-taskmanager.conf --debug 2>&1 | tee /var/log/trove/trove-taskmanager.log || echo "tr-tmgr failed to start" | tee "/opt/stack/status/stack/tr-tmgr.failure"
tee: /var/log/trove/trove-taskmanager.log: No such file or directory
2013-09-05 15:14:06.702 17448 INFO trove.db.sqlalchemy.session [-] Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'echo': False}
2013-09-05 15:14:07.216 17448 CRITICAL root [-] 'NoneType' object has no attribute 'rpartition'
tr-tmgr failed to start
2013-09-05 15:11:34 + trove_configure_keystone
2013-09-05 15:11:34 ++ trove_get_attribute_id tenant trove 1
2013-09-05 15:11:34 ++ get_field 1
2013-09-05 15:11:34 ++ read data
2013-09-05 15:11:34 ++ grep trove
2013-09-05 15:11:34 ++ keystone --endpoint http://10.130.50.72:35357/v2.0 --token cd0d1a03-b701-4f
cb-801a-8b4d0bc3d06e tenant-list
2013-09-05 15:11:35 Unable to establish connection to http://10.130.50.72:35357/v2.0/tenants
2013-09-05 15:11:35 + TROVE_TENANT=
2013-09-05 15:11:35 + '[' -z '' ']'
2013-09-05 15:11:35 ++ trove_create tenant trove
2013-09-05 15:11:35 ++ get_field 2
2013-09-05 15:11:35 ++ read data
2013-09-05 15:11:35 ++ grep ' id '
2013-09-05 15:11:35 ++ keystone --endpoint http://10.130.50.72:35357/v2.0 --token cd0d1a03-b701-4fcb-801a-8b4d0bc3d06e tenant-create --name trove
2013-09-05 15:11:35 Unable to establish connection to http://10.130.50.72:35357/v2.0/tenants
2013-09-05 15:11:35 + TROVE_TENANT=
2013-09-05 15:11:35 ++ trove_get_attribute_id role admin 1
2013-09-05 15:11:35 ++ get_field 1
2013-09-05 15:11:35 ++ read data
2013-09-05 15:11:35 ++ grep admin
2013-09-05 15:11:35 ++ keystone --endpoint http://10.130.50.72:35357/v2.0 --token cd0d1a03-b701-4fcb-801a-8b4d0bc3d06e role-list
2013-09-05 15:11:36 Unable to establish connection to http://10.130.50.72:35357/v2.0/OS-KSADM/roles
2013-09-05 15:11:36 + ADMIN_ROLE=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment