[10.0 swarm] Nailgun returns a wrong ips list for custom nodegroup

Bug #1679207 reported by Sergey Novikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Fedor Zhadaev

Bug Description

Detailed bug description:

The issue was found by https://product-ci.infra.mirantis.net/job/10.0.system_test.ubuntu.multiracks_2/231/testReport/(root)/two_nodegroups_network_templates/two_nodegroups_network_templates/

Steps to reproduce:

            1. Bootstrap 3 slaves from default nodegroup
            2. Create cluster with Neutron VXLAN and custom nodegroups
            3. Bootstrap 2 slaves nodes from custom nodegroup
            4. Add 3 controller nodes from default nodegroup
            5. Add 2 compute+cinder nodes from custom nodegroup
            6. Upload 'two_nodegroups' network template [0]
            7. Verify networks
            8. Deploy cluster
            9. Get info about nodes. For example from CLI

[root@nailgun ~]# fuel node
id | status | name | cluster | ip | mac | roles | pending_roles | online | group_id
---+--------+-------------------------+---------+-------------+-------------------+-----------------+---------------+--------+---------
 2 | ready | slave-02_controller | 1 | 10.109.27.5 | 64:a5:08:94:42:cd | controller | | 1 | 1
 3 | ready | slave-03_controller | 1 | 10.109.27.6 | 64:52:0f:15:a4:94 | controller | | 1 | 1
 5 | ready | slave-05_compute_cinder | 1 | 10.109.16.3 | 64:00:f4:c4:33:09 | cinder, compute | | 1 | 3
 4 | ready | slave-04_compute_cinder | 1 | 10.109.16.2 | 64:70:21:fa:22:e1 | cinder, compute | | 1 | 3
 1 | ready | slave-01_controller | 1 | 10.109.27.4 | 64:e7:e8:7a:a5:c5 | controller | | 1 | 1

for nodes 4 and 5 there are wrong ips. Actually these ips (10.109.16.xxx) are belong to public network

[root@nailgun ~]# fuel network-group list
id | name | vlan_start | cidr | gateway | group_id
---+---------------+------------+----------------+-------------+---------
4 | storage | | 10.109.24.0/24 | 10.109.24.1 | 1
3 | management | | 10.109.23.0/24 | 10.109.23.1 | 1
2 | public | | 10.109.17.0/24 | 10.109.17.1 | 1
5 | private | 103 | 10.109.22.0/24 | 10.109.22.1 | 1
6 | public | | 10.109.15.0/24 | 10.109.15.1 | 2
7 | management | 102 | 10.109.25.0/24 | 10.109.25.1 | 2
8 | storage | 101 | 10.109.24.0/24 | 10.109.24.1 | 2
9 | private | 103 | 10.109.21.0/24 | 10.109.21.1 | 2
10 | fuelweb_admin | | 10.109.18.0/24 | 10.109.18.2 | 2
11 | public | | 10.109.16.0/24 | 10.109.16.1 | 3
14 | private | 103 | 10.109.20.0/24 | 10.109.20.1 | 3
15 | fuelweb_admin | | 10.109.19.0/24 | 10.109.19.2 | 3
1 | fuelweb_admin | | 10.109.27.0/24 | 10.109.27.1 |
13 | storage | | 10.109.24.0/24 | 10.109.24.1 | 3
12 | management | | 10.109.26.0/24 | 10.109.26.1 | 3

[0] - https://github.com/openstack/fuel-qa/blob/stable/newton/fuelweb_test/network_templates/two_nodegroups.yaml

Tags: area-python
Changed in fuel:
milestone: none → 10.1
Revision history for this message
Sergey Novikov (snovikov) wrote :
Changed in fuel:
status: New → Confirmed
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
tags: added: area-python
Fedor Zhadaev (fzhadaev)
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Fedor Zhadaev (fzhadaev)
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.