Oracle Cloud Infrastructure Ansible Collection provides an easy way to provision and manage resources in Oracle Cloud using Ansible.
173
stars
97
forks
source link
Module oci_database_db_node_facts returns wrong cpu_core_count #279
Open
ytyapkin opened 7 months ago
Issue Report
According to https://oci-ansible-collection.readthedocs.io/en/latest/collections/oracle/oci/oci_database_db_node_facts_module.html#ansible-collections-oracle-oci-oci-database-db-node-facts-module cpu_core_count should contain a number of CPU cores for a node. However, provided value is actually cpu_core_count/2 and rather looks like OCPU
Expected behavior cpu_core_count should contain a number of CPU cores
Environment Oracle Base Database Service, 2 nodes oracle.oci:5.0.0 MarkupSafe-2.1.5 PyYAML-6.0.1 ansible-8.7.0 ansible-core-2.15.10 certifi-2024.2.2 cffi-1.16.0 circuitbreaker-1.4.0 cryptography-42.0.5 importlib-resources-5.0.7 jinja2-3.1.3 oci-2.125.3 packaging-24.0 pyOpenSSL-24.1.0 pycparser-2.22 python-dateutil-2.9.0.post0 pytz-2024.1 resolvelib-1.0.1 six-1.16.0
OS version: Linux, version 4.18.0-372.13.1.el8_6.x86_64
Ansible version: ansible [core 2.15.10] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/TeamCity/work/483648b41440d492/ansible/lib64/python3.9/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /opt/TeamCity/work/483648b41440d492/ansible/bin/ansible python version = 3.9.7 (default, Sep 13 2021, 08:18:39) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] (/opt/TeamCity/work/483648b41440d492/ansible/bin/python3.9) jinja version = 3.1.3 libyaml = True
OCI Python SDK version: 2.125.3
OCI Ansible Modules version: Collection Version
oracle.oci 5.0.0
Ansible playbook to reproduce the issue