We are excited to announce the release of: nova 16.1.1: Cloud computing fabric controller This release is part of the pike release series. Download the package from: https://tarballs.openstack.org/nova/ For more details, please see below. 16.1.1 ^^^^^^ Bug Fixes * The nova-manage discover_hosts command now has a "--by-service" option which allows discovering hosts in a cell purely by the presence of a nova-compute binary. At this point, there is no need to use this unless you're using ironic, as it is less efficient. However, if you are using ironic, this allows discovery and mapping of hosts even when no ironic nodes are present. * prevent swap_volume action if the instance is in state SUSPENDED, STOPPED or SOFT_DELETED. A conflict (409) will be raised now as previously it used to fail silently. Changes in nova 16.1.0..16.1.1 ------------------------------ 9890f3f Only attempt a rebuild claim for an evacuation to a new host 461e42d add check before adding cpus to cpuset_reserved 29b3ead Allow force-delete even if task_state is not None 9a6310d Move _make_instance_list call outside of DB transaction context 26870a0 Add functional regression test for bug 1746509 ad20a87 Always deallocate networking before reschedule if using Neutron 76b9cbd Add --by-service to discover_hosts 7b5cdd7 Revert "Refine waiting for vif plug events during _hard_reboot" 3a083e7 docs: Disable smartquotes 8042150 Avoid exploding if guest refuses to detach a volume 8ebdd91 Return 400 when compute host is not found 685f174 Save admin password to sysmeta in libvirt driver 3299a9a Remove osprofiler tests 8f6371c compute: Cleans up allocations after failed resize 06946b7 Handle spawning error on unshelving 13b598d libvirt: mask InjectionInfo.admin_pass e5a055d Ensure attachment_id always exists for block device mapping b61bf73 Add functional test for deleting BFV server with old attach flow 1e59ed9 Clean up ports and volumes when deleting ERROR instance 72dcdec Add functional tests to ensure BDM removal on delete 51027ab Store block device mappings in cell0 372ecdd Drop extra loop which modifies Cinder volume status 1407079 Lazy-load instance attributes with read_deleted=yes 17b9b90 unquiesce instance on volume snapshot failure 8ce26ba Fix SUSE Install Guide: Placement port 4dbe72f Detach volumes when VM creation fails f510e2e Fix docs for IsolatedHostsFilter fb72385 Handle volume-backed instances in IsolatedHostsFilter 3ff30f4 Add regression test for BFV+IsolatedHostsFilter failure 7a51ffc Do not attempt volume swap when guest is stopped/suspended 91a66c2 doc: fix the link for the evacuate cli e06ad60 Refine waiting for vif plug events during _hard_reboot e521616 Don't launch guestfs in a thread pool if guestfs.debug is enabled 834adea Rollback instance.image_ref on failed rebuild 43c42b6 Handle glance exception during rotating instance backup 4eff706 Fix possible TypeError in VIF.fixed_ips cedcef7 Do not set allocation.id in AllocationList.create_all() e95277f Re-use existing ComputeNode on ironic rebalance 5d76284 [placement] re-use existing conf with auth token middleware 20531db Proper error handling by _ensure_resource_provider Diffstat (except docs and test files) ------------------------------------- api-ref/source/os-volume-attachments.inc | 3 + .../v2.33/hypervisors-detail-resp.json | 2 +- .../v2.33/hypervisors-list-resp.json | 2 +- .../v2.53/hypervisors-detail-resp.json | 2 +- nova/api/openstack/compute/migrate_server.py | 3 +- nova/api/openstack/placement/deploy.py | 6 +- nova/cmd/manage.py | 9 +- nova/compute/api.py | 130 ++++++++--- nova/compute/manager.py | 109 ++++++--- nova/compute/resource_tracker.py | 47 ++++ nova/conductor/manager.py | 31 ++- nova/exception.py | 12 + nova/image/glance.py | 3 + nova/network/model.py | 7 +- nova/objects/host_mapping.py | 52 ++++- nova/objects/instance.py | 19 +- nova/objects/resource_provider.py | 3 +- nova/scheduler/client/report.py | 55 +++-- nova/scheduler/filters/isolated_hosts_filter.py | 5 +- .../v2.33/hypervisors-detail-resp.json.tpl | 2 +- .../v2.33/hypervisors-list-resp.json.tpl | 2 +- .../v2.53/hypervisors-detail-resp.json.tpl | 2 +- .../functional/regressions/test_bug_1404867.py | 83 +++++++ .../functional/regressions/test_bug_1670627.py | 1 + .../functional/regressions/test_bug_1689692.py | 1 + .../functional/regressions/test_bug_1746483.py | 102 +++++++++ .../functional/regressions/test_bug_1746509.py | 62 +++++ .../functional/test_list_servers_ip_filter.py | 3 +- .../api/openstack/compute/test_migrate_server.py | 21 +- .../unit/api/openstack/placement/test_deploy.py | 43 ++++ nova/virt/block_device.py | 4 + nova/virt/disk/vfs/guestfs.py | 9 +- nova/virt/driver.py | 5 + nova/virt/fake.py | 5 +- nova/virt/ironic/driver.py | 3 + nova/virt/libvirt/driver.py | 33 ++- ...discover-hosts-by-service-06ee20365b895127.yaml | 8 + .../update-swap-decorator-7622a265df55feaa.yaml | 6 + tox.ini | 2 - 66 files changed, 1768 insertions(+), 231 deletions(-)