glance-registry process spins if rsyslog restarted with syslog logging enabled
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
glance (Ubuntu) | ||||||
Trusty |
Invalid
|
Undecided
|
Unassigned | |||
Utopic |
Invalid
|
Undecided
|
Unassigned | |||
Vivid |
Invalid
|
Undecided
|
Unassigned | |||
Wily |
Invalid
|
Undecided
|
Unassigned | |||
python-eventlet (Ubuntu) |
Fix Released
|
High
|
Unassigned | |||
Trusty |
Fix Released
|
High
|
Unassigned | |||
Utopic |
Fix Released
|
High
|
Unassigned | |||
Vivid |
Fix Released
|
High
|
Unassigned | |||
Wily |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Glance, when configured to log to syslog, will spin consuming 100% cpu if syslog is restarted, locking all function.
[Test Case]
Install OpenStack Glance as part of a OpenStack Cloud
Configure to log to syslog
Restart syslog (sudo service rsyslog restart)
[Regression Potential]
Minimal - disconnected sockets are added to the list of types to re-raise exceptions for.
[Original Bug Report]
When configured to log to syslog, if the rsyslog process is restarted, then the glance-registry process goes into a spin, consuming 100% of CPU - strace:
poll([{fd=3, events=
sendto(3, "<14>2015-05-06 14:58:16.186 2579"..., 112, 0, NULL, 0) = -1 ENOTCONN (Transport endpoint is not connected)
gettimeofday(
poll([{fd=3, events=
sendto(3, "<14>2015-05-06 14:58:16.186 2579"..., 112, 0, NULL, 0) = -1 ENOTCONN (Transport endpoint is not connected)
This maybe related to bug 1081022 but that should have only impacted 12.04 deployments.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: glance-registry 1:2014.1.4-0ubuntu2
ProcVersionSign
Uname: Linux 3.13.0-51-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
Date: Wed May 6 15:00:00 2015
Ec2AMI: ami-00000350
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small.osci
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitec
SourcePackage: glance
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
modified.
Changed in python-eventlet (Ubuntu Utopic): | |
status: | New → Confirmed |
description: | updated |
Using the reproducer on bug 1081022 would indicate that this is something different, as the installation does not exhibit quite the same issue.