[openstack-dev] [nova] [ocata] nova-api error 404 instance not found

Matt Riedemann mriedemos at gmail.com
Tue Oct 10 14:08:48 UTC 2017


On 10/10/2017 3:53 AM, Kim-Norman Sahm wrote:
> Hi,
> 
> i've upgraded from newton to ocata and i my last problem (i hope so) is
> in the nova-api.
> if i try to create a new instance (horizon or cli) i get an "404
> instance no found" error but is instance is created and started as
> well.
> 
> nova-api.log:
> 
> 2017-10-10 08:16:31.682 6 DEBUG nova.compute.api [req-4d354485-cfe9-
> 40f2-8507-a48e02db0af0 db88dca6f68c4ab2b82dbad7476bb122
> 7c1dd7d33037481e81f55d2f5d45bb90 - default default] [instance:
> e564c631-896c-458c-93ab-b1c88f444fff] Fetching instance by UUID get
> /usr/lib/python2.7/dist-packages/nova/compute/api.py:2360
> 2017-10-10 08:16:31.785 6 INFO nova.api.openstack.wsgi [req-4d354485-
> cfe9-40f2-8507-a48e02db0af0 db88dca6f68c4ab2b82dbad7476bb122
> 7c1dd7d33037481e81f55d2f5d45bb90 - default default] HTTP exception
> thrown: Instance e564c631-896c-458c-93ab-b1c88f444fff could not be
> found.
> 2017-10-10 08:16:31.787 6 DEBUG nova.api.openstack.wsgi [req-4d354485-
> cfe9-40f2-8507-a48e02db0af0 db88dca6f68c4ab2b82dbad7476bb122
> 7c1dd7d33037481e81f55d2f5d45bb90 - default default] Returning 404 to
> user: Instance e564c631-896c-458c-93ab-b1c88f444fff could not be found.
> __call__ /usr/lib/python2.7/dist-
> packages/nova/api/openstack/wsgi.py:1039
> 
> Does anybody know whats the problem?
> 
> Best regards
> Kim
> 
> 
> Kim-Norman Sahm
> Cloud & Infrastructure(OCI)
> noris network AG
> Thomas-Mann-Straße 16-20
> 90471 Nürnberg
> Deutschland
> Tel +49 911 9352 1433
> Fax +49 911 9352 100
> 
> kim-norman.sahm at noris.de
> https://www.noris.de - Mehr Leistung als Standard
> Vorstand: Ingo Kraupa (Vorsitzender), Joachim Astel
> Vorsitzender des Aufsichtsrats: Stefan Schnabel - AG Nürnberg HRB 17689
> 
> 
> 
> 
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 

Do you have all of the latest fixes for Ocata? You should be at version 
15.0.7 if you're on the latest Ocata fix release.

Is the instance properly mapped to a cell? Try querying the nova_api 
database:

select * from nova_api.instance_mappings where instance_uuid = 
"e564c631-896c-458c-93ab-b1c88f444fff";

Did the instance go to ACTIVE state or did it fail to schedule? If it 
failed to schedule, it would be in the nova_cell0 database and should be 
in ERROR state. You could query the cell0 database with:

select * from nova_cell0.instances where uuid = 
"e564c631-896c-458c-93ab-b1c88f444fff";

Otherwise see #3 in the Cells FAQs page here:

https://docs.openstack.org/nova/latest/user/cells#faqs

-- 

Thanks,

Matt



More information about the OpenStack-dev mailing list