Connection pool is full when boot an instance

Bug #1497949 reported by Lan Qi song
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-docker
Fix Committed
Undecided
Unassigned

Bug Description

When I tried to boot an instance on an host which already have lots of containers (> 500), and there are lots of following logs in nova-compute.log:

2015-09-15 04:05:03.681 8975 WARNING requests.packages.urllib3.connectionpool [-] Connection pool is full, discarding connection: localhost

This is because currently each time we boot an instance and attach the interface , novadocker will inspect all the instance to match the correct container( By host name), that would take too much time and waste too much connection.

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

Reviewed: https://review.openstack.org/225623
Committed: https://git.openstack.org/cgit/stackforge/nova-docker/commit/?id=33643b24a1090efb26d968e318f3f7878a7e958a
Submitter: Jenkins
Branch: master

commit 33643b24a1090efb26d968e318f3f7878a7e958a
Author: lqslan <lqslan.cn.ibm.com>
Date: Mon Sep 21 10:41:57 2015 +0000

    Find container by uuid instead of by name

    Currently, when boot a container, novadocker will create the container firstly,
    then attach the interface, this step novadocker will loop to inspect all the
    containers to find the right one. This takes too much time and docker connections.

    This patch use find container by uuid instead of by name, this way would save much
    time and connections.

    Change-Id: I1cdf672e99b269b1f7e18d1a73a6557c7eb0540a
    Closes-Bug: #1497949

Changed in nova-docker:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to nova-docker (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/227112

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova-docker (master)

Change abandoned by Lan Qi Song (<email address hidden>) on branch: master
Review: https://review.openstack.org/227112
Reason: No need this change now.

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.