glance error "file already closed"

Bug #2069065 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Snap
New
Undecided
Unassigned

Bug Description

Single node Sunbeam deployment. When running `sunbeam configure` glance reported an error in Terraform

Error: Error while uploading file "/home/ubuntu/snap/openstack/530/.terraform/image_cache/c276b9b0caf2cb0105c5b96245b44372.img": Successfully re-authenticated, but got error executing request: Put "http://10.246.167.165:80/openstack-glance/v2/images/590b3d2d-f4eb-4535-b5c9-1c542df6c87a/file": OpenStack connection error, retries exhausted. Aborting. Last error was: read /home/ubuntu/snap/openstack/530/.terraform/image_cache/c276b9b0caf2cb0105c5b96245b44372.img: file already closed

Logs show many occurrences of

2024-06-11T00:51:48.837Z [pebble] Service "apache forwarder" stopped
2024-06-11T00:51:48.901Z [pebble] Service "apache forwarder" starting: /usr/sbin/apache2ctl -DFOREGROUND
2024-06-11T00:51:49.997Z [pebble] GET /v1/changes/18/wait?timeout=4.000s 1.301340843s 200
2024-06-11T00:51:50.032Z [pebble] POST /v1/services 29.402362ms 202
2024-06-11T00:51:50.188Z [glance-api] 2024-06-11 00:51:50.169 195 INFO glance.common.wsgi [None req-495bc23e-a42a-4784-a05c-3a140f702c52 - - - - - -] Removed dead child 228ESC[00m
2024-06-11T00:51:50.209Z [glance-api] 2024-06-11 00:51:50.199 195 INFO glance.common.wsgi [None req-495bc23e-a42a-4784-a05c-3a140f702c52 - - - - - -] Started child 304ESC[00m
2024-06-11T00:51:50.259Z [glance-api] 2024-06-11 00:51:50.258 304 INFO eventlet.wsgi.server [None req-495bc23e-a42a-4784-a05c-3a140f702c52 - - - - - -] (304) wsgi starting up on http://0.0.0.0:9282ESC[00m
2024-06-11T00:51:50.260Z [glance-api] 2024-06-11 00:51:50.260 304 INFO eventlet.wsgi.server [None req-495bc23e-a42a-4784-a05c-3a140f702c52 - - - - - -] (304) wsgi exited, is_accepting=TrueESC[00m
2024-06-11T00:51:50.260Z [glance-api] ERROR: 'OSError' object is not subscriptable
2024-06-11T00:51:51.334Z [pebble] Service "glance-api" stopped
2024-06-11T00:51:51.392Z [pebble] Service "glance-api" starting: /usr/bin/glance-api --config-file /etc/glance/glance-api.conf

but I am not sure if it is related

logs - https://oil-jenkins.canonical.com/artifacts/07135be7-95cc-47a6-9e68-0e69efb422a7/index.html

Tags: cdo-qa
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.