openstack-ansible deployment keeps failing on gnocchi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have been trying to deploy openstack using openstack-ansible for the past two weeks, but the openstack-ansible setup-openstack.yml script keeps failing on setting up gnocchi on "python_venv_build : Build wheels for the packages to be installed into the venv" Task to be specific. I was trying to deploy the Zed release of OpenStack, but the issue still persists when trying to deploy the Antelope release of OpenStack.
To verify that the problem is not in my configuration, I tried to deploy using the openstack aio configuration, but gnocchi still fails.
I have successfully deployed OpenStack before, about 4 weeks ago, with no problem and with the same configuration. I am not sure what seems to be the problem.
When I look at the python log file generated from the venv build, I see a bunch of "# Package would be ignored # warning" about 18 of them; some of those are for the packages gnoochi.cli, gnoochi.incoming, gnoochi.indexer, gnoochi.rest, gnoochi.storage, gnoochi.test, and so on... and it says "AttributeError: module 'setuptools.
At this point, I don't know what to look for. I will be more than happy to provide additional information.
Changed in openstack-ansible: | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Confirmed |
That is known gnocchi issue, related to setuptools: https:/ /github. com/gnocchixyz/ gnocchi/ issues/ 1304
As a workaround you can specif this in your user_variables, which will install unaffected version of gnocchi:
gnocchi_ git_install_ branch: 6f35ea5413a9f78 551d8193b8d2a6d 77c49b6372
This will be fixed in 27.0.1 release for Antelope, which should be live in the next couple of days.
Regarding Zed - I'm not sure if the fix will be backported, as it will cause downgrade of the version, which might cause regressions for existing deployments.