df99dea001
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
26 lines
1.1 KiB
YAML
26 lines
1.1 KiB
YAML
---
|
|
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.
|