** Description changed:

- 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:
+ [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=POLLOUT|POLLERR|POLLHUP}, {fd=5, 
events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 2, 60000) = 1 ([{fd=3, 
revents=POLLOUT}])
  sendto(3, "<14>2015-05-06 14:58:16.186 2579"..., 112, 0, NULL, 0) = -1 
ENOTCONN (Transport endpoint is not connected)
  gettimeofday({1430924440, 430244}, NULL) = 0
  poll([{fd=3, events=POLLOUT|POLLERR|POLLHUP}, {fd=5, 
events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 2, 60000) = 1 ([{fd=3, 
revents=POLLOUT}])
  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
  ProcVersionSignature: User Name 3.13.0-51.84-generic 3.13.11-ckt18
  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
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small.osci
  Ec2Kernel: aki-00000002
  Ec2Ramdisk: ari-00000002
  PackageArchitecture: all
  SourcePackage: glance
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.glance.glance.registry.conf: [deleted]
  modified.conffile..etc.glance.glance.registry.paste.ini: [deleted]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1452312

Title:
  glance-registry process spins if rsyslog restarted with syslog logging
  enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-eventlet/+bug/1452312/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to