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)
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 ------- ------- ------- ------- ------- ------- ------- ------- ------- jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ proboscis/ case.py" , line 296, in testng_ method_ mistake_ capture_ func ty.capture_ type_error( s_func) jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ proboscis/ compatability/ exceptions_ 2_6.py" , line 27, in capture_type_error jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ proboscis/ case.py" , line 350, in func test_case. state.get_ state() ) jenkins/ workspace/ 6.1.system_ test.centos. ha_neutron_ destructive/ fuelweb_ test/helpers/ decorators. py", line 70, in wrapper 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 .addresses[ 'net04' ][0]['addr' ] jenkins/ workspace/ 6.1.system_ test.centos. ha_neutron_ destructive/ fuelweb_ test/__ init__. py", line 48, in wrapped 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 'instancekey' ) jenkins/ workspace/ 6.1.system_ test.centos. ha_neutron_ destructive/ fuelweb_ test/helpers/ os_actions. py", line 79, in create_ server_ for_migration cirros_ image() .id jenkins/ workspace/ 6.1.system_ test.centos. ha_neutron_ destructive/ fuelweb_ test/helpers/ os_actions. py", line 37, in _get_cirros_image images. list(): jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ glanceclient/ v1/images. py", line 249, in list jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ glanceclient/ v1/images. py", line 233, in paginate jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ glanceclient/ v1/images. py", line 63, in _list get(url) jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ glanceclient/ common/ http.py" , line 262, in get 'GET', url, **kwargs) jenkins/ venv-nailgun- tests-2. 9/local/ lib/python2. 7/site- packages/ glanceclient/ common/ http.py" , line 230, in _request response( resp, resp.text)
-------
Traceback (most recent call last):
File "/home/
compatabili
File "/home/
func()
File "/home/
func(
File "/home/
result = func(*args, **kwargs)
File "/home/
os_conn, remote)
File "/home/
result = func(*args, **kwargs)
File "/home/
neutron=True, key_name=
File "/home/
image_id = self._get_
File "/home/
for image in self.glance.
File "/home/
for image in paginate(params, return_request_id):
File "/home/
images, resp = self._list(url, "images")
File "/home/
resp, body = self.client.
File "/home/
return self._request(
File "/home/
raise exc.from_