[UI] 'Configure Interfaces' page doesn't work if node has OVS network bond

Bug #1585540 reported by Artem Panchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel Sustaining

Bug Description

Fuel version info (9.0 build #396): http://paste.openstack.org/show/505332/

It's possible to configure OpenVSwitch as provider for network bonds using CLI, but that breaks 'Configure Interfaces' page on Fuel UI:

Uncaught TypeError: Cannot read property 'mode' of undefined

AFAUI it's because 'releases' don't provide availability/properties info about 'ovs' type in 'network_metadata'->'bonding', for example:

http://paste.openstack.org/show/505333/

Steps to reproduce:

1. Create cluster
2. Add 1 node
3. Go to CLI and download interfaces YAML: fuel node --node-id 1 --network --download
4. Edit the yaml file and create new bond with type 'ovs', for example: http://paste.openstack.org/show/505335/
5. Upload updated yaml file to API: fuel node --node-id 1 --network --upload
6. Open 'Configure Interfaces' page for the node

Expected result:

- interfaces/networks configuration works via GUI

Actual:

- UI page doesn't work

Revision history for this message
Julia Aranovich (jkirnosova) wrote :

The issue occurs because there is no 'ovs' bonding type here: https://github.com/openstack/fuel-web/blob/stable/mitaka/nailgun/nailgun/fixtures/openstack.yaml#L380

Fuel UI's code relays on this bonding type list.

tags: added: area-python
Changed in fuel:
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: nobody → Networking (l23-network)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Registry Administrators (registry) → l23network (l23network)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 10.0 → 10.1
assignee: Registry Administrators (registry) → Fuel Sustaining (fuel-sustaining-team)
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.