Wrong network information is shown on UI (nova-network)

Bug #1307845 reported by Mike Scherbakov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Critical
Fuel UI Team

Bug Description

No matter HA / Simple mode, choose Nova-network, VLAN mode. Make correct configuration, and then try to open node network interfaces screen. There will wrong info about VLANs on logical networks, and incorrect warning. Can be easily reproduced on fake UI:
1) go thru wizard, all defaults
2) choose nova-network VLAN mode, Save
3) add first node to env, open network interfaces configuration for that node. You will see attached screenshot.

Request PUT /api/clusters/1/network_configuration/nova_network from 172.18.24.3:40546
{
    "networks": [
        {
            "name": "public",
            "ip_ranges": [
                [
                    "172.16.0.6",
                    "172.16.0.100"
                ]
            ],
            "id": 2,
            "meta": {
                "name": "public",
                "notation": "ip_ranges",
                "render_type": null,
                "assign_vip": true,
                "map_priority": 1,
                "use_gateway": true,
                "vlan_start": null,
                "render_addr_mask": "public",
                "cidr": "172.16.0.0/24",
                "configurable": true,
                "gateway": "172.16.0.1",
                "ip_range": [
                    "172.16.0.2",
                    "172.16.0.127"
                ]
            },
            "vlan_start": null,
            "cidr": "172.16.0.0/24",
            "group_id": 1,
            "gateway": "172.16.0.101"
        },
        {
            "name": "management",
            "ip_ranges": [
                [
                    "192.168.0.1",
                    "192.168.0.254"
                ]
            ],
            "id": 3,
            "meta": {
                "name": "management",
                "notation": "cidr",
                "render_type": "cidr",
                "assign_vip": true,
                "map_priority": 2,
                "use_gateway": false,
                "vlan_start": 101,
                "render_addr_mask": "internal",
                "cidr": "192.168.0.0/24",
                "configurable": true
            },
            "vlan_start": 101,
            "cidr": "192.168.0.0/24",
            "group_id": 1,
            "gateway": null
        },
        {
            "name": "storage",
            "ip_ranges": [
                [
                    "192.168.1.1",
                    "192.168.1.254"
                ]
            ],
            "id": 4,
            "meta": {
                "name": "storage",
                "notation": "cidr",
                "render_type": "cidr",
                "assign_vip": false,
                "map_priority": 2,
                "use_gateway": false,
                "vlan_start": 102,
                "render_addr_mask": "storage",
                "cidr": "192.168.1.0/24",
                "configurable": true
            },
            "vlan_start": null,
            "cidr": "192.168.1.0/24",
            "group_id": 1,
            "gateway": null
        },
        {
            "name": "fixed",
            "ip_ranges": [],
            "id": 5,
            "meta": {
                "ext_vlan_tag": "fixed_networks_vlan_start",
                "name": "fixed",
                "notation": null,
                "render_type": null,
                "map_priority": 2,
                "configurable": false,
                "use_gateway": false,
                "vlan_start": null,
                "render_addr_mask": null,
                "assign_vip": false
            },
            "vlan_start": null,
            "cidr": null,
            "group_id": 1,
            "gateway": null
        },
        {
            "name": "fuelweb_admin",
            "ip_ranges": [
                [
                    "10.20.0.129",
                    "10.20.0.254"
                ]
            ],
            "id": 1,
            "meta": {
                "notation": "cidr",
                "render_type": null,
                "assign_vip": false,
                "configurable": false,
                "unmovable": true,
                "use_gateway": false,
                "render_addr_mask": null,
                "map_priority": 0
            },
            "vlan_start": null,
            "cidr": "10.20.0.0/24",
            "group_id": null,
            "gateway": null
        }
    ],
    "networking_parameters": {
        "dns_nameservers": [
            "8.8.4.7",
            "8.8.8.9"
        ],
        "net_manager": "VlanManager",
        "fixed_networks_vlan_start": 103,
        "fixed_networks_cidr": "10.0.0.0/16",
        "floating_ranges": [
            [
                "172.16.0.128",
                "172.16.0.254"
            ]
        ],
        "fixed_network_size": 32,
        "fixed_networks_amount": 9
    }
}

When you deploy (changed only vlan for storage, set to 500, before hitting deploy button), the following message is sent to Astute:
http://paste.openstack.org/show/75733/

Revision history for this message
Mike Scherbakov (mihgen) wrote :
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Could be caused by the following response from Nailgun:
http://paste.openstack.org/show/75735/
which happens when I open node network interfaces screen, /api/clusters/1/network_configuration

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.