Zun

Network attach failed beacuse network doesn't has preserve_on_delete field

Bug #1737687 reported by chengyang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Released
Undecided
chengyang

Bug Description

Network attach failed beacuse network doesn't has preserve_on_delete field.
In zun/network/kuryr_network.py, latest code of function create_or_update_port will judge value of preserve_on_delete field in requested_network, so we need to update body of requested_network when attach network

Changed in zun:
assignee: nobody → chengyang (chengyang)
status: New → In Progress
chengyang (chengyang)
description: updated
description: updated
description: updated
description: updated
Changed in zun:
assignee: chengyang (chengyang) → hongbin (hongbin034)
hongbin (hongbin034)
Changed in zun:
assignee: hongbin (hongbin034) → chengyang (chengyang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.openstack.org/527344
Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=76801e9afb9ea46d0626d2567c07c45c187bc983
Submitter: Zuul
Branch: master

commit 76801e9afb9ea46d0626d2567c07c45c187bc983
Author: chengyang <email address hidden>
Date: Tue Dec 12 16:38:18 2017 +0800

    Add preserve_on_delete field in requested_network when attach network

    Attaching a container to a neutron network failed with KeyError
    on retrieving the 'preserve_on_delete' key from the requested
    network. This is because the latest code change in kuryr_network.py
    assumes the 'preserve_on_delete' key is presented but this key is
    missing.

    Change-Id: I3e3a1dc35227d4f469619bb8eb9215ca49b3343f
    Closes-bug: #1737687

Changed in zun:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zun 1.0.0

This issue was fixed in the openstack/zun 1.0.0 release.

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.