Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1287431

Summary: When a Nova resize or migration operation fails, the message 'Migration instance not found' is repeatedly thrown
Product: Red Hat OpenStack Reporter: bkopilov <bkopilov>
Component: openstack-novaAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED CURRENTRELEASE QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: berrange, bkopilov, dasmith, eglynn, jthomas, kchamart, lyarwood, ratailor, rdopiera, sbauza, sferdjao, sgordon, srevivo, vromanso, ykawada
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: 8.0 (Liberty)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1321783 (view as bug list) Environment:
Last Closed: 2018-01-08 11:48:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1321783    
Attachments:
Description Flags
compute1_logs - tar.gz
none
compute2_logs tar-gz none

Description bkopilov 2015-12-02 05:17:34 UTC
Description of problem:
Installed openstack director on a single baremetal with 1 controller + 2 computes.
Run tempest .

Nova repeated Traceback  :

 raise exception.InstanceNotFound(instance_id=uuid)

InstanceNotFound: Instance b6f5b3a3-2cef-48e9-b163-d66238bf6058 could not be found.
 _update_usage_from_migrations /usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py:786
2015-12-01 23:55:59.159 19222 DEBUG nova.compute.resource_tracker [req-649995ae-8c01-499e-95c7-345635f3e0ee - - - - -] Migration instance not found: Instance 9fb23e05-e4c4-4f79-bac5-907aa8d28349 could not be found.
Traceback (most recent call last):


This message should be printed once when error happended and not flood nova logs 
.
  

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Run tempest nova livemigration tests
2. migration fails and logs are flooded with same error.

Actual results:


Expected results:


Additional info:

Comment 1 bkopilov 2015-12-02 05:18:51 UTC
Created attachment 1101330 [details]
compute1_logs - tar.gz

Comment 2 bkopilov 2015-12-02 05:19:49 UTC
Created attachment 1101331 [details]
compute2_logs tar-gz

Comment 4 Eoghan Glynn 2015-12-04 15:32:27 UTC
This is simply how nova works ... if the instance is deleted while doing an action, then the background tasks try to access the no-longer-existing instance and complain in debug log messages

Seems like correct (if annoying) behaviour.

Comment 27 Lee Yarwood 2018-01-08 11:48:57 UTC
Closing CURRENTRELEASE, merged in 12.0.4 upstream, currently shipping 12.0.6.