OSTF test "Check that VM is accessible via floating IP address" with error Floating IP cannot be removed

Bug #1263916 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel QA Team

Bug Description

ISO #197
"build_id": "2013-12-24_11-59-38",
"ostf_sha": "b2adccf409e3c03237860b6a4a3e7d8199fc2c0a",
"build_number": "197",
"nailgun_sha": "7fda5f6ad4cd559a379946b68a5afa3c01c66b18",
"fuelmain_sha": "31adf1ead24b939847e3f95eef6a9ef7ca78554c",
"astute_sha": "9000b12aa0f3639bd4a18efeb82ef554fdbde9c0",
"release": "4.0",
"fuellib_sha": "8d4984453bc2d6bf503c58d6bc7183bf948a6ecf"

1. Create new environment (Ubuntu, simple mode)
2. Choose installing Savanna and Ceilometer
3. Add 1 controller+cinder and 1 compute
4. Start deployment. It was successful
5. Start OSTF test. Test "Check that VM is accessible via floating IP address" has failed on step 6 with error: Floating IP cannot be removed. Please refer to OpenStack logs for more details.

(nose_storage_plugin) fuel_health.tests.smoke.test_nova_create_instance_with_connectivity.TestNovaNetwork.test_005_check_public_network_connectivity
Traceback (most recent call last):
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/unittest2/case.py", line 340, in run
    testMethod()
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/tests/smoke/test_nova_create_instance_with_connectivity.py", line 221, in test_005_check_public_network_connectivity
    "removing floating IP", server, floating_ip)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 186, in verify
    " Please refer to OpenStack logs for more details.")
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/unittest2/case.py", line 415, in fail
    raise self.failureException(msg)
AssertionError: Step 6 failed: Floating IP cannot be removed. Please refer to OpenStack logs for more details.

6. Manually I created security group, instance, floating IP. Associate floating IP and diassociate floating IP.

Tags: ostf
Revision history for this message
Anastasia Palkina (apalkina) wrote :
Changed in fuel:
importance: Undecided → Critical
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Please set confirmed state when you set priority.

Evgeniy L (rustyrobot)
tags: added: ostf
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Download full text (5.7 KiB)

Actualy failed with 500 from api
fuel_health.nmanager: DEBUG: Command execution successful.
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.20.0.4
requests.packages.urllib3.connectionpool: DEBUG: "POST http://172.16.0.2:8774/v2/4475cfaae9ae4787b32140fbfa944fc8/servers/63bb14bb-2b68-479a-8d73-93e070ca9487/action HTTP/1.1" 500 128
fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last):
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 180, in verify
    result = func(*args, **kwargs)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 452, in remove_floating_ip
    self._action('removeFloatingIp', server, {'address': address})
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 951, in _action
    return self.api.client.post(url, body=body)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/novaclient/client.py", line 232, in post
    return self._cs_request(url, 'POST', **kwargs)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/novaclient/client.py", line 213, in _cs_request
    **kwargs)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/novaclient/client.py", line 195, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/novaclient/client.py", line 189, in request
    raise exceptions.from_response(resp, body, url, method)
ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-3fbe963c-4ed2-422e-a519-cf3078a1f520)

traceback in nova-nova.api.openstack.log:

ttributeError: 'LocalManager' object has no attribute 'l3driver'
2013-12-24T12:09:54.402633+00:00 info: INFO: http://172.16.0.2:8774/v2/4475cfaae9ae4787b32140fbfa944fc8/servers/63bb14bb-2b68-479a-8d73-93e070ca9487/action returned with HTTP 500
2013-12-24T12:32:13.623224+00:00 err: ERROR: Caught error: 'LocalManager' object has no attribute 'l3driver'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 119, in __call__
    return req.get_response(self.application)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 545, in __call__
    return self.app(env, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/pyth...

Read more...

Changed in fuel:
assignee: Tatyana (tatyana-leontovich) → Mike Scherbakov (mihgen)
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Assign to Tatyana for reproducing and confirming

Changed in fuel:
assignee: Mike Scherbakov (mihgen) → Tatyana (tatyana-leontovich)
status: New → In Progress
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

can not reproduce, If you see this again, please ping me

Changed in fuel:
status: In Progress → Incomplete
Changed in fuel:
status: Incomplete → Invalid
Revision history for this message
Nastya Urlapova (aurlapova) wrote :
Changed in fuel:
status: Invalid → Confirmed
milestone: 4.0 → 4.1
Changed in fuel:
importance: Critical → High
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

ip was not deleted according next error
The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-909d11c4-afd4-480a-89eb-7c832b689cb0)

Revision history for this message
Vladimir Kuklin (vkuklin) wrote :
Changed in fuel:
assignee: Tatyana (tatyana-leontovich) → Fuel Library Team (fuel-library)
importance: High → Medium
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: 4.1 → 5.0
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

remove ostf tag according to tests work fine

tags: added: neutron
removed: ostf
Mike Scherbakov (mihgen)
tags: added: release-notes
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

assign to Tatyana to reproduce

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Tatyana (tatyana-leontovich)
Mike Scherbakov (mihgen)
Changed in fuel:
importance: Medium → High
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

try to reproduce on 184, 193, 199 iso. Works great, ip removed successfully - so move it to invalid

Changed in fuel:
status: Confirmed → Invalid
Revision history for this message
Meg McRoberts (dreidellhasa) wrote :

Not documented in 5.0 Release Notes because it is marked as Invalid.

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
Changed in fuel:
status: Invalid → New
milestone: 5.0 → 4.1.1
Changed in fuel:
assignee: Tatyana (tatyana-leontovich) → nobody
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

Bug was reproduced on 334 ISO - http://jenkins-product.srt.mirantis.net:8080/view/4.1_swarm/job/4.1_fuelmain.system_test.centos.thread_1/162/testReport/junit/%28root%29/ceph_rados_gw/ceph_rados_gw/
OSTF log:
ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500)

Logs are attached

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
status: New → Confirmed
assignee: nobody → Fuel Library Team (fuel-library)
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Is it a blocker for releasing 4.1.1? Is it possible to disassociate IP manually, or in a second retry? If so, I tend to move it to 4.1.2, if we create that.

Revision history for this message
Ryan Moe (rmoe) wrote :

Floating IPs can be disassociated manually in 4..1.1 ISO # 336

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel OSTF Team (fuel-ostf)
tags: added: ostf
removed: neutron release-notes
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Also it should be released as well

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

I am not sure that problems is in test. 500 from server on this call, more over it reproduce 2-3 times from 50 attempts

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

Also it is not reproduce on 5.0( ostf tests are the same as in 4.1) seems we should look at the Openstack code and find the difference between isehouse and Havana for this API call

Changed in fuel:
milestone: 4.1.1 → 4.1.2
Changed in fuel:
assignee: Registry Administrators (registry) → Fuel QA Team (fuel-qa)
Changed in fuel:
importance: High → Medium
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Is it reproduced now?, move to incomplete according to we need to reproduce it

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

there is no update over 2 month, so move to the invalid. If you faced the issue gain, please reopen this one

Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.