bay-create takes too long to return

Bug #1540646 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
hongbin

Bug Description

Before the commit 873214b6e2d8f206ba4a2750e911998c2000745a

$ time magnum bay-create --name k8sbay --baymodel k8sbaymodel --node-count 1
...
real 0m3.801s
user 0m0.526s
sys 0m0.092s

After the commit:

$ time magnum bay-create --name k8sbay --baymodel k8sbaymodel --node-count 1
...
real 0m20.026s
user 0m0.521s
sys 0m0.094s

The command takes 3 second before, while takes 20 second after which is too long.

hongbin (hongbin034)
Changed in magnum:
assignee: nobody → hongbin (hongbin034)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/274910

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

Reviewed: https://review.openstack.org/274910
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=317153a46463fea95c7914f0087374d8e39e6caa
Submitter: Jenkins
Branch: master

commit 317153a46463fea95c7914f0087374d8e39e6caa
Author: Hongbin Lu <email address hidden>
Date: Mon Feb 1 17:06:22 2016 -0500

    Revert "Fix socket descriptor leak"

    Several commands take much longer to complete after that commit.
    Therefore, we should revert that specific commit first, and
    investigate root cause before merging it back.

    This reverts commit 873214b6e2d8f206ba4a2750e911998c2000745a.

    Closes-Bug: #1540646
    Change-Id: I0eb12f76e93fb1675c78bf60367db534061aceb1

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

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