Jira (FACT-1853) facter networking is very slow on OpenStack compute node

4 views
Skip to first unread message

Chris Card (JIRA)

unread,
May 18, 2018, 7:58:02 AM5/18/18
to puppe...@googlegroups.com
Chris Card created an issue
 
Facter / Bug FACT-1853
facter networking is very slow on OpenStack compute node
Issue Type: Bug Bug
Affects Versions: FACT 3.9.3
Assignee: Unassigned
Created: 2018/05/18 4:57 AM
Priority: Normal Normal
Reporter: Chris Card

When run on an OpenStack compute node with more than 1100 interfaces, the command "facter networking" is very slow.

Running with the -d option shows that a subprocess is run for each interface, running /sbin/ip link show <interface>.

This makes puppet runs very slow.

We are running on CentOS 7, with puppet-agent-5.3.3-1.el7.x86_64, facter 3.9.3

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Chris Card (JIRA)

unread,
May 18, 2018, 8:03:02 AM5/18/18
to puppe...@googlegroups.com
Chris Card updated an issue
Change By: Chris Card
When run on an OpenStack compute node with more than 1100 interfaces, the command "facter networking" is very slow.

For example, it takes 140 seconds with about 1170 interfaces.

Running with the -d option shows that a subprocess is run for each interface, running /sbin/ip link show <interface>.

This makes puppet runs very slow.

We are running on CentOS 7, with puppet-agent-5.3.3-1.el7.x86_64, facter 3.9.3

Branan Riley (JIRA)

unread,
May 21, 2018, 2:12:02 PM5/21/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: networking openstack

Branan Riley (JIRA)

unread,
May 21, 2018, 2:16:02 PM5/21/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: networking openstack performance

Branan Riley (JIRA)

unread,
May 21, 2018, 3:59:02 PM5/21/18
to puppe...@googlegroups.com

Mateusz Gozdek (JIRA)

unread,
Oct 17, 2018, 5:54:02 AM10/17/18
to puppe...@googlegroups.com
Mateusz Gozdek commented on Bug FACT-1853
 
Re: facter networking is very slow on OpenStack compute node

I also have problem with this unfortunately, but even for smaller amount of interfaces.

Facter version: 3.11.4 (commit dc7babfd0ad4523a72d3366cd4f4322add9c3b4b)
OS: Arch Linux

I have bunch of docker virtual interfaces and with total of 14, it takes 10 seconds to resolve networking fact. It takes 8 seconds to run `/usr/bin/dhcpcd -U` and then `/usr/bin/ip link show` for all interfaces.

Ciprian Badescu (JIRA)

unread,
Aug 22, 2019, 10:56:02 AM8/22/19
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
 
Change By: Ciprian Badescu
Team: Platform OS Night's Watch

Gabriel Nagy (JIRA)

unread,
Aug 28, 2019, 5:30:03 AM8/28/19
to puppe...@googlegroups.com
Gabriel Nagy commented on Bug FACT-1853
 
Re: facter networking is very slow on OpenStack compute node

Hi Chris Card, Mateusz Gozdek,

We believe this is linked to LTH-162 and how open file descriptors are handled on Linux (GitHub PR). This should be fixed now, and puppet-agent builds with the fix should be available on the nightlies page over the next few days: http://nightlies.puppet.com/

 

Reply all
Reply to author
Forward
0 new messages