[system_tests] Need to fix test ha_delete_vips

Bug #1311722 reported by Tatyanka on 2014-04-23
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
High
Tatyanka
4.1.x
High
Andrey Sledzinskiy

Bug Description

1. Need to add the same test but for verification on neutron too (Say in true most of destructive test must be executed as for neutron ha as for nova ha)
2. we fail on the step assert vip management and public started according to we search by regexp like vip__management_old\s+\(ocf::heartbeat:IPaddr2\ and current output of crm is
 vip__management_old (ocf::mirantis:ns_IPaddr2): Started node-4.test.domain.local
 vip__public_old (ocf::mirantis:ns_IPaddr2): Started node-2.test.domain.local

3. search of inreface where secondary vip is running for nova does not work (
for now we iterate by 2th1 and eth2 and try to find where we match pattern

'inet (?P<ip>\d+\.\d+\.\d+.\d+/\d+) brd '
 '(?P<mask>\d+\.\d+\.\d+.\d+) scope global '
'{0}:ka'

seems we use namespace and set vip like

10: eth1-hapr: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 12:1c:c6:42:71:99 brd ff:ff:ff:ff:ff:ff
    inet 10.108.1.4/24 scope global eth1-hapr
    inet6 fe80::101c:c6ff:fe42:7199/64 scope link
       valid_lft forever preferred_lft forever

Changed in fuel:
importance: Undecided → High
milestone: none → 5.0
Mike Scherbakov (mihgen) on 2014-04-23
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Tatyana (tatyana-leontovich)
Changed in fuel:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/93456
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=87c0d7d23e26ba68db3695e2b206d80896bc546e
Submitter: Jenkins
Branch: master

commit 87c0d7d23e26ba68db3695e2b206d80896bc546e
Author: Tatyana Leontovich <email address hidden>
Date: Tue May 13 17:49:13 2014 +0000

    Change search for ip for vip on nova

    In test delete_vips for nova-ha we try to search ips
    not in namespace. Those leads for skip action
    for del ip it recover and verification after
    recovering

    Change-Id: Ia866aa541b9031d7677c44b889b35cfedab66791
    Closes-Bug: #1311722

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released

Reviewed: https://review.openstack.org/97477
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=0d31383d11d97925e3aa911f55c3ad922d5fe17b
Submitter: Jenkins
Branch: stable/4.1

commit 0d31383d11d97925e3aa911f55c3ad922d5fe17b
Author: Tatyana Leontovich <email address hidden>
Date: Tue May 13 17:49:13 2014 +0000

    Change search for ip for vip on nova

    In test delete_vips for nova-ha we try to search ips
    not in namespace. Those leads for skip action
    for del ip it recover and verification after
    recovering

    Change-Id: Ia866aa541b9031d7677c44b889b35cfedab66791
    Closes-Bug: #1311722
    (cherry picked from commit 87c0d7d23e26ba68db3695e2b206d80896bc546e)

Reviewed: https://review.openstack.org/91354
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=37bb70aff21d4457a87b4bc6403a7c8a85928686
Submitter: Jenkins
Branch: master

commit 37bb70aff21d4457a87b4bc6403a7c8a85928686
Author: Tatyana Leontovich <email address hidden>
Date: Mon Apr 28 19:11:02 2014 +0000

    Add run of OSTf after failover

    To be sure that recovery was success
    ad invocation of OSTF after failover
    for tests:
    * destroy controllers
    * disconnect controllers
    * mysql termination
    * haproxy termination

    Change-Id: I7fc5c53394cb20ca3ff57100b8d18938d598bd35
    Related-Bug: #1311722

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers