[system-tests] Implement Ha destructive tests that verify ovs and l3 agents recovery after failover

Bug #1269806 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Tatyanka

Bug Description

For neutron deployment we should verify several cases:
I Recovery of neutron agents after fail over(pacemaker should restart it) . Base scenario:
1. Deploy Ha with neutron
2. pick up host where ovs is running
3. turn off host
4. wait some time
5. Verify if ovs has been restarted
6. create several vms to be sure that vms receive ip addresses

II. Kill network at all on one of the controller - verify is openstack operational

III. Block traffic in/out traffic on some of controller(50 %, 75% , 95%) - verify if openstack operational(Create vm, allocate floating ip, diff sec groups, check connectivity between vms for diff case, cidr, vms from diffs tenants, vm from one tenant etc)

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: nobody → Fuel QA Team (fuel-qa)
status: New → Confirmed
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: 4.1 → 5.0
Andrew Woodward (xarses)
tags: added: ha
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/80212
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=8ef62e5bacc9b2cf2ee00b093ff7f0fefd4a4a4c
Submitter: Jenkins
Branch: master

commit 8ef62e5bacc9b2cf2ee00b093ff7f0fefd4a4a4c
Author: nfedotov <email address hidden>
Date: Thu Mar 13 12:34:46 2014 +0400

    Destructive test for neutron l3 agent

    Pacemaker should restart neutron l3 agent
    Scenario:
    1. Deploy Ha with neutron
    2. Pick up host where l3 agent is running
    3. Turn off host
    4. Wait some time
    6. Create several vms to be sure that vms receive ip addresses
    (Performed by OSTF connectivity tests)

    Partially fix bug: https://bugs.launchpad.net/fuel/+bug/1269806
    Implements first scenario

    Related-bug: #1269806
    Change-Id: I30d06753b72842e0db03f96914029f5d2dec8502

Changed in fuel:
milestone: 5.0 → 5.1
Revision history for this message
Andrew Woodward (xarses) wrote :

set back to high, this is a HA issue, it should maybe be better with last couple of patches, please retest.

Changed in fuel:
importance: Medium → High
milestone: 5.1 → 5.0
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Please retest it manually. We don't have time to implement system tests for it in 5.0.

Changed in fuel:
milestone: 5.0 → 5.1
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Tatyana (tatyana-leontovich)
status: Confirmed → In Progress
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Actually we have implemented in 4.0 scenario I and need to verify II and III

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

move to medium according we have implemented 1 scenario and should add last ones

Changed in fuel:
status: In Progress → Triaged
importance: High → Medium
Dmitry Ilyin (idv1985)
summary: - [system-tests] Implement Ha destructive tests that verify ovs and l3
- agents recovery after failover
+ [systest] Implement Ha destructive tests that verify ovs and l3 agents
+ recovery after failover
Changed in fuel:
milestone: 5.1 → 6.0
assignee: Tatyana (tatyana-leontovich) → Fuel QA Team (fuel-qa)
Changed in fuel:
milestone: 6.0 → 6.1
summary: - [systest] Implement Ha destructive tests that verify ovs and l3 agents
- recovery after failover
+ [system-tests] Implement Ha destructive tests that verify ovs and l3
+ agents recovery after failover
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

We have to implement only one scenario.

Changed in fuel:
importance: Medium → High
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

l3 agent cases covered by test:
 neutron_l3_migration_after_reset
neutron_l3_migration
neutron_l3_migration_after_destroy
neutron_packets_drop_stat

other cases covers by tests:
disconnect and destroy controllers so move to fix commited

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Tatyanka (tatyana-leontovich)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/170568
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=5f7c3fb18ccc0f5cb860006289aa328cf31ad062
Submitter: Jenkins
Branch: master

commit 5f7c3fb18ccc0f5cb860006289aa328cf31ad062
Author: Tatyana Leontovich <email address hidden>
Date: Thu Apr 2 13:28:52 2015 +0300

    Add case with 75 % packages loss on br-mgmt

    Closes-Bug: #1269806
    Change-Id: I7fcba12d1cfc5d024289bcc357d5baba9579bcc6

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

last case was executed in swarm 6.1-329 iso

Changed in fuel:
status: Fix Committed → Fix Released
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.