Bug 1623492 - "GET /images/overcloud-full HTTP/1.1" 404 when scaling out overcloud on OSP9
Summary: "GET /images/overcloud-full HTTP/1.1" 404 when scaling out overcloud on OSP9
Keywords:
Status: CLOSED DUPLICATE of bug 1598000
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-29 13:38 UTC by Eduard Barrera
Modified: 2021-12-10 17:18 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-20 14:52:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1371718 0 medium CLOSED error getting overcloud and discovery images 2021-03-11 14:40:37 UTC
Red Hat Issue Tracker OSP-11585 0 None None None 2021-12-10 17:18:52 UTC

Description Eduard Barrera 2018-08-29 13:38:26 UTC
Description of problem:

Customer is trying to scale out the overcloud for the first time with updated images. The operation seems to fail because director is not finding the overcloud-full image aparently:


- Here it fails, GET /images/overcloud-full

2018-08-28 11:10:41.892 12236 DEBUG glance.db.sqlalchemy.api [req-525f5a12-f56b-478f-b783-bdfb5c45caf3 1168ab9da04944c9a751f6c030adb94b b5ef65412bf049daa90aa48944d34255 - - -] No image found with ID overcloud-full _image_get /usr/lib/python2.7/site-packages/glance/db/sqlalchemy/api.py:241

2018-08-28 11:10:41.892 12236 INFO glance.registry.api.v1.images [req-525f5a12-f56b-478f-b783-bdfb5c45caf3 1168ab9da04944c9a751f6c030adb94b b5ef65412bf049daa90aa48944d34255 - - -] Image overcloud-full not found

2018-08-28 11:10:41.894 12236 INFO eventlet.wsgi.server [req-525f5a12-f56b-478f-b783-bdfb5c45caf3 1168ab9da04944c9a751f6c030adb94b b5ef65412bf049daa90aa48944d34255 - - -] 10.148.52.42 - - [28/Aug/2018 11:10:41] "GET /images/overcloud-full HTTP/1.1" 404 242 0.016050

2018-08-28 11:10:41.915 12236 DEBUG eventlet.wsgi.server [-] (12236) accepted


- Here using the image uuid it success:

Here it success, GET /images/2a2bb369-8725-47c7-8858-efd2387d6917

2018-08-28 11:10:38.420 12237 DEBUG glance.registry.api.v1.images [req-74fa5851-21cb-41c8-a092-81d300398b79 1168ab9da04944c9a751f6c030adb94b b5ef65412bf049daa90aa48944d34255 - - -] Successfully retrieved image 2a2bb369-8725-47c7-8858-efd2387d6917 show /usr/lib/python2.7/site-packages/glance/registry/api/v1/images.py:340

2018-08-28 11:10:38.422 12237 INFO eventlet.wsgi.server [req-74fa5851-21cb-41c8-a092-81d300398b79 1168ab9da04944c9a751f6c030adb94b b5ef65412bf049daa90aa48944d34255 - - -] 10.148.52.42 - - [28/Aug/2018 11:10:38] "GET /images/2a2bb369-8725-47c7-8858-efd2387d6917 HTTP/1.1" 200 1016 0.013874

This make me thing that somewhere we could be using wrongly overcloud-full instead it's uuid that is 2a2bb369-8725-47c7-8858-efd2387d6917

Not sure if having configured multiple glance backend has something to do:


stores = glance.store.filesystem.Store,glance.store.swift.Store

#default_store = file
default_store = swift


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

How reproducible:
always

Steps to Reproduce:
1. scale out overcloud for the first time
2.
3.

Actual results:
Unable to proceed, it fails

Expected results:
success

Additional info:
Attached bugzilla talking about the same issue, but doesn't reveal the solution

Comment 1 Cyril Roelandt 2018-08-29 14:46:18 UTC
This looks like a Glance/TripleO issue, reassigning to openstack-tripleo.

Pranali is probably the most qualified person to help with this.

Comment 10 Thomas Hervé 2018-09-20 14:52:44 UTC

*** This bug has been marked as a duplicate of bug 1598000 ***


Note You need to log in before you can comment on or make changes to this bug.