[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.
[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] pxe-files import_ ephemerals and add STREAM="daily" pxe-files again, it will download a newer ephemeral image and will fail to install it. pxe-files again, and it will install the image successfully.
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.