Ocata Series Release Notes¶
This release includes fixes for security vulnerabilities.
The 15.0.1 Ocata release contains fixes for several high severity, high impact bugs. If you have not yet upgraded to 15.0.0, it is recommended to upgrade directly to 15.0.1.
- There is a known regression in Ocata reported in bug 1671648 where server build failures on a compute node are not retried on another compute node. The fix for this bug is being worked and will be provided shortly in a 15.0.2 release.
Bug 1670627 is fixed. This bug led to potential over-quota errors after several failed server build attempts, resulting in quota usage to reach the limit even though the servers were deleted.
nova-manage project quota_usage_refreshcommand will not reset the usages to fix this problem once encountered.
If the project should not have any outstanding resource usage, then one possible workaround is to delete the existing quota usage for the project:
``nova quota-delete --tenant <tenant_id>``
That will cleanup the
reservationstables for the given project in the
novadatabase and reset the quota limits for the project back to the defaults defined in nova.conf.
- Fixes bug 1670522 which was a regression in the 15.0.0 Ocata release.
For compute nodes running the libvirt driver with
virt_typenot set to “kvm” or “qemu”, i.e. “xen”, creating servers will fail by default if libvirt >= 1.3.3 and QEMU >= 2.7.0 without this fix.
- Bug 1665263 is fixed. This was a regression where
instance.delete.endnotifications were not emitted when deleting an instance in
ERRORstate due to a failed build.
Neutron is now the default configuration for new deployments.
The 15.0.0 release includes many new features and bug fixes. It is difficult to cover all the changes that have been introduced. Please at least read the upgrade section which describes the required actions to upgrade your cloud from 14.0.0 (Newton) to 15.0.0 (Ocata).
That said, a few major changes are worth mentioning. This is not an exhaustive list:
- The latest API microversion supported for Ocata is v2.42. Details on REST API microversions added since the 14.0.0 Newton release can be found in the REST API Version History page.
- The Nova FilterScheduler driver is now able to make scheduling
decisions based on the new Placement RESTful API endpoint that becomes
mandatory in Ocata. Accordingly, the compute nodes will
refuse to start if you do not amend the configuration to add the
[placement]section so they can provide their resource usage. For the moment, only CPU, RAM and disk resource usage are verified by the Placement API, but we plan to add more resource classes in the next release. You will find further details in the features and upgrade sections below, and the Placement API page.
- Ocata contains a lot of new CellsV2 functions, but not all of it is fully ready for production. All deployments must set up their existing nodes as a cell, with database connection and MQ transport_url config items matching that cell. In a subsequent release, additional cells will be fully supported, as will a migration path for CellsV1 users. By default, an Ocata deployment now needs to configure at least one new “Cell V2” (not to be confused with the first version of cells). In Newton, it was possible to deploy a single cell V2 and schedule on it but this was optional. Now in Ocata, single CellsV2 deployments are mandatory. More details to be found when reading the release notes below.
- There is a new nova-status command that gives operators a better view of their cloud. In particular, a new subcommand called “upgrade” allows operators to run a pre-flight check on their deployment before upgrading. This helps them to proactively identify potential upgrade issues that could occur.
- Updates the network metadata that is passed to configdrive by the Ironic virt driver. The metadata now includes network information about port groups and their associated ports. It will be used to configure port groups on the baremetal instance side.
- Adding aarch64 to the list of supported architectures for NUMA and hugepage features. This requires libvirt>=1.2.7 for NUMA, libvirt>=1.2.8 for hugepage and qemu v2.1.0 for both.
- OSProfiler support was added. This cross-project profiling library allows to trace various OpenStack requests through all OpenStack services that support it. To initiate OpenStack request tracing –profile <HMAC_KEY> option needs to be added to the CLI command. This key needs to present one of the secret keys defined in nova.conf configuration file with hmac_keys option under the [profiler] configuration section. To enable or disable Nova profiling the appropriate enabled option under the same section needs to be set either to True or False. By default Nova will trace all API and RPC requests, but there is an opportunity to trace DB requests as well. For this purpose trace_sqlalchemy option needs to be set to True. As a prerequisite OSProfiler library and its storage backend needs to be installed to the environment. If so (and if profiling is enabled in nova.conf) the trace can be generated via following command, for instance - $ nova –profile SECRET_KEY boot –image <image> –flavor <flavor> <name>. At the end of output there will be message with <trace_id>, and to plot nice HTML graphs the following command should be used - $ osprofiler trace show <trace_id> –html –out result.html
- The following versioned swap volume notifications have been added
in the compute manager:
- Support for archiving all deleted rows from the database has
been added to the
nova-manage db archive_deleted_rowscommand. The
--until-completeoption will continuously run the process until no more rows are available for archiving.
- Virtuozzo hypervisor now supports ephemeral disks for containers.
- Support versioned notifications for flavor operations like create, delete, update access and update extra_specs.
The Hyper-V driver now supports the following quota flavor extra specs, allowing to specify IO limits applied for each of the instance local disks, individually.
- quota:disk_total_iops_sec - those are normalized IOPS, thus each IO request is accounted for as 1 normalized IO if the size of the request is less than or equal to a predefined base size (8KB).
Also, the following Cinder front-end QoS specs are now supported for SMB Cinder backends:
- total_iops_sec - normalized IOPS
- The Hyper-V driver now uses os-brick for volume related
operations, introducing the following new features:
- Attaching volumes over fibre channel on a passthrough basis.
- Improved iSCSI MPIO support, by connecting to multiple iSCSI targets/portals when available and allowing using a predefined list of initiator HBAs.
- Adds trigger crash dump support to ironic virt driver. This feature requires the Ironic service to support API version 1.29 or later. It also requires python-ironicclient >= 1.11.0.
- Adds soft reboot support to Ironic virt driver. If hardware driver in Ironic doesn’t support soft reboot, hard reboot is tried. This feature requires the Ironic service to support API version 1.27 or later. It also requires python-ironicclient >= 1.10.0.
- Adds soft power off support to Ironic virt driver. This feature requires the Ironic service to support API version 1.27 or later. It also requires python-ironicclient >= 1.10.0.
- Virtuozzo hypervisor now supports libvirt callback to set admin password. Requires libvirt>=2.0.0.
- The XenServer compute driver now supports hot-plugging virtual network interfaces.
- The same policy rule (os_compute_api:os-server-groups) was being used for all actions (show, index, delete, create) for server_groups REST APIs. It was thus impossible to provide different RBAC for specific actions based on roles. To address this changes were made to have separate policy rules for each action. The original rule (os_compute_api:os-server-groups) is left unchanged for backward compatibility.
- The libvirt driver now has a
live_migration_schemeconfiguration option which should be used where the
live_migration_uriwould previously have been configured with non-default scheme.
- The nova Hyper-V driver can now plug OVS VIFs. This means that neutron-ovs-agent can be used as an L2 agent instead of neutron-hyperv-agent. In order to plug OVS VIFs, the configuration option “vswitch_name” from the “hyperv” section must be set to the vSwitch which has the OVS extension enabled. Hot-plugging is only supported on Windows / Hyper-V Server 2016 + Generation 2 VMs. Older Hyper-V versions only support attaching vNICs while the VM is turned off.
The nova Hyper-V driver now supports adding PCI passthrough devices to Hyper-V instances (discrete device assignment). This feature has been introduced in Windows / Hyper-V Server 2016 and offers the possibility to attach some of the host’s PCI devices (e.g.: GPU devices) directly to Hyper-V instances. In order to benefit from this feature, Hyper-V compute nodes must support SR-IOV and must have assignable PCI devices. This can easily be checked by running the following powershell commands:
Start-BitsTransfer https://raw.githubusercontent.com/Microsoft/Virtualization-Documentation/master/hyperv-samples/benarm-powershell/DDA/survey-dda.ps1 .\survey-dda.ps1
The script above will print a list of assignable PCI devices available on the host, and if the host supports SR-IOV.
If the host supports this feature and it has at least an assignable PCI device, the host must be configured to allow those PCI devices to be assigned to VMs. For information on how to do this, follow this guide .
After the compute nodes have been configured, the nova-api, nova-scheduler, and the nova-compute services will have to be configured next .
 https://blogs.technet.microsoft.com/heyscriptingguy/2016/07/14/passing-through-devices-to-hyper-v-vms-by-using-discrete-device-assignment/  http://docs.openstack.org/admin-guide/compute-pci-passthrough.html
