[OSTF] Check network connectivity from instance via floating IP: Failed to create rule in security group

Bug #1512692 reported by Vasily Gorin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Fuel QA Team
7.0.x
Won't Fix
High
Fuel QA Team

Bug Description

CI: https://product-ci.infra.mirantis.net/job/7.0.system_test.ubuntu.thread_non_func_1/88/testReport/(root)/deploy_ha_dns_ntp/deploy_ha_dns_ntp/

OSTF Log:

fuel_health.common.test_mixins: INFO: STEP:1, verify action: 'security group creation'
urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.109.5.3
urllib3.connectionpool: DEBUG: Setting read timeout to None
urllib3.connectionpool: DEBUG: "POST http://10.109.7.3:8774/v2/6c9a890ab28b4985a98fdcc62ae57a41/os-security-groups HTTP/1.1" 200 249
fuel_health.test: DEBUG: Adding <SecurityGroup description=ost1_test-secgroup-smoke-netw2051394981 description, id=8612ce04-857c-4d73-98fc-12ca1cd73438, name=ost1_test-secgroup-smoke-netw2051394981, rules=[], tenant_id=6c9a890ab28b4985a98fdcc62ae57a41> to shared resources of TestNeutron
urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.109.5.3
urllib3.connectionpool: DEBUG: Setting read timeout to None
urllib3.connectionpool: DEBUG: "POST http://10.109.7.3:8774/v2/6c9a890ab28b4985a98fdcc62ae57a41/os-security-group-rules HTTP/1.1" 404 112
fuel_health.nmanager: DEBUG: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/fuel_health/nmanager.py", line 598, in _create_security_group
    client.security_group_rules.create(secgroup.id, **ruleset)
  File "/usr/lib/python2.6/site-packages/novaclient/v1_1/security_group_rules.py", line 70, in create
    'security_group_rule')
  File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 100, in _create
    _resp, body = self.api.client.post(url, body=body)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 492, in post
    return self._cs_request(url, 'POST', **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 467, in _cs_request
    resp, body = self._time_request(url, method, **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 440, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 433, in request
    raise exceptions.from_response(resp, body, url, method)
NotFound: Security group 8612ce04-857c-4d73-98fc-12ca1cd73438 does not exist (HTTP 404) (Request-ID: req-be919f6a-9950-408a-aeaa-b07df03ecbc5)

fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 177, in verify
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/fuel_health/nmanager.py", line 601, in _create_security_group
    self.fail("Failed to create rule in security group.")
  File "/usr/lib/python2.6/site-packages/unittest2/case.py", line 415, in fail
    raise self.failureException(msg)
AssertionError: Failed to create rule in security group.

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel QA Team (fuel-qa)
tags: added: ostf
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
Revision history for this message
Vasily Gorin (vgorin) wrote :

After reverting snapshot with failed test I tried rerun OSTF test "Check network connectivity from instance via floating IP" and this one was successfully

Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/8.0.x
tags: added: area-qa
Dmitry Klenov (dklenov)
Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

Fix proposed to branch: master
Review: https://review.openstack.org/243154

Changed in fuel:
status: Confirmed → In Progress
tags: added: 70-mu1-new-bug
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/243154
Committed: https://git.openstack.org/cgit/openstack/fuel-ostf/commit/?id=89828f1c0afc80895114d7387f3c625cf78e3b3a
Submitter: Jenkins
Branch: master

commit 89828f1c0afc80895114d7387f3c625cf78e3b3a
Author: Tatyana Leontovich <email address hidden>
Date: Mon Nov 9 17:13:33 2015 +0200

    Remove cretaed security group from shared resource

    To avoid issues like LP1512692 remove security
    group from shared resources
    Also add secutiry group cleanup to NovaNetworkScenarioTest

    Change-Id: I929f8edafd98bbb73eb399db1c9cfb131b904406
    Closes-Bug: #1512692

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verify 361 iso

Changed in fuel:
status: Fix Committed → Fix Released
tags: added: area-ostf
removed: area-qa ostf
tags: added: non-release
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

We no longer support MOS5.1, MOS6.0, MOS6.1
We deliver only Critical/Security fixes to MOS7.0, MOS8.0.
We deliver only High/Critical/Security fixes to MOS9.2.

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.