summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorArun S A G <sagarun@gmail.com>2021-10-14 17:29:22 -0700
committerArun S A G <sagarun@gmail.com>2021-10-27 10:42:25 -0700
commitdf99dea001772c1c6691150060d3ebbf496e5d25 (patch)
treea9221488c4d716c06874abb614c0c206237ae409 /releasenotes
parent98896c515d5d6faead5aa4be18b31fb5e99e6c16 (diff)
downloadironic-df99dea001772c1c6691150060d3ebbf496e5d25.tar.gz
Fix various issues in the anaconda deploy interface
The kickstart template expects a dictionary with 'ks_options' as the key. Instead build_kickstart_config_options function returns a dict with keys 'liveimg_url', 'agent_token' and 'heartbeat_url'. This change fixes this problem by returning a dictionary of dict with 'ks_options' as key and the dictionary with keys 'liveimg_url', 'agent_token' and heartbeat_url' as value. Fix a bug where the deploy() method of anaconda deploy interface where it did not return states.DEPLOYWAIT instead it returned 'None' which caused the instance to go straight to 'active' instead of 'wait call-back'. Fix issues in the default kickstart template where heartbeat was missing 'callback_url' parameter and the HTTP method should be 'POST' not 'PUT'. Fix issues with automated cleaning when anaconda deploy interface is used. Anaconda deploy interface could not deploy tarballs as the disk image sent to the anaconda interface via liveimg --url kickstart command does not include any file extension. When no file extension is present the kickstart command liveimg --url assumes the disk is a mountable partiton image. We fix this problem by enabling the user to specify file extensions using a glance image property named 'disk_file_extension' on the OS image. Co-Authored-By: Ruby Loo <opensrloo@gmail.com> Change-Id: I556f8c9efbc5ab0941513c3ecaa2aa3ca7f346ae
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/fix-anaconda-deploy-interface-bfa2cfca22b04680.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-anaconda-deploy-interface-bfa2cfca22b04680.yaml b/releasenotes/notes/fix-anaconda-deploy-interface-bfa2cfca22b04680.yaml
new file mode 100644
index 000000000..e791d7fdd
--- /dev/null
+++ b/releasenotes/notes/fix-anaconda-deploy-interface-bfa2cfca22b04680.yaml
@@ -0,0 +1,25 @@
+---
+fixes:
+ - |
+ Fixes a bug in the anaconda deploy interface where the 'ks_options'
+ key was not found when rendering the default kickstart template.
+ - |
+ Fixes issue where PXEAnacondaDeploy interface's deploy() method did not
+ return states.DEPLOYWAIT so the instance went straight to 'active' instead
+ of 'wait call-back'.
+ - |
+ Fixes an issue where the anaconda deploy interface mistakenly expected
+ 'squashfs_id' instead of 'stage2_id' property on the image.
+ - |
+ Fixes the heartbeat mechanism in the default kickstart template
+ ks.cfg.template as the heartbeat API only accepts 'POST' and expects a
+ mandatory 'callback_url' parameter.
+ - |
+ Fixes handling of tarball images in anaconda deploy interface. Allows user
+ specified file extensions to be appended to the disk image symlink. Users
+ can now set the file extensions by setting the 'disk_file_extension'
+ property on the OS image. This enables users to deploy tarballs with
+ anaconda deploy interface.
+ - |
+ Fixes issue where automated cleaning was not supported when anaconda deploy
+ interface is used.