Profile update with new security group fails with multiple network error

Bug #1895759 reported by Duc Truong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
Undecided
Duc Truong

Bug Description

When a profile is created with a new security group added under networks and then applied via a cluster update, the node goes into error. The logs shows the following error message:

│Sep 15 22:52:28 sandboxController senlin-engine[30663]: ERROR senlin.drivers.sdk [None req-e278b41c-80af-4599-aeb0-ab389ca2a78b None │
None] BadRequestException: 400: Client Error for url: http://10.0.20.10/compute/v2.1/servers/326b9cb7-8299-490b-890a-b4fdba8aa036/os-i
nterface, Multiple possible networks found, use a Network ID to be more specific.: openstack.exceptions.BadRequestException: BadReques│
tException: 400: Client Error for url: http://10.0.20.10/compute/v2.1/servers/326b9cb7-8299-490b-890a-b4fdba8aa036/os-interface, Multi│
ple possible networks found, use a Network ID to be more specific. │
│Sep 15 22:52:28 sandboxController senlin-engine[30663]: ERROR senlin.engine.event [None req-e278b41c-80af-4599-aeb0-ab389ca2a78b None│
 None] node-UEyLYzB1[93bfb698] NODE_UPDATE[f9f19d0d] error: Node update failed.

Duc Truong (dtruong)
Changed in senlin:
assignee: nobody → Duc Truong (dtruong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin (master)

Fix proposed to branch: master
Review: https://review.opendev.org/752131

Changed in senlin:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.opendev.org/752131
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=aca5b42d81bf3ec422ea6452027f3527c3b5443b
Submitter: Zuul
Branch: master

commit aca5b42d81bf3ec422ea6452027f3527c3b5443b
Author: Duc Truong <email address hidden>
Date: Wed Sep 16 00:45:39 2020 +0000

    Pass in correct port id parameter

    When calling interface create on a server, the port id must be passed in
    port_id as specified in [1]. Passing in the incorrect parameter was
    causing nodes to go into error state during cluster update that involved
    a profile whose network was changed.

    [1] https://docs.openstack.org/api-ref/compute/?expanded=create-interface-detail#create-interface

    Change-Id: I4627cba1064097234c765a7c97cfd1be8b3224a7
    Closes-Bug: #1895759

Changed in senlin:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/752185

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/752186

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (stable/ussuri)

Reviewed: https://review.opendev.org/752185
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=4cc0a483f988fb85d6eeeb941c76c273af2e47ee
Submitter: Zuul
Branch: stable/ussuri

commit 4cc0a483f988fb85d6eeeb941c76c273af2e47ee
Author: Duc Truong <email address hidden>
Date: Wed Sep 16 00:45:39 2020 +0000

    Pass in correct port id parameter

    When calling interface create on a server, the port id must be passed in
    port_id as specified in [1]. Passing in the incorrect parameter was
    causing nodes to go into error state during cluster update that involved
    a profile whose network was changed.

    [1] https://docs.openstack.org/api-ref/compute/?expanded=create-interface-detail#create-interface

    Change-Id: I4627cba1064097234c765a7c97cfd1be8b3224a7
    Closes-Bug: #1895759
    (cherry picked from commit aca5b42d81bf3ec422ea6452027f3527c3b5443b)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (stable/train)

Reviewed: https://review.opendev.org/752186
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=366ee0084c1f2ca6e046bd63b765accd50aba23b
Submitter: Zuul
Branch: stable/train

commit 366ee0084c1f2ca6e046bd63b765accd50aba23b
Author: Duc Truong <email address hidden>
Date: Wed Sep 16 00:45:39 2020 +0000

    Pass in correct port id parameter

    When calling interface create on a server, the port id must be passed in
    port_id as specified in [1]. Passing in the incorrect parameter was
    causing nodes to go into error state during cluster update that involved
    a profile whose network was changed.

    [1] https://docs.openstack.org/api-ref/compute/?expanded=create-interface-detail#create-interface

    Change-Id: I4627cba1064097234c765a7c97cfd1be8b3224a7
    Closes-Bug: #1895759
    (cherry picked from commit aca5b42d81bf3ec422ea6452027f3527c3b5443b)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/senlin 8.0.1

This issue was fixed in the openstack/senlin 8.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/senlin 9.0.1

This issue was fixed in the openstack/senlin 9.0.1 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.