Test internal network connectivity doesn't test connectivity to other VMs in test_network_basic_ops

Bug #1561335 reported by Tong Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Tong Liu

Bug Description

In test_network_basic_ops.py, _check_network_internal_connectivity only checks the connectivity to the network port on the network. While the test case test_connectivity_between_vms_on_different_networks in this test module explicitly wants to check the connectivity between vms on different network. We should also test connectivity to compute ports on the network in internal network connectivity check.

Current code in check_network_internal_connectivity
        internal_ips = (p['fixed_ips'][0]['ip_address'] for p in
                        self._list_ports(tenant_id=server['tenant_id'],
                                         network_id=network.id)
                        if p['device_owner'].startswith('network'))

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
assignee: nobody → Tong Liu (liutong)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/296895
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=589f3152691a9249d4122cc4b92ef929b0e5dc8a
Submitter: Zuul
Branch: master

commit 589f3152691a9249d4122cc4b92ef929b0e5dc8a
Author: Tong Liu <email address hidden>
Date: Thu Mar 24 05:56:40 2016 +0000

    Add network internal connectivity check to VMs

    In test_network_basic_ops.py, _check_network_internal_connectivity
    only checks the connectivity to the network port on the network.
    While test_connectivity_between_vms_on_different_networks test
    case in this test module explicitly wants to check the
    connectivity between vms on different network. Add network
    internal connectivty check to other VMs on the network.

    Change-Id: Iff8e0f2d5db1bf9bc5bf064a0d066835e8a4cdbc
    Fixes-Bug: #1561335

Changed in tempest:
status: In Progress → 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.