** Description changed: + Wed, 22 May 2013 21:54:59 +0100: finished. wrote to /var/lib/maas/ephemeral/.working/maas-import-ephemerals.mnccmE/precise/amd64/dist-root.tar.gz + cmd failed: maas-provision install-pxe-image --arch=amd64 --subarch=generic --release=precise --purpose=commissioning --image=/tmp/tmp.KQXnCcCqmc --symlink=xinstall + Traceback (most recent call last): + File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main + "__main__", fname, loader, pkg_name) + File "/usr/lib/python2.7/runpy.py", line 72, in _run_code + exec code in run_globals + File "/usr/lib/python2.7/dist-packages/provisioningserver/__main__.py", line 39, in <module> + main() + File "/usr/lib/python2.7/dist-packages/provisioningserver/utils.py", line 400, in __call__ + self.execute(argv) + File "/usr/lib/python2.7/dist-packages/provisioningserver/utils.py", line 395, in execute + args.handler.run(args) + File "/usr/lib/python2.7/dist-packages/provisioningserver/pxe/install_image.py", line 165, in run + install_dir(args.image, destination, args.symlink) + File "/usr/lib/python2.7/dist-packages/provisioningserver/pxe/install_image.py", line 127, in install_dir + os.symlink(old, sdest) + OSError: [Errno 17] File exists + failed to install tftp image [rel: precise, arch: amd64: name: maas-precise-daily-amd64-ephemeral-20130520] + + [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-pxe-files 3. edit /etc/maas/import_ephemerals and add STREAM="daily" 4. run maas-import-pxe-files again, it will download a newer ephemeral image and will fail to install it. 5. Apply the fix. 6. Run maas-import-pxe-files again, and it will install the image successfully. [Regression Potential] Minimal, this make sure that a new image being imported gets installed successfully.
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1182646 Title: maas-import-pxe-files fails to update ephemeral images To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1182646/+subscriptions -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
