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

Nutanix terraform- Karbon clusters, the storage_class_config is not been displayed. #417

Closed
abhimutant opened this issue Apr 7, 2022 · 1 comment
Assignees
Labels

Comments

@abhimutant
Copy link
Collaborator

Nutanix Cluster Information

Terraform Version

Affected Resource(s)

  • dataSourceNutanixKarbonClusters

Terraform Configuration Files

data "nutanix_karbon_clusters" "clusters" {}

Debug Output

data "nutanix_karbon_clusters" "clusters" {
    clusters = [
        {
            deployment_type             = "multi-master-active-passive"
            etcd_node_pool              = [
                {
                    ahv_config      = [
                        {
                            cpu                        = 8
                            disk_mib                   = 40960
                            memory_mib                 = 8192
                            network_uuid               = "dcbe2b6b-2c39-410b-88aa-f6fb3ce91d36"
                            prism_element_cluster_uuid = "00058f65-be55-b933-0000-000000013383"
                        },
                    ]
                    name            = "viv-sape6706c6007b9detcd_pool"
                    node_os_version = "ntnx-1.0"
                    nodes           = [
                        {
                            hostname     = "karbon-viv-sape-4d8ae0-etcd-0"
                            ipv4_address = "10.66.43.108"
                        },
                        {
                            hostname     = "karbon-viv-sape-4d8ae0-etcd-1"
                            ipv4_address = "10.66.42.77"
                        },
                        {
                            hostname     = "karbon-viv-sape-4d8ae0-etcd-2"
                            ipv4_address = "10.66.43.167"
                        },
                    ]
                    num_instances   = 3
                },
            ]
            kubeapi_server_ipv4_address = "10.66.42.25"
            master_node_pool            = [
                {
                    ahv_config      = [
                        {
                            cpu                        = 8
                            disk_mib                   = 122880
                            memory_mib                 = 4096
                            network_uuid               = "dcbe2b6b-2c39-410b-88aa-f6fb3ce91d36"
                            prism_element_cluster_uuid = "00058f65-be55-b933-0000-000000013383"
                        },
                    ]
                    name            = "viv-sape6706c6007b9dmaster_pool"
                    node_os_version = "ntnx-1.0"
                    nodes           = [
                        {
                            hostname     = "karbon-viv-sape-f1c4be-k8s-master-0"
                            ipv4_address = "10.66.43.116"
                        },
                        {
                            hostname     = "karbon-viv-sape-f1c4be-k8s-master-1"
                            ipv4_address = "10.66.42.78"
                        },
                    ]
                    num_instances   = 2
                },
            ]
            name                        = "viv-sape"
            status                      = "kActive"
            uuid                        = "f1c4be35-6cd3-4faf-6825-25b03909c93c"
            version                     = "1.19.13-0"
            worker_node_pool            = [
                {
                    ahv_config      = [
                        {
                            cpu                        = 16
                            disk_mib                   = 122880
                            memory_mib                 = 8192
                            network_uuid               = "dcbe2b6b-2c39-410b-88aa-f6fb3ce91d36"
                            prism_element_cluster_uuid = "00058f65-be55-b933-0000-000000013383"
                        },
                    ]
                    name            = "viv-sape6706c6007b9dworker_pool"
                    node_os_version = "ntnx-1.0"
                    nodes           = [
                        {
                            hostname     = "karbon-viv-sape-f1c4be-k8s-worker-0"
                            ipv4_address = "10.66.42.80"
                        },
                        {
                            hostname     = "karbon-viv-sape-f1c4be-k8s-worker-1"
                            ipv4_address = "10.66.43.173"
                        },
                        {
                            hostname     = "karbon-viv-sape-f1c4be-k8s-worker-2"
                            ipv4_address = "10.66.43.157"
                        },
                    ]
                    num_instances   = 3
                },
            ]
        },
        {
            deployment_type             = "single-master"
            etcd_node_pool              = [
                {
                    ahv_config      = [
                        {
                            cpu                        = 4
                            disk_mib                   = 40960
                            memory_mib                 = 8192
                            network_uuid               = "df43a8fa-71f6-4efa-b30c-9f98716c2011"
                            prism_element_cluster_uuid = "00058f65-be55-b933-0000-000000013383"
                        },
                    ]
                    name            = "ioan-testc09ff6840719etcd_pool"
                    node_os_version = "ntnx-1.0"
                    nodes           = [
                        {
                            hostname     = "karbon-ioan-test-7e6d41-etcd-0"
                            ipv4_address = "10.66.41.167"
                        },
                    ]
                    num_instances   = 1
                },
            ]
            kubeapi_server_ipv4_address = "10.66.41.174"
            master_node_pool            = [
                {
                    ahv_config      = [
                        {
                            cpu                        = 2
                            disk_mib                   = 122880
                            memory_mib                 = 4096
                            network_uuid               = "df43a8fa-71f6-4efa-b30c-9f98716c2011"
                            prism_element_cluster_uuid = "00058f65-be55-b933-0000-000000013383"
                        },
                    ]
                    name            = "ioan-testc09ff6840719master_pool"
                    node_os_version = "ntnx-1.0"
                    nodes           = [
                        {
                            hostname     = "karbon-ioan-test-999773-k8s-master-0"
                            ipv4_address = "10.66.41.174"
                        },
                    ]
                    num_instances   = 1
                },
            ]
            name                        = "ioan-test"
            status                      = "kActive"
            uuid                        = "999773c8-5b82-4f52-4ddf-d91c3c8cd65e"
            version                     = "1.20.9-0"
            worker_node_pool            = [
                {
                    ahv_config      = [
                        {
                            cpu                        = 8
                            disk_mib                   = 122880
                            memory_mib                 = 8192
                            network_uuid               = "df43a8fa-71f6-4efa-b30c-9f98716c2011"
                            prism_element_cluster_uuid = "00058f65-be55-b933-0000-000000013383"
                        },
                    ]
                    name            = "ioan-testc09ff6840719worker_pool"
                    node_os_version = "ntnx-1.0"
                    nodes           = [
                        {
                            hostname     = "karbon-ioan-test-999773-k8s-worker-0"
                            ipv4_address = "10.66.41.182"
                        },
                    ]
                    num_instances   = 1
                },
            ]
        },
    ]
    id       = "terraform-20220406210047678200000001"
}

Panic Output

Expected Behavior

Storage_class_config is should be present in schema

Actual Behavior

storage_class_config is missing in schema

@abhimutant
Copy link
Collaborator Author

abhimutant commented Jul 25, 2022

Tracking #479

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

No branches or pull requests

2 participants