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

Bm firmware update #5519

Merged
merged 18 commits into from
Jul 22, 2024
Merged

Bm firmware update #5519

merged 18 commits into from
Jul 22, 2024

Conversation

sreekarbvibm
Copy link
Contributor

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

@sreekarbvibm sreekarbvibm marked this pull request as draft July 18, 2024 13:32
@deepaksibm
Copy link
Contributor

# data.ibm_is_bare_metal_server.bms:
data "ibm_is_bare_metal_server" "bms" {
    access_tags                    = []
    bandwidth                      = 100000
    boot_target                    = "0727-e19a82f4-ef6a-47ae-b9db-01ed58c959e4"
    cpu                            = [
        {
            architecture     = "amd64"
            core_count       = 24
            socket_count     = 2
            threads_per_core = 2
        },
    ]
    created_at                     = "2024-07-19T09:35:54.000Z"
    crn                            = "crn:v1:bluemix:public:is:us-south-2:a/7f75c7b025e54bc5635f754b2f888665::bare-metal-server:0727-e0ea3efc-d02b-4a00-9b09-a826b919200e"
    disks                          = [
        {
            href           = "https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0727-e0ea3efc-d02b-4a00-9b09-a826b919200e/disks/0727-e19a82f4-ef6a-47ae-b9db-01ed58c959e4"
            id             = "0727-e19a82f4-ef6a-47ae-b9db-01ed58c959e4"
            interface_type = "nvme"
            name           = "broiler-evacuate-panning-underdone"
            resource_type  = "bare_metal_server_disk"
            size           = 480
        },
    ]
    enable_secure_boot             = false
    firmware_update_type_available = "none"
    href                           = "https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0727-e0ea3efc-d02b-4a00-9b09-a826b919200e"
    id                             = "0727-e0ea3efc-d02b-4a00-9b09-a826b919200e"
    identifier                     = "0727-e0ea3efc-d02b-4a00-9b09-a826b919200e"
    image                          = "r006-cf915612-e159-4f82-b871-34f6eabfe05c"
    keys                           = [
        "r006-19c8cf47-0d83-429f-ae3c-2864485805e4",
    ]
    memory                         = 256
    name                           = "tfp-tmp"
    network_attachments            = []
    network_interfaces             = []
    primary_network_attachment     = [
        {
            deleted       = []
            href          = "https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0727-e0ea3efc-d02b-4a00-9b09-a826b919200e/network_attachments/0727-9b1cbc7c-570b-4ef2-96f9-1f51a98fb26a"
            id            = "0727-9b1cbc7c-570b-4ef2-96f9-1f51a98fb26a"
            name          = "eth0"
            primary_ip    = [
                {
                    address       = "10.240.64.6"
                    deleted       = []
                    href          = "https://us-south.iaas.cloud.ibm.com/v1/subnets/0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6/reserved_ips/0727-878a80b3-6dc5-4c1c-b3ea-33c5ffc0c910"
                    id            = "0727-878a80b3-6dc5-4c1c-b3ea-33c5ffc0c910"
                    name          = "relation-clump-cardigan-taps"
                    resource_type = "subnet_reserved_ip"
                },
            ]
            resource_type = "bare_metal_server_network_attachment"
            subnet        = [
                {
                    crn           = "crn:v1:bluemix:public:is:us-south-2:a/7f75c7b025e54bc5635f754b2f888665::subnet:0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6"
                    deleted       = []
                    href          = "https://us-south.iaas.cloud.ibm.com/v1/subnets/0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6"
                    id            = "0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6"
                    name          = "test"
                    resource_type = "subnet"
                },
            ]
        },
    ]
    primary_network_interface      = [
        {
            allow_ip_spoofing = false
            href              = "https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0727-e0ea3efc-d02b-4a00-9b09-a826b919200e/network_interfaces/0727-9b1cbc7c-570b-4ef2-96f9-1f51a98fb26a"
            id                = "0727-9b1cbc7c-570b-4ef2-96f9-1f51a98fb26a"
            name              = "eth0"
            port_speed        = 100000
            primary_ip        = [
                {
                    address       = "10.240.64.6"
                    href          = "https://us-south.iaas.cloud.ibm.com/v1/subnets/0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6/reserved_ips/0727-878a80b3-6dc5-4c1c-b3ea-33c5ffc0c910"
                    name          = "relation-clump-cardigan-taps"
                    reserved_ip   = "0727-878a80b3-6dc5-4c1c-b3ea-33c5ffc0c910"
                    resource_type = "subnet_reserved_ip"
                },
            ]
            security_groups   = [
                "r006-a4281eaa-023b-41bb-8060-247eb0bb5e68",
            ]
            subnet            = "0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6"
        },
    ]
    profile                        = "bx3-metal-48x256"
    resource_group                 = "bdd96715c2a44f2bb60df4ff14a543f5"
    resource_type                  = "bare_metal_server"
    status                         = "failed"
    status_reasons                 = [
        {
            code      = "cannot_start_capacity"
            message   = "Insufficient capacity within the selected zone"
            more_info = ""
        },
    ]
    tags                           = []
    trusted_platform_module        = [
        {
            enabled         = true
            mode            = "tpm_2"
            supported_modes = [
                "tpm_2",
            ]
        },
    ]
    vpc                            = "r006-621147d8-798c-4dbc-948f-6c34a1e75d83"
    zone                           = "us-south-2"
}

