In networks are created without all fields, preventing update

Bug #1495498 reported by Alexandr Kostrikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Aleksey Kasatkin

Bug Description

There is a network in nailgun, created with fuel-qa multiple networks

dockerctl shell postgres su - postgres -c 'psql -d nailgun'
psql (9.3.5)
Type "help" for help.

nailgun=# select * from network_groups where id = 7;
 id | name | release | vlan_start | cidr | gateway | meta | group_id
----+------------+---------+------------+---------------+---------+----------------------------------------------+----------
  7 | management | 2 | 101 | 10.250.2.0/24 | | {"ip_range": ["10.250.2.1", "10.250.2.254"]} | 2
(1 row)

But update checks for notation in meta.
https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/objects/network_group.py#L116

So, this produces a conflict.

Should it be fixed in fuel-qa or more strict validation should be also applied in nailgun?

Changed in fuel:
status: New → Invalid
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.