maas-import-pxe-files fails to update ephemeral images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Unassigned |
Bug Description
Wed, 22 May 2013 21:54:59 +0100: finished. wrote to /var/lib/
cmd failed: maas-provision install-pxe-image --arch=amd64 --subarch=generic --release=precise --purpose=
Traceback (most recent call last):
File "/usr/lib/
"__main__", fname, loader, pkg_name)
File "/usr/lib/
exec code in run_globals
File "/usr/lib/
main()
File "/usr/lib/
self.
File "/usr/lib/
args.
File "/usr/lib/
install_
File "/usr/lib/
os.symlink(old, sdest)
OSError: [Errno 17] File exists
failed to install tftp image [rel: precise, arch: amd64: name: maas-precise-
[Impact]
If new ephemeral images are ready to be installed, maas-import-* scripts fail because it cannot overwrite a symlink that has been created to support FPI. This prevents maas from importing new ephemeral images.
[Test Case]
1. Install maas.
2. maas-import-
3. edit /etc/maas/
4. run maas-import-
5. Apply the fix.
6. Run maas-import-
[Regression Potential]
Minimal, this make sure that a new image being imported gets installed successfully.
Changed in maas (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in maas (Ubuntu Raring): | |
importance: | Undecided → High |
Changed in maas (Ubuntu): | |
status: | Confirmed → Fix Committed |
description: | updated |
This bug was fixed in the package maas - 1.3+bzr1461+ dfsg-0ubuntu3
--------------- dfsg-0ubuntu3) saucy; urgency=low
maas (1.3+bzr1461+
* debian/patches: ipmi-stat- lp1086160. patch: Drop. The following patch removes ipmi-lp1171418. patch: Do not check current node state when comissioning- lp1131418. patch: Fixes the commissioning process, raring- images- lp1182642. patch: Enables the import of raring new-image- install- lp1182646. patch: Fixes the installation of
- 99-fix-
the need for this fix. (LP: #1171988)
- 99-fix-
executing an ipmi command, which ensures that nodes are always
turned on/off regardless of their power state. This fixes corner
cases found when running automated tests. (LP: #1171418)
- 99-fix-
allowing nodes to successfully commission, when tag's with no
definition have been created. This issue will only appear when these
special tags are created. (LP: #1131418)
- 99-import-
images by default (LP: #1182642)
- 99-fix-
new ephemeral images, that fail due to not being able to overwrite
a symlink. (LP: #1182646)
-- Andres Rodriguez <email address hidden> Tue, 23 Apr 2013 14:02:33 -0400