KeyError: 'bond_plugin_id' when saving changes for bonded interdaces with plugin

Bug #1644563 reported by Ekaterina Khomyakova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Andriy Popovych
Mitaka
Fix Released
High
Andriy Popovych
Newton
Fix Released
High
Andriy Popovych

Bug Description

Feul 9.2 #549

Steps to reproduce:
  1. Create env with plugin, which provide Bond attributes
  2. Add node, select it, press "Configure Interfaces"
  3. Bond 2 interfaces
  4. Apply changes

Expected results:
  Changes applied

Actual result:
  Interfaces Configuration Error
  API returns 500 Internal Server Error. KeyError: 'bond_plugin_id'

Additional info:
  bond_config.yaml:

attribute_checkbox:
  label: "Bond attribute Checkbox"
  description: "Description for Checkbox"
  type: "checkbox"
  value: false
metadata:
  label: 'plugin section'
  class: 'plugin'

metadata is used as workaround for https://bugs.launchpad.net/fuel/+bug/1643596

Changed in fuel:
assignee: nobody → Andriy Popovych (popovych-andrey)
Changed in fuel:
status: New → Confirmed
tags: added: area-python
tags: added: blocker-for-qa
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/402416

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/402416
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=1ba0ccaa21897edc98a9c8fd1acee9737b672470
Submitter: Jenkins
Branch: stable/mitaka

commit 1ba0ccaa21897edc98a9c8fd1acee9737b672470
Author: Andriy Popovych <email address hidden>
Date: Fri Nov 25 13:19:45 2016 +0200

    Use dict_merge instead of update

    During fetching NIC and Bonds attributes
    attributes have been rewritten insted of
    extending.

    Change-Id: I542b601fc1cc154eccaa6fba1a0442a19b7b3353
    Closes-Bug: #1644563

tags: added: in-stable-mitaka
Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Ekaterina Khomyakova (ekhomyakova) wrote :

Verified on 9.2 #576

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
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/410735

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

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

commit 220f8b4b77fa1c0c38b4dc758acf2389792f54eb
Author: Andriy Popovych <email address hidden>
Date: Wed Dec 14 14:54:49 2016 +0200

    Use dict_merge instead of update

    During fetching NIC and Bonds attributes
    attributes have been rewritten insted of
    extending.

    Change-Id: I542b601fc1cc154eccaa6fba1a0442a19b7b3353
    Closes-Bug: #1644563

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/417004

no longer affects: fuel/ocata
Changed in fuel:
status: Fix Released → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/newton)

Reviewed: https://review.openstack.org/417004
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=104faec16d2c4f97fd884023275a54705002773d
Submitter: Jenkins
Branch: stable/newton

commit 104faec16d2c4f97fd884023275a54705002773d
Author: Andriy Popovych <email address hidden>
Date: Wed Dec 14 14:54:49 2016 +0200

    Use dict_merge instead of update

    During fetching NIC and Bonds attributes
    attributes have been rewritten insted of
    extending.

    Change-Id: I542b601fc1cc154eccaa6fba1a0442a19b7b3353
    Closes-Bug: #1644563
    (cherry picked from commit 220f8b4b77fa1c0c38b4dc758acf2389792f54eb)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 11.0.0.0rc1

This issue was fixed in the openstack/fuel-web 11.0.0.0rc1 release candidate.

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 10.0 build #1569.

tags: removed: on-verification
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.