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

Definitions export from management UI does not include vhost metadata #10515

Open
lukebakken opened this issue Feb 7, 2024 · 2 comments · May be fixed by #10539
Open

Definitions export from management UI does not include vhost metadata #10515

lukebakken opened this issue Feb 7, 2024 · 2 comments · May be fixed by #10539
Assignees
Labels

Comments

@lukebakken
Copy link
Collaborator

lukebakken commented Feb 7, 2024

https://vmware.slack.com/archives/C0RDGG81Z/p1707224857559109

Reproduction steps:

Create vhost

rabbitmqctl add_vhost test --default-queue-type quorum

Export using CLI

rabbitmqctl export_definitions test-vhost-with-queue-type-from-cli.json

Note that the above file includes vhost metadata:

    "vhosts": [
        {
            "limits": [],
            "metadata": {
                "description": "Default virtual host",
                "tags": []
            },
            "name": "/"
        },
        {
            "limits": [],
            "metadata": {
                "description": "",
                "tags": [],
                "default_queue_type": "quorum"
            },
            "name": "test"
        }
    ],

Export using management UI

Note that the exported file does NOT contain metadata:

    "vhosts": [
        {
            "name": "/"
        },
        {
            "name": "test"
        }
    ],
@michaelklishin
Copy link
Member

@lukebakken thank you for digging in and providing the details.

@lukebakken
Copy link
Collaborator Author

cc @pvladMQ

michaelklishin added a commit that referenced this issue Feb 12, 2024
when exporting over the HTTP API. CLI tools
use rabbit_definitions:all_definitions/0 which
already include the metadata.

Closes #10515
michaelklishin added a commit that referenced this issue Feb 13, 2024
when exporting over the HTTP API. CLI tools
use rabbit_definitions:all_definitions/0 which
already include the metadata.

Closes #10515
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants