Ephemeral environments using the wrong kernel
Bug #1656425 reported by
Lee Trager
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Lee Trager | ||
2.1 |
Fix Released
|
Critical
|
Lee Trager |
Bug Description
Intermittently the ephemeral environment booted by MAAS uses the wrong kernel. The deployed system does use the right kernel. Clearing the boot-resources on the rack(rm -rf /var/lib/
Related branches
lp:~ltrager/maas/lp1656425
- Gavin Panella (community): Approve
-
Diff: 291 lines (+144/-33)2 files modifiedsrc/provisioningserver/import_images/download_resources.py (+25/-3)
src/provisioningserver/import_images/tests/test_download_resources.py (+119/-30)
lp:~ltrager/maas/lp1656425_2.1
- Lee Trager (community): Approve
-
Diff: 303 lines (+145/-33)3 files modifieddocs/changelog.rst (+1/-0)
src/provisioningserver/import_images/download_resources.py (+25/-3)
src/provisioningserver/import_images/tests/test_download_resources.py (+119/-30)
Changed in maas: | |
status: | Confirmed → Fix Committed |
Changed in maas: | |
milestone: | 2.1.3 → 2.1.4 |
To post a comment you must log in.
This appears to be a problem with how the rack controller is creating the hard links in /var/lib/ maas/boot- resources/ current. The attached script stops the rack, clears the boot-resources, restarts the rack, once the rack finishes checks that the ga-16.04 kernel is hard linked to the correct file using the SHA256 found in metadata stream. 32/100 times the rack controller links the ga-16.04 kernel incorrectly. I've confirmed the region is correctly downloading and serving all files.