Skip to content

MiniONE on Oracle Linux 9.6 – MySQL client library requirement + datastore monitoring fix #139

Description

@pablodelarco

Description

During tests on Oracle Linux 9.6, MiniONE encountered two problems that required manual fixes. Documenting them here for future users and to consider possible script improvements.

1. Missing MySQL Client Libraries

Problem: Oracle Linux 9 ships MariaDB libraries by default, but OpenNebula 7.0 requires libmysqlclient.so.21.

Solution:

# Add MySQL 8.0 Community repo
sudo dnf install -y https://dev.mysql.com/get/mysql80-community-release-el9-1.noarch.rpm

# Install MySQL client libraries
sudo dnf install -y --nogpgcheck mysql-community-client mysql-community-libs

# Update library cache
sudo ldconfig

Result: MiniONE installation succeeds once these libraries are present.

(Related to #136 which reports the same dependency issue on Rocky Linux 9.)

2. Datastore Capacity Reported Incorrectly

Problem: Datastore showed ~44GB available instead of the actual 129GB. Monitoring was happening on the Sunstone host instead of the KVM node.

Solution: Add BRIDGE_LIST to datastore configuration:

BRIDGE_LIST="10.10.10.151"

Result: Monitoring now reports the correct 128.3GB capacity and VMs deploy without “Not enough resources” errors.


Final Working State (after fixes)

  • KVM host: 30GB RAM, 8 cores, 129GB storage ✅
  • OpenNebula version: 7.0.0 on both Sunstone and KVM ✅
  • Datastores: Correct capacity shown ✅
  • VM deployment: Works via Sunstone GUI ✅

Notes

These findings came from Result d.o.o. during their MiniONE lab tests. Opening this issue to capture the knowledge so it doesn’t get lost and can be used to improve MiniONE support on Oracle Linux 9.x and similar EL9 systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions