controllerX-gnocchi-container missing dependency to libxml2.so.2

Bug #1857899 reported by Andreas Florath
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Unassigned

Bug Description

The gnocchi-api.service fails to start inside the lxc-containers:

● gnocchi-api.service - gnocchi-api service
   Loaded: loaded (/etc/systemd/system/gnocchi-api.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2019-12-30 13:29:53 UTC; 967ms ago
  Process: 6294 ExecStart=/openstack/venvs/uwsgi-20.0.0-python3/bin/uwsgi --autoload --ini /etc/uwsgi/gnocchi-api.ini (code=exited, status=127)
 Main PID: 6294 (code=exited, status=127)
      CPU: 4ms

The reason is a missing dependency to libxml2.so.2:

# /openstack/venvs/uwsgi-20.0.0-python3/bin/uwsgi --autoload --ini /etc/uwsgi/gnocchi-api.ini
/openstack/venvs/uwsgi-20.0.0-python3/bin/uwsgi: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

Workaround: install lib manually:

apt install -y libxml2

After this the service starts up:

# systemctl status gnocchi-api.service
● gnocchi-api.service - gnocchi-api service
   Loaded: loaded (/etc/systemd/system/gnocchi-api.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2019-12-30 13:47:08 UTC; 8s ago
 Main PID: 6812 (uwsgi)
    Tasks: 17 (limit: 7372)
   Memory: 931.5M
      CPU: 53.919s
   CGroup: /uwsgi.slice/gnocchi-api.service
           ├─6812 /openstack/venvs/uwsgi-20.0.0-python3/bin/uwsgi --autoload --ini /etc/uwsgi/gnocchi-api.ini
           ├─6813 /openstack/venvs/uwsgi-20.0.0-python3/bin/uwsgi --autoload --ini /etc/uwsgi/gnocchi-api.ini
[...]

My environment: Ubuntu 18.04 LTS

Using version 20.0.0 of openstack-ansible.

Revision history for this message
Andreas Florath (ansreas) wrote :

Same for murano:

Jan 07 17:11:27 controller0-murano-container-3b87acab uwsgi[23088]: /openstack/venvs/uwsgi-20.0.1.dev1-python3/bin/uwsgi: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

Revision history for this message
Jonathan Rosser (jrosser) wrote :
Changed in openstack-ansible:
status: New → In Progress
Changed in openstack-ansible:
status: In Progress → Fix Committed
Changed in openstack-ansible:
status: Fix Committed → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_gnocchi yoga-eom

This issue was fixed in the openstack/openstack-ansible-os_gnocchi yoga-eom release.

Changed in openstack-ansible:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_gnocchi victoria-eom

This issue was fixed in the openstack/openstack-ansible-os_gnocchi victoria-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_gnocchi wallaby-eom

This issue was fixed in the openstack/openstack-ansible-os_gnocchi wallaby-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_gnocchi xena-eom

This issue was fixed in the openstack/openstack-ansible-os_gnocchi xena-eom release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.