Summary:
Verifying installation of Placement API with OpenStack Zed under Debian 11 Bullseye gives error msg "Unable to establish connection", errno 111.
Details:
I'm new to OpenStack.
I have used these guides:
OpenStack Installation Guide documentation
https://docs.openstack.org/install-guide/
Installation — openstack-placement 8.0.0.0rc2.dev2 documentation
https://docs.openstack.org/placement/zed/install/
I successfully installed OpenStack Zed with Ubuntu 22.04 LTS Jammy Jellyfish, and test Dashboard usage. And so far no problem encountered.
Then, I'm trying to install Openstack with Debian 11 Bullseye (since Ubuntu was derived from Debian), but I'm getting errors on the Placement verification.
I followed the same/similar procedures under Ubuntu with Debian installation:
Installed NTP, OpenStack packages, MariaDB SQL, RabbitMQ, memcached, etcd.
Installed Keystone, Glance,
And installed Placement successfully.
https://docs.openstack.org/placement/zed/install/verify.html with this guide:
placement-status upgrade check
(no problem)
pip3 install osc-placement
The following 2 lines give ERRORs
openstack --os-placement-api-version 1.2 resource class list --sort-column name
openstack --os-placement-api-version 1.6 trait list --sort-column name
error msg:
Unable to establish connection to http://controller:8778/resource_classes: HTTPConnectionPool(host='controller', port=8778): Max retries exceeded with url: /resource_classes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xHHHH>: Failed to establish a new connection: [Errno 111] Connection refused'))
I also tried to:
pip3 uninstall osc-placement
apt install osc-placement
(since this was successful with the Ubuntu Zed installation)
but got the same errors
checking endpoints with:
openstack endpoint list
(endpoints are existing for Placement http://controller:8778)
in the /var/log/apache2/error.log, there was an entry:
[date&time] mpm_eventnotice] [pid xxx:tid xxxxx] AH00492: caught SIGWINCH, shutting down gracefully.