Public bug reported: If Neutron is used in OpenStack and created server is checked in javelin then check fails because of it's designed to work with nova network only:
2014-08-11 11:37:32.966 | 2014-08-11 11:37:32.966 563 DEBUG tempest.cmd.javelin [-] Created client for user {'id': u'b9daacf50a03427a973ddff1a8140abe', 'tenant_id': u'c45c6aed5cb64937b8cce399b2ca40c4', 'name': 'javelin', 'tenant': 'javelin', 'pass': 'gungnir'} client_for_user /opt/stack/old/tempest/tempest/cmd/javelin.py:81 2014-08-11 11:37:33.103 | 2014-08-11 11:37:33.103 563 INFO tempest.common.rest_client [-] Request (main): 200 POST http://127.0.0.1:5000/v2.0/tokens 2014-08-11 11:37:33.177 | 2014-08-11 11:37:33.176 563 INFO tempest.common.rest_client [req-105bd99d-7db6-4332-a45c-36cca487ca05 None] Request (main): 200 GET http://127.0.0.1:8774/v2/c45c6aed5cb64937b8cce399b2ca40c4/servers 0.073s 2014-08-11 11:37:33.318 | 2014-08-11 11:37:33.318 563 INFO tempest.common.rest_client [req-ddb4937a-92da-4e1a-90f0-037dab9f0078 None] Request (main): 200 GET http://127.0.0.1:8774/v2/c45c6aed5cb64937b8cce399b2ca40c4/servers/a35df94a-108c-498e-bdb6-b2d7d03438f7 0.138s 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 CRITICAL tempest [-] KeyError: 'private' 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest Traceback (most recent call last): 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest File "/usr/local/bin/javelin2", line 10, in 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest sys.exit(main()) 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest File "/opt/stack/old/tempest/tempest/cmd/javelin.py", line 575, in main 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest checker.check() 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest File "/opt/stack/old/tempest/tempest/cmd/javelin.py", line 195, in check 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest self.check_servers() 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest File "/opt/stack/old/tempest/tempest/cmd/javelin.py", line 246, in check_servers 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest addr = found['addresses']['private'][0]['addr'] 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest KeyError: 'private' 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest Also if private address would be obtained correctly it won't be pingable with following ping attempts because it needs to be pinged from correct namespace. ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1355879 Title: javelin check_server is not compatible with Neutron Status in OpenStack Neutron (virtual network service): New Bug description: If Neutron is used in OpenStack and created server is checked in javelin then check fails because of it's designed to work with nova network only: 2014-08-11 11:37:32.966 | 2014-08-11 11:37:32.966 563 DEBUG tempest.cmd.javelin [-] Created client for user {'id': u'b9daacf50a03427a973ddff1a8140abe', 'tenant_id': u'c45c6aed5cb64937b8cce399b2ca40c4', 'name': 'javelin', 'tenant': 'javelin', 'pass': 'gungnir'} client_for_user /opt/stack/old/tempest/tempest/cmd/javelin.py:81 2014-08-11 11:37:33.103 | 2014-08-11 11:37:33.103 563 INFO tempest.common.rest_client [-] Request (main): 200 POST http://127.0.0.1:5000/v2.0/tokens 2014-08-11 11:37:33.177 | 2014-08-11 11:37:33.176 563 INFO tempest.common.rest_client [req-105bd99d-7db6-4332-a45c-36cca487ca05 None] Request (main): 200 GET http://127.0.0.1:8774/v2/c45c6aed5cb64937b8cce399b2ca40c4/servers 0.073s 2014-08-11 11:37:33.318 | 2014-08-11 11:37:33.318 563 INFO tempest.common.rest_client [req-ddb4937a-92da-4e1a-90f0-037dab9f0078 None] Request (main): 200 GET http://127.0.0.1:8774/v2/c45c6aed5cb64937b8cce399b2ca40c4/servers/a35df94a-108c-498e-bdb6-b2d7d03438f7 0.138s 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 CRITICAL tempest [-] KeyError: 'private' 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest Traceback (most recent call last): 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest File "/usr/local/bin/javelin2", line 10, in 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest sys.exit(main()) 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest File "/opt/stack/old/tempest/tempest/cmd/javelin.py", line 575, in main 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest checker.check() 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest File "/opt/stack/old/tempest/tempest/cmd/javelin.py", line 195, in check 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest self.check_servers() 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest File "/opt/stack/old/tempest/tempest/cmd/javelin.py", line 246, in check_servers 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest addr = found['addresses']['private'][0]['addr'] 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest KeyError: 'private' 2014-08-11 11:37:33.331 | 2014-08-11 11:37:33.330 563 TRACE tempest Also if private address would be obtained correctly it won't be pingable with following ping attempts because it needs to be pinged from correct namespace. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1355879/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp