Package: glance-api
Version: 2:29.0.0-4
Severity: normal

Dear Maintainer,

Currently, the default configuration for glance-api does not bind to all 
interfaces, including IPv6. The glance-api service does not listen on IPv6 
interfaces.This behavior can cause failures in environments that rely on IPv6 
connectivity.The initialization script defaults to an empty `WSGI_BIND_IP`, 
which results in restrictive interface binding. The proposed patch ensures 
backward compatibility with IPv4, as binding to `[::]` also includes IPv4 
interfaces when not otherwise restricted. Please include this fix in the next 
release.

Steps to Reproduce:

1. Install and configure glance-api.
2. Start the glance-api service.
3. Attempt to connect via an IPv6 address.

Proposed Patch:

The initialization script for glance-api should be updated to set the 
`WSGI_BIND_IP` variable to `[::]` by default, ensuring compatibility with both 
IPv4 and IPv6.
The following patch modifies the initialization script to set `WSGI_BIND_IP` to 
`[::]`:
WSGI_BIND_IP="[::]"

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.6-progress7.99-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to C.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages glance-api depends on:
ii  adduser                                  3.137
ii  debconf [debconf-2.0]                    1.5.89
ii  glance-common                            2:29.0.0-4
ii  python3                                  3.13.1-2
ii  python3-keystoneclient                   1:5.5.0-4
ii  python3-openstackclient                  6.6.0-6
ii  python3-pastescript                      3.6.0-2
ii  python3-q-text-as-data [q-text-as-data]  3.1.6-4
ii  uwsgi-plugin-python3                     2.0.28-1+b1

Versions of packages glance-api recommends:
ii  python3-glanceclient  1:4.7.0-4

glance-api suggests no packages.

-- debconf information:
  glance/api-endpoint-proto: http
  glance/api-endpoint-address:
  glance/api-keystone-admin-username: admin
  glance/api-keystone-proto: http
  glance/api-endpoint-region-name: regionOne
  glance/api-keystone-admin-project-name: admin
  glance/api-keystone-address:
* glance/configure_api-endpoint: false

Best
Barin

Reply via email to