chef-client causes kernel trace on 12.04.1 on EC2 t1.micro

Bug #1054057 reported by Barrie Bremner
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

We are running Opscode chef on our infrastructure, which is 12.04.1 LTS on AWS EC2, using t1.micro, m1.small, m1.large and larger instances.

These instances are built using ami-db595faf (m1.micros) and ami-f3595f87 (all other sizes), referenced at http://cloud-images.ubuntu.com/releases/precise/release-20120822/

We have a reproducible kernel trace on t1.micro instances when chef-client is started. Many defunct chef-client processes are left on the box and the load climbs and remains high (even for a constrained instance like a t1.micro).

Steps to reproduce:

1. Start t1.micro instance on EC2 using ami-db595faf
2. Install omnibus chef package
3. service chef-client start

This has occurred and confirmed with 3.2.0-29-virtual and 3.2.0-31-virtual from precise-proposed. We have seen a trace with 3.2.0-30-virtual, but I haven't verified that trace is the same issue (although it is likely).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-31-virtual 3.2.0-31.50
ProcVersionSignature: Ubuntu 3.2.0-31.50-virtual 3.2.28
Uname: Linux 3.2.0-31-virtual x86_64
AcpiTables:

AlsaDevices:
 total 0
 crw-rw---T 1 root audio 116, 1 Sep 21 12:13 seq
 crw-rw---T 1 root audio 116, 33 Sep 21 12:13 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Fri Sep 21 13:20:17 2012
Ec2AMI: ami-db595faf
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: eu-west-1b
Ec2InstanceType: t1.micro
Ec2Kernel: aki-62695816
Ec2Ramdisk: unavailable
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lspci:

Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: root=LABEL=cloudimg-rootfs ro console=hvc0
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-31-virtual N/A
 linux-backports-modules-3.2.0-31-virtual N/A
 linux-firmware 1.79.1
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
---
AcpiTables:

AlsaDevices:
 total 0
 crw-rw---T 1 root audio 116, 1 Sep 21 12:13 seq
 crw-rw---T 1 root audio 116, 33 Sep 21 12:13 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
DistroRelease: Ubuntu 12.04
Ec2AMI: ami-db595faf
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: eu-west-1b
Ec2InstanceType: t1.micro
Ec2Kernel: aki-62695816
Ec2Ramdisk: unavailable
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lspci:

Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: root=LABEL=cloudimg-rootfs ro console=hvc0
ProcVersionSignature: Ubuntu 3.2.0-31.50-virtual 3.2.28
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-31-virtual N/A
 linux-backports-modules-3.2.0-31-virtual N/A
 linux-firmware 1.79.1
RfKill: Error: [Errno 2] No such file or directory
Tags: precise ec2-images
Uname: Linux 3.2.0-31-virtual x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Barrie Bremner (barrie-bremner) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1054057

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Barrie Bremner (barrie-bremner) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Barrie Bremner (barrie-bremner) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Barrie Bremner (barrie-bremner) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Barrie Bremner (barrie-bremner) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Barrie Bremner (barrie-bremner) wrote : ProcModules.txt

apport information

Revision history for this message
Barrie Bremner (barrie-bremner) wrote : UdevDb.txt

apport information

Revision history for this message
Barrie Bremner (barrie-bremner) wrote : UdevLog.txt

apport information

Revision history for this message
Barrie Bremner (barrie-bremner) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
summary: - chef-client causes kernel trace on 12.04.1 on EC2
+ chef-client causes kernel trace on 12.04.1 on EC2 t1.micro
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This may be a duplicate of bug 927284

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: zap-pte-range
Changed in linux (Ubuntu):
importance: Medium → High
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.6 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. Please only remove that one tag and leave the other tags. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc6-quantal/

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-da-key needs-upstream-testing
Revision history for this message
Barrie Bremner (barrie-bremner) wrote :

Joseph:

Just to confirm you want the 3.6 quantal packages tested, although this is on a precise system which normally runs 3.2?

Revision history for this message
Barrie Bremner (barrie-bremner) wrote :

Nevermind, there are no -virtual mainline kernel images, so cannot be tested on EC2/Xen domU.
Updating tags.

tags: added: kernel-unable-to-test-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
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.