Newton Series Release Notes¶
14.2.15¶
Known Issues¶
For all newton releases up to 14.2.14 when executing the os-nova-install.yml playbook the
nova-novncproxyandnova-spicehtml5proxyservices will fail. The workaround to resolve this issue is to restart the services.cd /opt/rpc-openstack/openstack-ansible/playbooks # start the service again # replace nova-novncproxy with nova-spicehtml5proxy when appropriate ansible nova_console -m service -a 'name=nova-novncproxy state=restarted' # set the appropriate facts to prevent the playbook trying # to reload it again when the playbook is run again ansible nova_console -m ini_file -a 'dest=/etc/ansible/facts.d/openstack_ansible.fact section=nova option=need_service_restart value=False'
This issue has been resolved in the 14.2.15 release.
14.2.8¶
New Features¶
The
os_novarole now provides for doing online data migrations once the db sync has been completed. The data migrations will not be executed until the boolean variablenova_all_software_updatedis true. This variable will need to be set by the playbook consuming the role.
14.2.4¶
New Features¶
Removed dependency for
cinder_backends_rbd_inusein nova.conf when settingrbd_userandrbd_secret_uuidvariables. Cinder delivers all necessary values via RPC when attaching the volume, so those variables are only necessary for ephemeral disks stored in Ceph. These variables are required to be set up on cinder-volume side under backend section.
New variables have been added to allow a deployer to customize a nova systemd unit file to their liking.
The task dropping the nova systemd unit files now uses the
config_templateaction plugin allowing deployers access to customize the unit files as they see fit without having to load extra options into the defaults and polute the generic systemd unit file with jinja2 variables and conditionals.
For the
os_novarole, the systemd unitTimeoutSecvalue which controls the time between sending a SIGTERM signal and a SIGKILL signal when stopping or restarting the service has been reduced from 300 seconds to 120 seconds. This provides 2 minutes for long-lived sessions to drain while preventing new ones from starting before a restart or a stop. TheRestartSecvalue which controls the time between the service stop and start when restarting has been reduced from 150 seconds to 2 seconds to make the restart happen faster. These values can be adjusted by using thenova_*_init_config_overridesvariables which use theconfig_templatetask to change template defaults.
Upgrade Notes¶
For the
os_novarole, the systemd unitTimeoutSecvalue which controls the time between sending a SIGTERM signal and a SIGKILL signal when stopping or restarting the service has been reduced from 300 seconds to 120 seconds. This provides 2 minutes for long-lived sessions to drain while preventing new ones from starting before a restart or a stop. TheRestartSecvalue which controls the time between the service stop and start when restarting has been reduced from 150 seconds to 2 seconds to make the restart happen faster. These values can be adjusted by using thenova_*_init_config_overridesvariables which use theconfig_templatetask to change template defaults.
14.2.2¶
Bug Fixes¶
Nova features that use libguestfs (libvirt password/key injection) now work on compute hosts running Ubuntu. When Nova is deployed to Ubuntu compute hosts and either
nova_libvirt_inject_keyornova_libvirt_inject_passwordare set to True, then kernels stored in /boot/vmlinuz-* will be made readable to nova user. See launchpad bug 1507915.
14.0.7¶
New Features¶
The filename of the apt source for the ubuntu cloud archive can now be defined with the variable
uca_apt_source_list_filename.
14.0.6¶
Bug Fixes¶
Setup for the PowerVM driver was not properly configuring the system to support RMC configuration for client instances. This fix introduces an interface template for PowerVM that properly supports mixed IPV4/IPV6 deploys and adds documentation for PowerVM RMC. For more information see bug 1643988.
14.0.4¶
Upgrade Notes¶
The variables
nova_requirements_git_repoandnova_requirements_git_install_branchhave been removed in favour of using the URL/path to the upper-constraints file using the variablepip_install_upper_constraintsinstead.
The variables
nova_lxd_requirements_git_repoandnova_lxd_requirements_git_install_branchhave been removed in favour of using the URL/path to the upper-constraints file using the variablepip_install_upper_constraintsinstead.
14.0.2¶
Bug Fixes¶
The URL of NovaLink uses ‘ftp’ protocol to provision apt key. It causes apt_key module to fail to retrieve NovaLink gpg public key file. Therefore, change the protocol of URL to ‘http’. For more information, see bug 1637348.
14.0.0¶
New Features¶
The os_nova role can now deploy the nova-lxd hypervisor. This can be achieved by setting
nova_virt_typetolxdon a per-host basis inopenstack_user_config.ymlor on a global basis inuser_variables.yml.
The os_nova role can now deploy the a custom /etc/libvirt/qemu.conf file by defining
qemu_conf_dict.
The os_nova role can now detect a PowerNV environment and set the virtualization type to ‘kvm’.
The nova SSH public key distribution has been made a lot faster especially when deploying against very large clusters. To support larger clusters the role has moved away from the “authorized_key” module and is now generating a script to insert keys that may be missing from the authorized keys file. The script is saved on all nova compute nodes and can be found at
/usr/local/bin/openstack-nova-key.sh. If ever there is a need to reinsert keys or fix issues on a given compute node the script can be executed at any time without directly running the ansible playbooks or roles.
The os_nova role can now detect and support basic deployment of a PowerVM environment. This sets the virtualization type to ‘powervm’ and installs/updates the PowerVM NovaLink package and nova-powervm driver.
Nova UCA repository support is implemented by default. This will allow the users to benefit from the updated packages for KVM. The
nova_uca_enablevariable controls the install source for the KVM packages. By default this value is set toTrueto make use of UCA repository. User can set toFalseto disable.
The os_nova role now supports the ability to configure whether apt/yum tasks install the latest available package, or just ensure that the package is present. The default action is to ensure that the latest package is present. The action taken may be changed to only ensure that the package is present by setting
nova_package_statetopresent.
Upgrade Notes¶
Adding a new nova.conf entry, live_migration_uri. This entry will default to a
qemu-ssh://uri, which uses the ssh keys that have already been distributed between all of the compute hosts.
Cleanup tasks are added to remove the nova console git directories
/usr/share/novncand/usr/share/spice-html5, prior to cloning these inside the nova vnc and spice console playbooks. This is necessary to guarantee that local modifications do not break git clone operations, especially during upgrades.
Installation of nova and its dependent pip packages will now only occur within a Python virtual environment. The
nova_venv_enabled,nova_venv_binvariables have been removed.
The os_nova role always checks whether the latest package is installed when executed. If a deployer wishes to change the check to only validate the presence of the package, the option
nova_package_stateshould be set topresent.
The database create and user creates have been removed from the
os_novarole. These tasks have been relocated to the playbooks.
The following variables have been renamed in order to make the variable names neutral for multiple operating systems.
nova_apt_packages -> nova_distro_packages
nova_spice_apt_packages -> nova_spice_distro_packages
nova_novnc_apt_packages -> nova_novnc_distro_packages
nova_compute_kvm_apt_packages -> nova_compute_kvm_distro_packages
Bug Fixes¶
The
/var/lib/libvirt/qemu/savedirectory is now a symlink to{{ nova_system_home_folder }}/saveto resolve an issue where the default location used by the libvirt managed save command can result with the root partitions on compute nodes becoming full whennova image-createis run on large instances.
Other Notes¶
nova_libvirt_live_migration_flagis now phased out. Please create a nova configuration override withlive_migration_tunnelled: Trueif you want to force the flagVIR_MIGRATE_TUNNELLEDto libvirt. Nova “chooses a sensible default” otherwise.
nova_compute_manageris now phased out.