Comment 5 for bug 1384743

Revision history for this message
Nastooh (navesta) wrote :

Did “pip install sahara –upgrade” to get the latest Sahara, and while I don’t see any problems during node template creation; however, during cluster instantiation, similar problem is observed:

2014-12-08 22:50:26.473 4724 INFO sahara.cli.sahara_all [-] 10.0.0.86 - - [08/Dec/2014 22:50:26] "GET /v1.1/926c31c887f441f6a4e4b8031b8cc528/clusters/1fa6aa6b-52ab-4836-8771-accb4d183fdb HTTP/1.1" 200 2338 0.318082
2014-12-08 22:50:26.643 4724 INFO sahara.utils.general [-] Cluster status has been changed: id=1fa6aa6b-52ab-4836-8771-accb4d183fdb, New status=Spawning
2014-12-08 22:50:27.936 4724 ERROR sahara.service.ops [-] Error during operating cluster 'tst' (reason: Security group 2 not found for project 926c31c887f441f6a4e4b8031b8cc528. (HTTP 400))
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops Traceback (most recent call last):
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/local/lib/python2.7/dist-packages/sahara/service/ops.py", line 113, in wrapper
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops f(cluster_id, *args, **kwds)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/local/lib/python2.7/dist-packages/sahara/service/ops.py", line 198, in _provision_cluster
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops INFRA.create_cluster(cluster)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/local/lib/python2.7/dist-packages/sahara/service/direct_engine.py", line 51, in create_cluster
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops self._create_instances(cluster)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/local/lib/python2.7/dist-packages/sahara/service/direct_engine.py", line 168, in _create_instances
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops self._run_instance(cluster, node_group, idx, aa_group=aa_group)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/local/lib/python2.7/dist-packages/sahara/service/direct_engine.py", line 319, in _run_instance
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops **nova_kwargs)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 883, in create
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops **boot_kwargs)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 546, in _boot
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops return_raw=return_raw, **kwargs)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 100, in _create
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops _resp, body = self.api.client.post(url, body=body)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 490, in post
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops return self._cs_request(url, 'POST', **kwargs)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 465, in _cs_request
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops resp, body = self._time_request(url, method, **kwargs)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 439, in _time_request
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops resp, body = self.request(url, method, **kwargs)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 433, in request
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops raise exceptions.from_response(resp, body, url, method)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops BadRequest: Security group 2 not found for project 926c31c887f441f6a4e4b8031b8cc528. (HTTP 400)
2014-12-08 22:50:27.936 4724 TRACE sahara.service.ops
2014-12-08 22:50:28.114 4724 INFO sahara.service.direct_engine [-] Cluster 'tst' creation rollback (reason: Security group 2 not found for project 926c31c887f441f6a4e4b8031b8cc528. (HTTP 400))
2014-12-08 22:50:28.743 4724 INFO sahara.utils.general [-] Cluster status has been changed: id=1fa6aa6b-52ab-4836-8771-accb4d183fdb, New status=Error
2014-12-08 22:50:29.032 4724 DEBUG keystonemiddleware.auth_token [-] Removing headers from request environment: X-Service-Catalog,X-Identity-Status,X-Roles,X-Service-Roles,X-Domain-Name,X-Service-Domain-Name,X-Project-Id,X-Service-Project-Id,X-Project-Domain-Name,X-Service-Project-Domain-Name,X-User-Id,X-Service-User-Id,X-User-Name,X-Service-User-Name,X-Project-Name,X-Service-Project-Name,X-User-Domain-Id,X-Service-User-Domain-Id,X-Domain-Id,X-Service-Domain-Id,X-User-Domain-Name,X-Service-User-Domain-Name,X-Project-Domain-Id,X-Service-Project-Domain-Id,X-Role,X-User,X-Tenant-Name,X-Tenant-Id,X-Tenant _remove_auth_headers /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token.py:780