# data.ibm_is_bare_metal_servers.bms:
data "ibm_is_bare_metal_servers" "bms" {
    id      = "2024-07-19 09:38:03.782583 +0000 UTC"
    servers = [
        {
            access_tags                    = []
            bandwidth                      = 100000
            boot_target                    = "0727-e19a82f4-ef6a-47ae-b9db-01ed58c959e4"
            cpu                            = [
                {
                    architecture     = "amd64"
                    core_count       = 24
                    socket_count     = 2
                    threads_per_core = 2
                },
            ]
            created_at                     = "2024-07-19T09:35:54.000Z"
            crn                            = "crn:v1:bluemix:public:is:us-south-2:a/7f75c7b025e54bc5635f754b2f888665::bare-metal-server:0727-e0ea3efc-d02b-4a00-9b09-a826b919200e"
            disks                          = [
                {
                    href           = "https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0727-e0ea3efc-d02b-4a00-9b09-a826b919200e/disks/0727-e19a82f4-ef6a-47ae-b9db-01ed58c959e4"
                    id             = "0727-e19a82f4-ef6a-47ae-b9db-01ed58c959e4"
                    interface_type = "nvme"
                    name           = "broiler-evacuate-panning-underdone"
                    resource_type  = "bare_metal_server_disk"
                    size           = 480
                },
            ]
            enable_secure_boot             = false
            firmware_update_type_available = "none"
            href                           = "https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0727-e0ea3efc-d02b-4a00-9b09-a826b919200e"
            id                             = "0727-e0ea3efc-d02b-4a00-9b09-a826b919200e"
            image                          = "r006-cf915612-e159-4f82-b871-34f6eabfe05c"
            keys                           = [
                "r006-19c8cf47-0d83-429f-ae3c-2864485805e4",
            ]
            memory                         = 256
            name                           = "tfp-tmp"
            network_attachments            = []
            network_interfaces             = []
            primary_network_attachment     = [
                {
                    deleted       = []
                    href          = "https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0727-e0ea3efc-d02b-4a00-9b09-a826b919200e/network_attachments/0727-9b1cbc7c-570b-4ef2-96f9-1f51a98fb26a"
                    id            = "0727-9b1cbc7c-570b-4ef2-96f9-1f51a98fb26a"
                    name          = "eth0"
                    primary_ip    = [
                        {
                            address       = "10.240.64.6"
                            deleted       = []
                            href          = "https://us-south.iaas.cloud.ibm.com/v1/subnets/0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6/reserved_ips/0727-878a80b3-6dc5-4c1c-b3ea-33c5ffc0c910"
                            id            = "0727-878a80b3-6dc5-4c1c-b3ea-33c5ffc0c910"
                            name          = "relation-clump-cardigan-taps"
                            resource_type = "subnet_reserved_ip"
                        },
                    ]
                    resource_type = "bare_metal_server_network_attachment"
                    subnet        = [
                        {
                            crn           = "crn:v1:bluemix:public:is:us-south-2:a/7f75c7b025e54bc5635f754b2f888665::subnet:0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6"
                            deleted       = []
                            href          = "https://us-south.iaas.cloud.ibm.com/v1/subnets/0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6"
                            id            = "0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6"
                            name          = "test"
                            resource_type = "subnet"
                        },
                    ]
                },
            ]
            primary_network_interface      = [
                {
                    allow_ip_spoofing = false
                    href              = "https://us-south.iaas.cloud.ibm.com/v1/bare_metal_servers/0727-e0ea3efc-d02b-4a00-9b09-a826b919200e/network_interfaces/0727-9b1cbc7c-570b-4ef2-96f9-1f51a98fb26a"
                    id                = "0727-9b1cbc7c-570b-4ef2-96f9-1f51a98fb26a"
                    name              = "eth0"
                    port_speed        = 100000
                    primary_ip        = [
                        {
                            address       = "10.240.64.6"
                            href          = "https://us-south.iaas.cloud.ibm.com/v1/subnets/0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6/reserved_ips/0727-878a80b3-6dc5-4c1c-b3ea-33c5ffc0c910"
                            name          = "relation-clump-cardigan-taps"
                            reserved_ip   = "0727-878a80b3-6dc5-4c1c-b3ea-33c5ffc0c910"
                            resource_type = "subnet_reserved_ip"
                        },
                    ]
                    security_groups   = [
                        "r006-a4281eaa-023b-41bb-8060-247eb0bb5e68",
                    ]
                    subnet            = "0727-8bba335c-3559-4633-83ed-a4bb9d5bc5a6"
                },
            ]
            profile                        = "bx3-metal-48x256"
            resource_group                 = "bdd96715c2a44f2bb60df4ff14a543f5"
            resource_type                  = "bare_metal_server"
            status                         = "failed"
            status_reasons                 = [
                {
                    code      = "cannot_start_capacity"
                    message   = "Insufficient capacity within the selected zone"
                    more_info = ""
                },
            ]
            tags                           = []
            trusted_platform_module        = [
                {
                    enabled         = true
                    mode            = "tpm_2"
                    supported_modes = [
                        "tpm_2",
                    ]
                },
            ]
            vpc                            = "r006-621147d8-798c-4dbc-948f-6c34a1e75d83"
            zone                           = "us-south-2"
        },
    ]
}

@sreekarbvibm sreekarbvibm marked this pull request as ready for review July 19, 2024 09:40
@hkantare hkantare merged commit f2b2a82 into IBM-Cloud:master Jul 22, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

4 participants