detect_ipmi needs improvement. detects non-existant device in nested kvm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Andres Rodriguez | ||
1.2 |
Fix Released
|
High
|
Julian Edwards | ||
maas (Ubuntu) |
Fix Released
|
High
|
Andres Rodriguez | ||
Precise |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Won't Fix
|
High
|
Andres Rodriguez | ||
Raring |
Fix Released
|
High
|
Andres Rodriguez |
Bug Description
I attempted to enlist and then commission a kvm node.
kvm does not present ipmi devices.
http://
Then, after that I tried simply
$ time sudo bmc-config --checkout --k
ey-pair=
Unable to get Number of Users
real 10m0.108s
user 2m34.858s
sys 0m48.795s
so a commissioning attempt of a node without ipmi will be delayed by 10 minutes.
[Impact]
This bug causes MAAS to try to detect IPMI on KVM Virtual Machines. This causes a long delay on the enlistment and commissioning process.
[Test Case]
1. Install MAAS
2. Enlist/Commission a machine.
(Without the fix, the machine will take 10+ minutes to enlist/commission. With the fix, it will do it within a couple of minutes)
[Regression Potential]
Minimal. This change simply checks whether the enlisting/
Related branches
- Gavin Panella (community): Approve
-
Diff: 37 lines (+14/-2)2 files modifiedcontrib/preseeds_v2/enlist_userdata (+7/-1)
src/metadataserver/commissioning/user_data.template (+7/-1)
- Julian Edwards (community): Approve
-
Diff: 37 lines (+14/-2)2 files modifiedcontrib/preseeds_v2/enlist_userdata (+7/-1)
etc/maas/commissioning-user-data (+7/-1)
Changed in maas: | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas: | |
milestone: | none → 12.10 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
milestone: | 12.10 → 12.10-stabilization |
Changed in maas: | |
milestone: | 12.10-stabilization → none |
Changed in maas (Ubuntu Precise): | |
status: | New → Triaged |
Changed in maas (Ubuntu Quantal): | |
status: | New → Triaged |
Changed in maas (Ubuntu Raring): | |
status: | New → Triaged |
Changed in maas (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in maas (Ubuntu Quantal): | |
importance: | Undecided → High |
Changed in maas (Ubuntu Raring): | |
importance: | Undecided → High |
Changed in maas (Ubuntu Precise): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas (Ubuntu Quantal): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas (Ubuntu Raring): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas: | |
status: | Triaged → Fix Released |
description: | updated |
Changed in maas (Ubuntu Precise): | |
status: | Triaged → New |
Changed in maas (Ubuntu Precise): | |
assignee: | Andres Rodriguez (andreserl) → nobody |
tags: |
added: verification-done removed: verification-needed |
http:// paste.ubuntu. com/1269612/
$ sudo ipmi-locate
sudo: unable to resolve host 192-168-77-5
Probing KCS device using DMIDECODE... FAILED
Probing SMIC device using DMIDECODE... FAILED
Probing BT device using DMIDECODE... FAILED
Probing SSIF device using DMIDECODE... FAILED
Probing KCS device using SMBIOS... FAILED
Probing SMIC device using SMBIOS... FAILED
Probing BT device using SMBIOS... FAILED
Probing SSIF device using SMBIOS... FAILED
Probing KCS device using ACPI... FAILED
Probing SMIC device using ACPI... FAILED
Probing BT device using ACPI... FAILED
Probing SSIF device using ACPI... FAILED
Probing KCS device using PCI... FAILED
Probing SMIC device using PCI... FAILED
Probing BT device using PCI... FAILED
Probing SSIF device using PCI... FAILED
KCS device default values:
IPMI Version: 1.5
IPMI locate driver: DEFAULT
IPMI interface: KCS
BMC driver device:
BMC I/O base address: 0xCA2
Register spacing: 1
SMIC device default values:
IPMI Version: 1.5
IPMI locate driver: DEFAULT
IPMI interface: SMIC
BMC driver device:
BMC I/O base address: 0xCA9
Register spacing: 1
BT device default values:
SSIF device default values:
IPMI Version: 1.5
IPMI locate driver: DEFAULT
IPMI interface: SSIF
BMC driver device: /dev/i2c-0
BMC SMBUS slave address: 0x42
Register spacing: 1
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : AMD Phenom(tm) 9550 Quad-Core Processor
stepping : 3
microcode : 0x1000065
cpu MHz : 2399.998
cache size : 512 KB
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb lm 3dnowext 3dnow up rep_good nopl extd_apicid pni cx16 popcnt hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch npt
bogomips : 4799.99
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: