Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong "storage_engine" in module opentelekomcloud.cloud.dds_datastore_info #308

Open
lboka opened this issue Feb 19, 2024 · 0 comments
Open

Comments

@lboka
Copy link

lboka commented Feb 19, 2024

Please check DDS API documentation link: https://docs.otc.t-systems.com/document-database-service/api-ref/apis_v3.0_recommended/db_instance_management/creating_a_db_instance.html#dds-api-0020
image

as you can see "storage_engine" is different based on the db version.

  • If the database version is 4.4 or 4.2 the storage engine is RocksDB, the value is rocksDB.
  • If the database version is 4.0, 3.4 or 3.2 the storage engine is WiredTiger, the value is wiredTiger.

But in the response of the ansible playbook there is all the time same "storage_engine" for all versions.

This is ansible playbook part:

# Query supporting datastore versions. 
- name: Query database version
  opentelekomcloud.cloud.dds_datastore_info:
	datastore_name: "DDS-Community"
  register: dds_ds

This is Response msg:

{
    "msg": {
        "changed": false,
        "datastores": [
            {
                "storage_engine": "wiredTiger",
                "type": "DDS-Community",
                "version": "3.4"
            },
            {
                "storage_engine": "wiredTiger",
                "type": "DDS-Community",
                "version": "4.0"
            },
            {
                "storage_engine": "wiredTiger",
                "type": "DDS-Community",
                "version": "4.4"
            },
            {
                "storage_engine": "wiredTiger",
                "type": "DDS-Community",
                "version": "3.2"
            },
            {
                "storage_engine": "wiredTiger",
                "type": "DDS-Community",
                "version": "4.2"
            }
        ],
        "failed": false
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant