Bug 1309135
| Summary: | When spawning a VM with RHOSP 8, the API return an unexpected value "NotFound" | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | David Hill <dhill> |
| Component: | python-novaclient | Assignee: | Eoghan Glynn <eglynn> |
| Status: | CLOSED DUPLICATE | QA Contact: | nlevinki <nlevinki> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 (Liberty) | CC: | berrange, dasmith, dhill, eglynn, jruzicka, kchamart, mburns, michele, ndipanov, rscarazz, sasha, sbauza, sferdjao, sgordon, vromanso, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 8.0 (Liberty) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-23 09:35:35 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: | |||
|
Description
David Hill
2016-02-17 00:11:04 UTC
Got into the same error here. Enabling debug and verbose I looked into Nova logs, finding out something interesting. Each time the nova boot fails, these messages appears into the log, referring to a 404: 2016-02-17 12:31:56.799 32277 INFO nova.osapi_compute.wsgi.server [req-f243af94-f0cf-4985-b8a6-0e3ccc869eff 6f87701d07384104a10908f06b5a9c81 01de946f33e542fc99890ccf572f5c3c - - -] 172.17.0.13 "GET /v2/01de946f33e542fc99890ccf572f5c3c HTTP/1.1" status: 404 len: 264 time: 0.0840702 2016-02-17 12:31:57.637 32277 DEBUG nova.api.openstack.wsgi [req-8005bf34-fb17-421a-9557-ad2628259c08 6f87701d07384104a10908f06b5a9c81 01de946f33e542fc99890ccf572f5c3c - - -] Returning 404 to user: Flavor m1.demo could not be found. __call__ /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:1175 2016-02-17 12:31:57.638 32277 INFO nova.osapi_compute.wsgi.server [req-8005bf34-fb17-421a-9557-ad2628259c08 6f87701d07384104a10908f06b5a9c81 01de946f33e542fc99890ccf572f5c3c - - -] 172.17.0.13 "GET /v2/01de946f33e542fc99890ccf572f5c3c/flavors/m1.demo HTTP/1.1" status: 404 len: 298 time: 0.0193071 2016-02-17 12:31:58.778 32277 DEBUG keystoneclient.session [req-24a0612d-9deb-431e-9592-d17fc8d29f99 6f87701d07384104a10908f06b5a9c81 01de946f33e542fc99890ccf572f5c3c - - -] Request returned failure status: 404 request /usr/lib/python2.7/site-packages/keystoneclient/session.py:400 I found that ID into my neutron net list, under the name of the tenant network, which is "HA network tenant 01de946f33e542fc99890ccf572f5c3c", and the message about the flavor is almost clear. Even if I'm able to do nova flavor-list, neutron net-list and so on it seems that something is borken in terms of communication. Still investigating... Possibly relevant: https://bugs.launchpad.net/tripleo/+bug/1543493 2016-02-18 18:32:34.471 28733 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2016-02-18 18:32:34.473 28733 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Could not find token: 9a7c7818af8c41f3a2a778fdc175e25b", "code": 404, "title": "Not Found"}}
2016-02-18 18:32:34.476 28733 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
Since I'm going to rebuild the environment and I don't know if this error will be reproducible again, I've put all the sosreport here http://file.rdu.redhat.com/~rscarazz/BZ1309135/ so to be able to consult them even if the original environment does not exists anymore. *** Bug 1310847 has been marked as a duplicate of this bug. *** From my side, with the latest puddle the issue is the same, just deployed and just got the same error while booting an instance. With the workaround suggested here https://bugzilla.redhat.com/show_bug.cgi?id=1309135 it works. *** This bug has been marked as a duplicate of bug 1308422 *** |