Comment 2 for bug 1461036

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

The same problem with glance, when we tried to get image list after l3 failover on one of the node

Scenario:
Check l3-agent rescheduling after reset non-primary controller

        Scenario:
            1. Revert snapshot with neutron cluster
            2. Create an instance with a key pair
            3. Manually reschedule router from primary controller
               to another one
            4. Reset controller with l3-agent
            5. Check l3-agent was rescheduled
            6. Check network connectivity from instance via
               dhcp namespace
            7. Run OSTF

On step 6 when we retrieve image list we recieve 400 bad error:

ERROR: Check l3-agent rescheduling after reset non-primary controller
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/6.1.system_test.centos.ha_neutron_destructive/fuelweb_test/helpers/decorators.py", line 70, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.ha_neutron_destructive/fuelweb_test/tests/tests_strength/test_neutron.py", line 239, in neutron_l3_migration_after_reset
    os_conn, remote).addresses['net04'][0]['addr']
  File "/home/jenkins/workspace/6.1.system_test.centos.ha_neutron_destructive/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.ha_neutron_destructive/fuelweb_test/tests/tests_strength/test_neutron.py", line 53, in create_instance_with_keypair
    neutron=True, key_name='instancekey')
  File "/home/jenkins/workspace/6.1.system_test.centos.ha_neutron_destructive/fuelweb_test/helpers/os_actions.py", line 79, in create_server_for_migration
    image_id = self._get_cirros_image().id
  File "/home/jenkins/workspace/6.1.system_test.centos.ha_neutron_destructive/fuelweb_test/helpers/os_actions.py", line 37, in _get_cirros_image
    for image in self.glance.images.list():
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/glanceclient/v1/images.py", line 249, in list
    for image in paginate(params, return_request_id):
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/glanceclient/v1/images.py", line 233, in paginate
    images, resp = self._list(url, "images")
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/glanceclient/v1/images.py", line 63, in _list
    resp, body = self.client.get(url)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/glanceclient/common/http.py", line 262, in get
    return self._request('GET', url, **kwargs)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/glanceclient/common/http.py", line 230, in _request
    raise exc.from_response(resp, resp.text)