- Added boot order support in the Hyper-V driver. The HyperVDriver can now set the requested boot order for instances that are Generation 2 VMs (the given image has the property “hw_machine_type=hyperv-gen2”). For Generation 1 VMs, the spawned VM’s boot order is changed only if the given image is an ISO, booting from ISO first.
- The nova Hyper-V driver now supports symmetric NUMA topologies. This means that all the NUMA nodes in the NUMA topology must have the same amount of vCPUs and memory. It can easily be requested by having the flavor extra_spec “hw:numa_nodes”, or the image property “hw_numa_nodes”. An instance with NUMA topology cannot have dynamic memory enabled. Thus, if an instance requires a NUMA topology, it will be spawned without dynamic memory, regardless of the value set in the “dynamic_memory_ratio” config option in the compute node’s “nova.conf” file. In order to benefit from this feature, the host’s NUMA spanning must be disabled. Hyper-V does not guarantee CPU pinning, thus, the nova Hyper-V driver will not spawn instances with the flavor extra_spec “hw:cpu_policy” or image property “hw_cpu_policy” set to “dedicated”.
- Added support for Hyper-V VMs with UEFI Secure Boot enabled.
In order to create such VMs, there are a couple of things to consider:
- Images should be prepared for Generation 2 VMs. The image property “hw_machine_type=hyperv-gen2” is mandatory.
- The guest OS type must be specified in order to properly spawn the VMs. It can be specifed through the image property “os_type”, and the acceptable values are “windows” or “linux”.
- The UEFI Secure Boot feature can be requested through the image property “os_secure_boot” (acceptable values: “disabled”, “optional”, “required”) or flavor extra spec “os:secure_boot” (acceptable values: “disabled”, “required”). The flavor extra spec will take precedence. If the image property and the flavor extra spec values are conflicting, then an exception is raised.
- This feature is supported on Windows / Hyper-V Server 2012 R2 for Windows guests, and Windows / Hyper-V Server 2016 for both Windows and Linux guests.
- Encryption provider constants have been introduced detailing the supported encryption formats such as LUKs along with their associated in-tree provider implementations. These constants should now be used to identify an encryption provider implementation for a given encryption format.
- Adds serial console support to Ironic driver. Nova now supports serial console to Ironic bare metals for Ironic
socatconsole driver. In order to use this feature, serial console must be configured in Nova and the Ironic
socatconsole driver must be used and configured in Ironic. Ironic serial console configuration is documented in http://docs.openstack.org/developer/ironic/deploy/console.html.
- Live migration is supported for both Virtuozzo containers and virtual machines when using virt_type=parallels.
The following legacy notifications have been transformed to a new versioned payload:
Every versioned notification has a sample file stored under doc/notification_samples directory. Consult http://docs.openstack.org/developer/nova/notifications.html for more information.
- A new
nova-status upgrade checkCLI is provided for checking the readiness of a deployment when preparing to upgrade to the latest release. The tool is written to handle both fresh installs and upgrades from an earlier release, for example upgrading from the 14.0.3 Newton release. There can be multiple checks performed with varying degrees of success. More details on the command and how to interpret results are in the nova-status man page.
All deployments will function as a single-cell environment. Multiple v2 cells are technically possible, but should only be used for testing as many other things will not work across cell boundaries yet. For details on cells v2 and the setup required for Nova with cells v2, see the cells documentation. 
Added microversion v2.40 which introduces pagination support for usage with the help of new optional parameters ‘limit’ and ‘marker’. If ‘limit’ isn’t provided, it will default to the configurable max limit which is currently 1000.
Older microversions will not accept these new paging query parameters, but they will start to silently limit by the max limit to encourage the adoption of this new microversion, and circumvent the existing possibility DoS-like usage requests on systems with thousands of instances.
- Enhance pci.passthrough_whitelist to support regular expression syntax. The ‘address’ field can be regular expression syntax. The old pci.passthrough_whitelist, glob sytnax, is still valid config.
A new Placement API microversion 1.3 is added with support for filtering the list of resource providers to include only those resource providers which are members of any of the aggregates listed by uuid in the member_of query parameter. The parameter is used when making a GET /resource_providers request. The value of the parameter uses the in: syntax to provide a list of aggregate uuids as follows:
If other filtering query parameters are present, the results are a boolean AND of all the filters.
A new Placement API microversion 1.4 is added. Users may now query the Placement REST API for resource providers that have the ability to meet a set of requested resource amounts. The GET /resource_providers API call can have a “resources” query string parameter supplied that indicates the requested amounts of various resources that a provider must have the capacity to serve. The “resources” query string parameter takes the form:
For instance, if the user wishes to see resource providers that can service a request for 2 vCPUs, 1024 MB of RAM and 50 GB of disk space, the user can issue a request of:
The placement API is only available to admin users.
- A new administrator-only resource endpoint was added to the OpenStack Placement REST API for managing custom resource classes. Custom resource classes are specific to a deployment and represent types of quantitative resources that are not interoperable between OpenStack clouds. See the Placement REST API Version History documentation for usage details.
- The nova-policy command line is implemented as a tool to experience the under-development feature policy discovery. User can input the credentials information and the instance info, the tool will return a list of API which can be allowed to invoke. There isn’t any contract for the interface of the tool due to the feature still under-development.
- nova-scheduler process is now calling the placement API in order to get a list of valid destinations before calling the filters. That works only if all your compute nodes are fully upgraded to Ocata. If some nodes are not upgraded, the scheduler will still lookup from the DB instead which is less performant.
- A new 2.41 microversion was added to the Compute API. Users specifying this microversion will now see the ‘uuid’ attribute of aggregates when calling the os-aggregates REST API endpoint.
- As new hosts are added to Nova, the nova-manage cell_v2 discover_hosts command must be run in order to map them into their cell. For deployments with proper automation, this is a trivial extra step in that process. However, for smaller or non-automated deployments, there is a new configuration variable for the scheduler process which will perform this discovery periodically. By setting scheduler.discover_hosts_in_cells_interval to a positive value, the scheduler will handle this for you. Note that this process involves listing all hosts in all cells, and is likely to be too heavyweight for large deployments to run all the time.
VLAN tags associated with instance network interfaces are now exposed via the metadata API and instance config drives and can be consumed by the instance. This is an extension of the device tagging mechanism added in past releases. This is useful for instances utilizing SR-IOV physical functions (PFs). The VLAN configuration for the guest’s virtual interfaces associated with these devices cannot be configured inside the guest OS from the host, but nonetheless must be configured with the VLAN tags of the device to ensure packet delivery. This feature makes this possible.
VLAN tags are currently only supported via the Libvirt driver.
- Added support for Keystone middleware feature where if service token is sent along with the user token, then it will ignore the expiration of user token. This helps deal with issues of user tokens expiring during long running operations, such as live-migration where nova tries to access Cinder and Neutron at the end of the operation using the user token that has expired. In order to use this functionality a service user needs to be created. Add service user configurations in
service_usergroup and set
True. The minimum Keytone API version 3.8 and Keystone middleware version 4.12.0 is required to use this functionality. This only currently works with Nova - Cinder and Nova - Neutron API interactions.
- The vendordata metadata system now caches boot time roles. Some external vendordata services want to provide metadata based on the role of the user who started the instance. It would be confusing if the metadata returned changed later if the role of the user changed, so we cache the boot time roles and then pass those to the external vendordata service.
- The vendordata metadata system now supports a hard failure mode. This can
be enabled using the
api.vendordata_dynamic_failure_fatalconfiguration option. When enabled, an instance will fail to start if the instance cannot fetch dynamic vendordata.
- The nova-manage online_data_migrations command now prints a tabular summary of completed and remaining records. The goal here is to get all your numbers to zero. The previous execution return code behavior is retained for scripting.
- When using libvirt driver, vrouter VIFs (OpenContrail) now supports multiqueue mode, which allows to scale network performance across number of vCPUs. To use this feature one needs to create instance with more than 1 vCPU from an image with
hw_vif_multiqueue_enabledproperty set to
- A list of valid vif models is extended for Virtuozzo hypervisor (virt_type=parallels) with VIRTIO, RTL8139 and E1000 models.
- Flavor.projects (access) will not be present in the instance versioned notifications since notifications currently do not lazy-load fields. This limitation is being tracked with bug 1653221.
Ironic nodes that were deleted from ironic’s database during Newton may result in orphaned resource providers causing incorrect scheduling decisions, leading to a reschedule. If this happens, the orphaned resource providers will need to be identified and removed.
- The live-migration progress timeout controlled by the configuration option
[libvirt]/live_migration_progress_timeouthas been discovered to frequently cause live-migrations to fail with a progress timeout error, even though the live-migration is still making good progress. To minimize problems caused by these checks we have changed the default to 0, which means do not trigger a timeout. To modify when a live-migration will fail with a timeout error, please now look at
When generating Libvirt XML to attach network interfaces for the tap, ivs, iovisor, midonet, and vrouter virtual interface types Nova previously generated an empty path attribute to the script element (<script path=’‘/>) of the interface.
As of Libvirt 1.3.3 (commit) and later Libvirt no longer accepts an empty path attribute to the script element of the interface. Notably this includes Libvirt 2.0.0 as provided with RHEL 7.3 and CentOS 7.3-1611. The creation of virtual machines with offending interface definitions on a host with Libvirt 1.3.3 or later will result in an error “libvirtError: Cannot find ‘’ in path: No such file or directory”.
Additionally, where virtual machines already exist that were created using earlier versions of Libvirt interactions with these virtual machines via Nova or other utilities (e.g. virsh) may result in similar errors.
To mitigate this issue Nova no longer generates an empty path attribute to the script element when defining an interface. This resolves the issue with regards to virtual machine creation. To resolve the issue with regards to existing virtual machines a change to Libvirt is required, this is being tracked in Bugzilla 1412834
- Once fully upgraded, if you create multiple real cells with hosts, the scheduler will utilize them, but those instances will likely be unusable because not all API functions are cells-aware yet.
- Listing instances across multiple cells with a sort order will result in barber-pole sorting, striped across the cell boundaries.
- API configuration options have been moved to the ‘api’ group. They
should no longer be included in the ‘DEFAULT’ group. Options affected by
console_token_ttlconfiguration option has been moved to the
consoleauthgroup and renamed
token_ttl. It should no longer be included in the
- To allow access to the versions REST API from diverse origins, CORS support has been added to the ‘oscomputeversions’ pipeline in ‘/etc/nova/api-paste.ini’. Existing deployments that wish to enable support should add the ‘cors’ filter at the start of the ‘oscomputeversions’ pipeline.
- The ivs-ctl command has been added to the rootwrap filters in compute.filters. Deployments needing support for BigSwitch no longer need to add the filters manually nor include network.filters at installation.
- All pci configuration options have been added to the ‘pci’ group. They
should no longer be included in the ‘DEFAULT’ group. These options are as
- pci_alias (now pci.alias)
- pci_passthrough_whitelist (now pci.passthrough_whitelist)
All general scheduler configuration options have been added to the
In addition, all filter scheduler configuration options have been added to the
These options should no longer be included in the
The filter and sort query parameters for server list API are now limited according to whitelists. The whitelists are different for admin and non-admin users.
The whitelist for REST API filters for admin users:
- not-tags (available in 2.26+)
- not-tags-any (available in 2.26+)
- tags (available in 2.26+)
- tags-any (available in 2.26+)
For non-admin users, there is a whitelist for filters already. That whitelist is unchanged.
The whitelist for sort keys for admin users:
For non-admin users, the sort key
nodewill be excluded.
HTTP Bad Request 400 will be returned for the filters/sort keys which are on joined tables or internal data model attributes. They would previously cause a HTTP Server Internal Error 500, namely:
In order to maintain backward compatibility, filter and sort parameters which are not mapped to the REST API servers resource representation are ignored.
- The three configuration options
disk_allocation_ratiofor the nova compute are now checked against negative values. If any of these three options is set to negative value then nova compute service will fail to start.
- ‘nova-manage db sync’ can now sync the cell0 database. The cell0 db is required to store instances that cannot be scheduled to any cell. Before the ‘db sync’ command is called, the cell0 database must be created by the operator and a cell mapping for cell0 must be created using ‘nova-manage cell_v2 map_cell0’. This command only needs to be called when upgrading to CellsV2.
- A new nova-manage command has been added which will upgrade a deployment to cells v2. Running the command will setup a single cell containing the existing hosts and instances. No data or instances will be moved during this operation, but new data will be added to the nova_api database. New instances booted after this point will be placed into the cell. Please note that this does not mean that cells v2 is fully functional at this time, but this is a significant part of the effort to get there. The new command is “nova-manage cell_v2 simple_cell_setup –transport_url <transport_url>” where transport_url is the connection information for the current message queue used by Nova. Operators must create a new database for cell0 before running cell_v2 simple_cell_setup. The simple cell setup command expects the name of the cell0 database to be <main database name>_cell0 as it will create a cell mapping for cell0 based on the main database connection, sync the cell0 database, and associate existing hosts and instances with the single cell.
- The default value for the
[xenserver]/vif_driverconfiguration option has been changed to
nova.virt.xenapi.vif.XenAPIOpenVswitchDriverto match the default configuration of
- Support for hw_watchdog_action as a flavor extra spec has been removed. The valid flavor extra spec is hw:watchdog_action and the image property, which takes precedence, is hw_watchdog_action.
- The Ironic driver now requires python-ironicclient>=1.9.0, and requires Ironic service to support API version 1.28 or higher. As usual, Ironic should be upgraded before Nova for a smooth upgrade process.
- As of Ocata, the minimum version of VMware vCenter that nova compute will interoperate with will be 5.1.0. Deployments using older versions of vCenter should upgrade. Running with vCenter version less than 5.5.0 is also now deprecated and 5.5.0 will become the minimum version in the 16.0.0 Pike release of Nova.
console_public_hostnameconsole options under the
DEFAULTgroup have been moved to the
- Following Notifications related configuration options have been moved from
DEFAULTgroup to the
- When making connections to Ceph-backed volumes via the Libvirt driver, the auth values (rbd_user, rbd_secret_uuid) are now pulled from the backing cinder.conf rather than nova.conf. The nova.conf values are only used if set and the cinder.conf values are not set, but this fallback support is considered accidental and will be removed in the Nova 16.0.0 Pike release. See the Ceph documentation for configuring Cinder for RBD auth.
- Nova no longer supports the deprecated Cinder v1 API.
- Ocata requires that your deployment have created the cell and host mappings in Newton. If you have not done this, Ocata’s db sync command will fail. Small deployments will want to run nova-manage cell_v2 simple_cell_setup on Newton before upgrading. Operators must create a new database for cell0 before running cell_v2 simple_cell_setup. The simple cell setup command expects the name of the cell0 database to be <main database name>_cell0 as it will create a cell mapping for cell0 based on the main database connection, sync the cell0 database, and associate existing hosts and instances with the single cell.
- The nova-network service was deprecated in the 14.0.0 Newton release. In
the 15.0.0 Ocata release, nova-network will only work in a Cells v1
deployment. The Neutron networking service is now the default configuration
for new deployments based on the
- Most quota options have been moved into their own
configuration group. The exception is quota_networks
as it is an API flag not a quota flag. These options are as
- The nova-all binary to launch all services has been removed after a deprecation period. It was only intended for testing purposes and not production use. Please use the individual Nova binaries to launch services.
compute_stats_classconfiguration option was deprecated since the 13.0.0 Mitaka release and has been removed. Compute statistics are now always generated from the
nova.compute.stats.Statsclass within Nova.
use_glance_v1option was removed due to plans to remove Glance V1 support during Ocata development.
- The deprecated S3 image backend has been removed.
- XenServer users must now set the value of xenserver.ovs_integration_bridge before they can use the system. Previously this had a default of “xapi1”, which has now been removed, because it is dependent on the environment. The xapi<n> are internal bridges that are incrementally defined from zero and “xapi1” may not be the correct bridge. Operators should set this config value to the integration bridge used between all guests and the compute host in their environment.
scheduler_json_config_locationconfiguration option has not been used since the 13.0.0 Mitaka release and has been removed.
- Configuration options related to the Barbican were deprecated and now
completly removed from
barbicangroup. These options are available in the Castellan library. Following are the affected options:
driverconfiguration option has been removed from
cellsgroup. There is only one possible driver for cells (CellsRPCDriver), which makes this option redundant.
- The deprecated
cert_topicconfiguration option has been removed.
fatal_exception_format_errorsconfiguration option has been removed, as it was only used for internal testing.
- Ironic configuration options that were used for a deprecated Identity v2
API have been removed from
ironicgroup. Below is the detailed list of removed options:
- The concept that
service managerwere replaceable components was deprecated in Mitaka, so following config options are removed.
- In mitaka, an online migration was added to migrate older SRIOV parent device information from extra_info to a new column. Since two releases have gone out with that migration, it is removed in Ocata and operators are expetected to have run it as part of either of the previous two releases, if applicable.
- Since the Placement service is now mandatory in Ocata, you need to deploy it and amend your compute node configuration with correct placement instructions before restarting nova-compute or the compute node will refuse to start.
- If by Newton (14.0.0), you don’t use any of the CoreFilter, RamFilter or DiskFilter, then please modify all your compute node’s configuration by amending either
cpu_allocation_ratio(if you don’t use CoreFilter) or
ram_allocation_ratio(if you don’t use RamFilter) or
disk_allocation_ratio(if you don’t use DiskFilter) by putting a 9999.0 value for the ratio before upgrading the nova-scheduler to Ocata.
- The ‘’use_local’’ option, which made it possible to perform nova-conductor operations locally, has been removed. This legacy mode was introduced to bridge a gap during the transition to the conductor service. It no longer represents a reasonable alternative for deployers.
- The deprecated compute config option
snapshot_name_templatehas been removed. It is not used anywhere and has no effect on any code, so there is no impact.
- The deprecated config option
compute_available_monitorshas been removed from the
DEFAULTconfig section. Use setuptools entry points to list available monitor plugins.
- The following deprecated nova-manage commands have been removed:
nova-manage account scrub
nova-manage fixed *
nova-manage project scrub
nova-manage vpn *
- The following deprecated nova-manage commands have been removed:
- nova-manage vm list
- The ability to load a custom scheduler host manager via the
scheduler_host_managerconfiguration option was deprecated in the 13.0.0 Mitaka release and is now removed in the 14.0.0 Newton release. Host managers can only be selected by name and not by full class path. The allowed values are
- As of Ocata, the minimum version of Virtuozzo that nova compute will interoperate with will be 7.0.0. Deployments using older versions of Virtuozzo should upgrade.
- XenServer plugins have been renamed to include a ‘.py’ extension. Code has been included to handle plugins with and without the extension, but this will be removed in the next release. The plugins with the extension should be deployed on all compute nodes to mitigate any upgrade issues.
- Implemented microversion v2.39 that deprecates image-metadata proxy API, removes image metadata quota checks for ‘createImage’ and ‘createBackup’ actions. After this version Glance configuration option image_property_quota should be used to control the quota of image metadatas. Also, removes the maxImageMeta field from os-limits API response.
- The config options
DEFAULTgroup are now deprecated and may be removed as early as the 16.0.0 release. These options are deprecated to keep API behaviour consistent across deployments.
console_driverconfig opt in the
DEFAULTgroup has been deprecated and will be removed in a future release. This option no longer does anything. Previously this option had only two valid, in-tree values:
nova.console.fake.FakeConsoleProxy. The latter of these was only used in tests and has since been replaced.
[libvirt]/live_migration_progress_timeouthas been deprecated as this feature has been found not to work. See bug 1644248 for more details.
The following options, found in
DEFAULT, were only used for configuring nova-network and are, like nova-network itself, now deprecated.
The following options, found in
quota, are also deprecated.
remap_vbd_devoption is deprecated and will be removed in a future release.
topicconfig options are now deprecated and will be removed in the next release. The deprecated options are as below:
- Deprecate the VMware driver’s
wsdl_locationconfig option. This option pointed to the location of the WSDL files required when using vCenter versions earlier than 5.1. Since the minimum supported version of vCenter is 5.1, there is no longer a need for this option and its value is ignored.
[xenserver]/vif_driverconfiguration option is deprecated for removal. The
XenAPIOpenVswitchDrivervif driver is used for Neutron and the
XenAPIBridgeDrivervif driver is used for nova-network, which itself is deprecated. In the future, the
use_neutronconfiguration option will be used to determine which vif driver to load.
live_migration_urioption in the [libvirt] configuration section is deprecated, and will be removed in a future release. The
live_migration_schemeshould be used to change scheme used for live migration, and
live_migration_inbound_addrshould be used to change target URI.
- The XenServer driver provides support for downloading images via torrents.
This feature has not been tested, and it’s not clear whether there’s a
clear use case for such a feature. As a result, this feature is now
deprecated as are the following config options.
- The direct use of the encryption provider classes such as nova.volume.encryptors.luks.LuksEncryptor is now deprecated and will be blocked in the Pike release of Nova. The use of out of tree encryption provider classes is also deprecated and will be blocked in the Pike release of Nova.
- Nova network was deprecated in Newton and is no longer supported for regular deployments in Ocata. The network service binary will now refuse to start, except in the special case of CellsV1 where it is still required to function.
- OSProfiler support requires passing of trace information between various OpenStack services. This information is securely signed by one of HMAC keys, defined in nova.conf configuration file. To allow cross-project tracing user should use the key, that is common among all OpenStack services he or she wants to trace.
- Prior to Newton, volumes encrypted by the CryptsetupEncryptor and LuksEncryptor encryption providers used a mangled passphrase stripped of leading zeros per hexadecimal. When opening encrypted volumes, LuksEncryptor now attempts to replace these mangled passphrases if detected while CryptsetupEncryptor simply uses the mangled passphrase.
- Fixes bug 1662699 which was a regression in the v2.1 API from the
block_device_mapping_v2.boot_indexvalidation that was performed in the legacy v2 API. With this fix, requests to create a server with
boot_index=Nonewill be treated as if
boot_indexwas not specified, which defaults to meaning a non-bootable block device.
- The Hyper-V driver no longer accepts cold migrating instances to the same host. Note that this does not apply to resizes, in which case this is still allowed.
nova-manage cell_v2 simple_cell_setupcommand now creates the default cell0 database connection using the
[database]connection configuration option rather than the
[api_database]connection. The cell0 database schema is the main database, i.e. the instances table, rather than the api database schema. In other words, the cell0 database would be called something like
- In the context of virtual device role tagging at server create time, the 2.42 microversion restores the tag attribute to networks and block_device_mapping_v2. A bug has caused the tag attribute to no longer be accepted starting with version 2.33 for block_device_mapping_v2 and starting with version 2.37 for networks. In other words, block devices could only be tagged in version 2.32 and network interfaces between versions 2.32 and 2.36 inclusively. Starting with 2.42, both network interfaces and block devices can be tagged again.
- To make live-migration consistent with resize, confirm-resize and revert-resize operations, the migration status is changed to ‘error’ instead of ‘failed’ in case of live-migration failure. With this change the periodic task ‘_cleanup_incomplete_migrations’ is now able to remove orphaned instance files from compute nodes in case of live-migration failures. There is no impact since migration status ‘error’ and ‘failed’ refer to the same failed state.
- The nova metadata service will now pass a nove service token to the
external vendordata server. These options can be configured using various
Keystone-related options available in the
vendordata_dynamic_authgroup. A new service token has been created for this purpose. Previously, the requesting user’s keystone token was passed through to the external vendordata server if available, otherwise no token is passed. This resolves issues with scenarios such as cloud-init’s use of the metadata server on first boot to determine configuration information. Refer to the blueprints at http://specs.openstack.org/openstack/nova-specs/specs/ocata/approved/vendordata-reboot-ocata.html for more information.
- The Placement API can be set to connect to a specific keystone endpoint interface using the
os_interfaceoption in the
nova.conf. This value is not required but can be used if a non-default endpoint interface is desired for connecting to the Placement service. By default, keystoneauth will connect to the “public” endpoint.