Comment 6 for bug 1832306

Revision history for this message
Eddie Yen (aksn74) wrote :

I finally tested the gnocchi-api image with gnocchi-api.conf deleted. The result is clear. The gnocchi-api has successfully running after its bootstrap. And no error occur during ceilometer deployment.

For modification, I do the code comparison between rocky and stein. Let it install python3 packages when building the rocky image, and delete the file I said in gnocchi-api Dockerfile. Also I modified wsgi-gnocchi.conf.j2 in Kolla-ansible so that to make sure it running with python3 based.

One more thing. I also found the aodh-api has a same issue about port conflict. And found that the distro package also create its own aodh-api conf file in the same direction.

Since the images from Docker Hub may all built by Kolla-build, I think these issue need to be fix. I'll upload my diff text to Pastebin.

But I have another question. Since we already found port conflict issue on gnocchi-api binary and aodh-api binary, is that better to replace the distro config rather than delete? Like just let wsgi-gnocchi.conf to replace /etc/apache2/sites-available/gnocchi-api.conf. If so, we can just change the dest for wsgi-gnocchi.conf in gnocchi-api.json.j2