Skip to content

Instantly share code, notes, and snippets.

@dizz
Created February 4, 2015 07:52
Show Gist options
  • Save dizz/dfdf9cf39ae3d6632d7e to your computer and use it in GitHub Desktop.
Save dizz/dfdf9cf39ae3d6632d7e to your computer and use it in GitHub Desktop.
DSS creation (so log)
[dsssrvinst7ce164b111e815a6-mcn.apps.cloudcomplab.ch 54d14442ac3c30ce7500000e]\> tail -f app-root/logs/python.log
[Tue Feb 03 21:57:41 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:openshift_t:s0:c5,c950
[Tue Feb 03 21:57:41 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Feb 03 21:57:41 2015] [notice] Digest: done
[Tue Feb 03 21:57:41 2015] [notice] Apache/2.2.15 (Unix) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Tue Feb 03 21:57:45 2015] [notice] caught SIGWINCH, shutting down gracefully
- - - [03/Feb/2015:21:57:45 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (CentOS) (internal dummy connection)"
[Tue Feb 03 21:58:58 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:openshift_t:s0:c5,c950
[Tue Feb 03 21:58:58 2015] [notice] Digest: generating secret for digest authentication ...
[Tue Feb 03 21:58:58 2015] [notice] Digest: done
[Tue Feb 03 21:58:58 2015] [notice] Apache/2.2.15 (Unix) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Tue Feb 03 21:59:00 2015] [error] About to get the deployer with token :440417a0c5104780ba57a893ce8ea894 Tenant name : STT-DSS
[Tue Feb 03 21:59:00 2015] [error] Got the deployer
[Tue Feb 03 21:59:00 2015] [error] MainThread \t DEBUG 02/03/2015 09:59:00 PM: \tStarting SOD thread...
[Tue Feb 03 21:59:00 2015] [error] Thread-2 \t DEBUG 02/03/2015 09:59:00 PM: \tWaiting for deploy and provisioning to finish
[Tue Feb 03 21:59:00 2015] [error] MainThread \t DEBUG 02/03/2015 09:59:00 PM: \tExecuting design logic
[Tue Feb 03 21:59:00 2015] [error] Thread-2 \t DEBUG 02/03/2015 09:59:00 PM: \tStarting runtime logic...
54.154.211.143 - - [03/Feb/2015:21:58:59 +0000] "PUT /orchestrator/default HTTP/1.1" 201 2 "-" "python-requests/2.2.1 CPython/2.7.6 Linux/3.13.0-36-generic"
[Tue Feb 03 21:59:00 2015] [error] Dummy-4 \t DEBUG 02/03/2015 09:59:00 PM: \tExecuting deployment logic
54.154.211.143 - - [03/Feb/2015:21:59:00 +0000] "POST /orchestrator/default?action=deploy HTTP/1.1" 200 760 "-" "python-requests/2.2.1 CPython/2.7.6 Linux/3.13.0-36-generic"
[Tue Feb 03 21:59:02 2015] [error] MainThread \t DEBUG 02/03/2015 09:59:02 PM: \tDSS SO provision - attributes
54.154.211.143 - - [03/Feb/2015:21:59:02 +0000] "POST /orchestrator/default?action=provision HTTP/1.1" 200 641 "-" "python-requests/2.2.1 CPython/2.7.6 Linux/3.13.0-36-generic"
[Tue Feb 03 22:01:48 2015] [error] Dummy-4 \t DEBUG 02/03/2015 10:01:48 PM: \tExecuting state retrieval logic
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] mod_wsgi (pid=3235): Exception occurred processing WSGI script '/var/lib/openshift/54d14442ac3c30ce7500000e/app-root/runtime/repo/wsgi/application'.
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] Traceback (most recent call last):
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] File "/var/lib/openshift/54d14442ac3c30ce7500000e/python/virtenv/lib/python2.7/site-packages/sdk/mcn/occi_ext.py", line 78, in __call__
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] tenant_name=environ['HTTP_X_TENANT_NAME'])
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] File "/var/lib/openshift/54d14442ac3c30ce7500000e/python/virtenv/lib/python2.7/site-packages/occi/wsgi.py", line 232, in _call_occi
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] status, headers, body = handler.handle(mtd, key)
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] File "/var/lib/openshift/54d14442ac3c30ce7500000e/python/virtenv/lib/python2.7/site-packages/occi/handlers.py", line 69, in handle
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] return getattr(self, str.lower(method))(key)
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] File "/var/lib/openshift/54d14442ac3c30ce7500000e/python/virtenv/lib/python2.7/site-packages/occi/handlers.py", line 218, in get
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] return self.render_entity(entity)
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] File "/var/lib/openshift/54d14442ac3c30ce7500000e/python/virtenv/lib/python2.7/site-packages/occi/handlers.py", line 173, in render_entity
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] headers, body = rendering.from_entity(entity)
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] File "/var/lib/openshift/54d14442ac3c30ce7500000e/python/virtenv/lib/python2.7/site-packages/occi/protocol/occi_rendering.py", line 365, in from_entity
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] data = _from_entity(entity, self.registry)
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] File "/var/lib/openshift/54d14442ac3c30ce7500000e/python/virtenv/lib/python2.7/site-packages/occi/protocol/occi_rendering.py", line 170, in _from_entity
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] + entity.attributes[attr] + '"')
[Tue Feb 03 22:01:49 2015] [error] [client 127.11.209.1] TypeError: coercing to Unicode: need string or buffer, dict found
54.154.211.143 - - [03/Feb/2015:22:01:48 +0000] "GET /orchestrator/default HTTP/1.1" 500 651 "-" "python-requests/2.2.1 CPython/2.7.6 Linux/3.13.0-36-generic"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment