Tested the magnum package with 22.0.0-0ubuntu1.1 and it worked as
mentioned in the SRU test plan

```bash
cat >/etc/apt/sources.list.d/resolute-proposed.sources <<'EOF'
Types: deb
URIs: http://archive.ubuntu.com/ubuntu
Suites: resolute-proposed
Components: main universe
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
EOF
cat >/etc/apt/preferences.d/proposed <<'EOF'
Package: *
Pin: release a=resolute-proposed
Pin-Priority: 400
EOF
sudo apt update
sudo apt install -y -t resolute-proposed magnum-api magnum-common
```

Installed versions recorded:

```
magnum-api     22.0.0-0ubuntu1.1   (from resolute-proposed)
magnum-common  22.0.0-0ubuntu1.1   (from resolute-proposed)
```


```python
#! /usr/bin/python3
# WSGI script for Magnum API, used by mod_wsgi.
# The magnum.wsgi.api module creates the application at import time.
from magnum.wsgi.api import application  # noqa: F401
```

Import check output: loads `/etc/magnum/api-paste.ini`, keystonemiddleware
deprecation warning only — `application` callable. PASS.


No config change, `systemctl restart apache2`:

- Apache: **active**
- Error log "Target WSGI script not found" lines: **0** (baseline had the error)
- `curl http://localhost/` → **HTTP 200** with the Magnum API version
  discovery document:

```json
{"name": "OpenStack Magnum API", "description": "Magnum is an OpenStack project
which aims to provide container cluster management.", "versions": [{"id": "v1",
"links": [{"href": "http://localhost/v1/..."}]}]}
```

- `curl http://localhost/v1/` → **HTTP 200** (API v1 reachable — request
  reaches the Magnum API through the WSGI script)


** Tags removed: verification-needed-resolute
** Tags added: verification-done verification-done-resolute

** Tags removed: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155247

Title:
  [SRU] magnum-api-wsgi missing from Ubuntu package

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/gazpacho/+bug/2155247/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to