[system_tests] Need to fix test ha_delete_vips

Bug #1311722 reported by Tatyanka
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Tatyanka
4.1.x
Fix Released
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

Tags: system-tests
Changed in fuel:
importance: Undecided → High
milestone: none → 5.0
Mike Scherbakov (mihgen)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Tatyana (tatyana-leontovich)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Related fix proposed to fuel-main (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/91354

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/4.1)

Fix proposed to branch: stable/4.1
Review: https://review.openstack.org/97477

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/4.1)

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)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-main (master)

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

Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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