Need to know an ID of network with wrong configuration during uploading new network yaml-file to an environment.

Bug #1554106 reported by Omar Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Vitalii Myhal
6.1.x
Won't Fix
Medium
Unassigned

Bug Description

During upload the new network yaml-file we can get an error with description pointing to the type of networks with a wrong configuration. If we have a lot of networks, it is difficult to determine in which network we have problems. To facilitate the searching the error description must contain the network ID.

Steps to reproduce:

1) create new environment with neutron
fuel env create --name nodegroup-test --release 2

2) create new node group in this environment
fuel --env 1 nodegroup --create --name "tor1"

3) download network yaml
fuel --env 1 network --download

4) modify the file reflecting new network addressing scheme with error

5) upload the file
fuel --env-1 network --upload

Current behavior:
Upload fails with the following error:
400 Client Error: Bad Request for url: http://127.0.0.1:8000/api/v1/clusters/1/network_configuration/neutron (Address space intersection between networks: public, public)

Expected behavior:
Error description must contain the ID of a network with incorrect configuration.

Omar Rivera (gomarivera)
tags: added: customer-found
removed: network-id-missing
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

What fuel version are you using, can you attach diagnostic snapshot?

Changed in fuel:
milestone: none → 9.0
assignee: nobody → Fuel Python Team (fuel-python)
tags: added: area-python
Changed in fuel:
status: New → Incomplete
Revision history for this message
Omar Rivera (gomarivera) wrote :

Fuel Version is observed in 9.0.

Revision history for this message
Omar Rivera (gomarivera) wrote :

Originally found in 6.1 but was reproduced with 9.0 codebase
But we do not have a diagnostic snapshot

Andrew Woodward (xarses)
Changed in fuel:
status: Incomplete → Confirmed
importance: Undecided → Medium
Vitalii Myhal (xmig)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Vitalii Myhal (xmig)
Vitalii Myhal (xmig)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

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

Reviewed: https://review.openstack.org/290703
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=9928192281ba70bb73f03ca4d478162d38f941cf
Submitter: Jenkins
Branch: master

commit 9928192281ba70bb73f03ca4d478162d38f941cf
Author: Vitalii Myhal <email address hidden>
Date: Wed Mar 9 09:56:18 2016 -0600

    Add the network IDs into error description during network validation

    During upload the new network yaml-file we can get an error with
    description pointing to the type of networks with a wrong
    configuration. To facilitate the search of incorrect settings
    of a network the error description must contain the network ID.

    Change-Id: I02e235a6c22e31d8bfa3f8bd02f6428619c5daeb
    Closes-bug: #1554106

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

It contains network ids on iso 9.0 940:

[root@nailgun ~]# fuel --env 2 network --upload
400 Client Error: Bad Request for url: http://10.109.5.2:8000/api/v1/clusters/2/network_configuration/neutron (Address space intersection between networks:
admin (PXE), admin (PXE) (Network IDs: 1, 24))

Changed in fuel:
status: Fix Committed → 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.