Tempest test server: host is unreachable

asked 2013-11-07 10:04:15 -0500

I159 gravatar image

updated 2013-11-07 10:17:30 -0500

I've got an issue with ServerActionsTestJSON test case in tempest. I run it on virtual machine with internet access. When I start test_reboot_server_hard test for example it raises a TimeOutError, which means the test server is unreachable. Here is example of a server object:

{   u'OS-DCF:diskConfig': u'MANUAL',
u'OS-EXT-AZ:availability_zone': u'nova',
u'OS-EXT-STS:power_state': 1,
u'OS-EXT-STS:task_state': None,
u'OS-EXT-STS:vm_state': u'active',
u'OS-SRV-USG:launched_at': u'2013-11-07T15:38:52.000000',
u'OS-SRV-USG:terminated_at': None,
u'accessIPv4': u'',
u'accessIPv6': u'',
u'addresses': {   u'private': [   {   u'OS-EXT-IPS-MAC:mac_addr': u'fa:16:3e:c1:2e:69',
                                      u'OS-EXT-IPS:type': u'fixed',
                                      u'addr': u'10.0.0.4',
                                      u'version': 4}]},
u'config_drive': u'',
u'created': u'2013-11-07T15:38:48Z',
u'flavor': {   u'id': u'42',
               u'links': [   {   u'href': u'http://172.18.194.246:8774/a765bf1f665e4b5db6faad1f070f3bd3/flavors/42',
                                 u'rel': u'bookmark'}]},
u'hostId': u'e2136786ab9301007344d123c29ebedfff95a5058c46ab83c47b650a',
u'id': u'0102bf24-3759-4372-8ad9-203c566c99c4',
u'image': {   u'id': u'347dcd5e-77c6-45c8-aa14-4349491932fc',
              u'links': [   {   u'href': u'http://172.18.194.246:8774/a765bf1f665e4b5db6faad1f070f3bd3/images/347dcd5e-77c6-45c8-aa14-4349491932fc',
                                u'rel': u'bookmark'}]},
u'key_name': None,
u'links': [   {   u'href': u'http://172.18.194.246:8774/v2/a765bf1f665e4b5db6faad1f070f3bd3/servers/0102bf24-3759-4372-8ad9-203c566c99c4',
                  u'rel': u'self'},
              {   u'href': u'http://172.18.194.246:8774/a765bf1f665e4b5db6faad1f070f3bd3/servers/0102bf24-3759-4372-8ad9-203c566c99c4',
                  u'rel': u'bookmark'}],
u'metadata': {   },
u'name': u'ServerActionsTestJSON-instance1044992434',
u'os-extended-volumes:volumes_attached': [],
u'progress': 0,
u'security_groups': [{   u'name': u'default'}],
u'status': u'ACTIVE',
u'tenant_id': u'a765bf1f665e4b5db6faad1f070f3bd3',
u'updated': u'2013-11-07T15:38:52Z',
u'user_id': u'893050ca45fa4060a5b5cbad8657fa37'}

10.0.0.4 is unreachable as I can't ping it from my virtual machine. virsh list returning active instance when the test paused by pdb.

Is it a bug? Or I'm doing something wrong? Need some tips...

edit retag flag offensive close merge delete