Ask Your Question

Revision history [back]

incomplete flavor info from get server detail list on compute endpoint

Hello, could anyone have any idea why does the flavor info return from my api call list return incomplete information? The api call have 200 http response code, so it's a valid call, only the flavor info is missing.

Details :

Compute endpoint version : 2.53 API Documentation source : https://developer.openstack.org/api-ref/compute/#list-servers

Result i get :

Array
(
    [0] => Array
        (
    ........
            [flavor] => Array
                (
                    [id] => 8fbb7ade-4721-405c-931f-11fdefd5bffc
                    [links] => Array
                        (
                            [0] => Array
                                (
                                    [href] => http://xxx.xxx.xxx.xxx/flavors/8fbb7ade-4721-405c-931f-11fdefd5bffc
                                    [rel] => bookmark
                                )

                        )

                )

Result i expected from example response from documentation above :

  "flavor": {
                "disk": 1,
                "ephemeral": 0,
                "extra_specs": {
                    "hw:cpu_model": "SandyBridge",
                    "hw:mem_page_size": "2048",
                    "hw:cpu_policy": "dedicated"
                },
                "original_name": "m1.tiny.specs",
                "ram": 512,
                "swap": 0,
                "vcpus": 1
            },