Network notation is always reset to 'cidr' while configuring multiple cluster networks

Bug #1519861 reported by Artem Panchenko
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Aleksey Kasatkin

Bug Description

Fuel version info (8.0 build #204): http://paste.openstack.org/show/479998/

Network notation is always reset to 'cidr' while configuring multiple cluster networks. This cause incorrect networks IP ranges configuration, so gateway IP becomes a part of range and deployment fails:

AssertionError: Task 'deploy' has incorrect status. error != ready, 'Gateway address belongs to the network's IP range [10.109.2.1-10.109.2.254].
Gateway address belongs to the network's IP range [10.109.4.1-10.109.4.254].
Gateway address belongs to the network's IP range [10.109.3.1-10.109.3.254].
Gateway address belongs to the network's IP range [10.109.17.1-10.109.17.254].
Gateway address belongs to the network's IP range [10.109.19.1-10.109.19.254].
Gateway address belongs to the network's IP range [10.109.18.1-10.109.18.254].'

Steps to reproduce:

1. Create cluster
2. Create new nodegroup
3. Configure cluster networks, so each network has a gateway, its IP ranges are valid, notation is 'ip_ranges'
4. Upload network configuration to Nailgun, download it and upload again (without changes)
5. Deploy cluster

Expected result: cluster is deployed and networks configuration is left the same as at step #3

Actual result: deployment failed (see error above), because networks notation was reset to 'cidr' and IP ranges were automatically changed for all networks except admin and public

Diagnostic snapshot is attached.

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Aleksey Kasatkin (alekseyk-ru)
status: New → In Progress
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

Seems, regression is caused by https://review.openstack.org/#/c/247983/

Dmitry Pyzhov (dpyzhov)
tags: added: granular team-network
tags: added: feature-nodegroup
removed: granular
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

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

commit db1d4ef536ede9bfea1d54061c3ca3e3ecc74604
Author: Aleksey Kasatkin <email address hidden>
Date: Wed Nov 25 15:05:11 2015 +0000

    Revert "Fixed updating of JSON fields in database"

    This reverts commit 212c789f211aab9f6be348a125d32561e44c8b7b.

    Closes-Bug: #1519861
    Change-Id: I968a2f3f19b84b1b6a29d20965ce3d8fc4ecbfa1

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

verified on iso #241

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.