Unable to provision HCI node | Wallaby

Swogat Pradhan swogatpradhan22 at gmail.com
Tue May 9 15:59:36 UTC 2023


Hi,
When i am running node provision command i am getting the following error:

The full traceback is:
  File
"/tmp/ansible_metalsmith_instances_payload_tmufs89r/ansible_metalsmith_instances_payload.zip/ansible/modules/metalsmith_instances.py",
line 427, in main
  File
"/tmp/ansible_metalsmith_instances_payload_tmufs89r/ansible_metalsmith_instances_payload.zip/ansible/modules/metalsmith_instances.py",
line 340, in provision
  File "/usr/lib64/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File
"/tmp/ansible_metalsmith_instances_payload_tmufs89r/ansible_metalsmith_instances_payload.zip/ansible/modules/metalsmith_instances.py",
line 372, in _provision_instance
  File "/usr/lib/python3.6/site-packages/metalsmith/_provisioner.py", line
488, in wait_for_provisioning
    raise exceptions.DeploymentFailed(str(exc))
                    "networks": [
                        {
                            "network": "ctlplane",
                            "vif": true
                        },
                        {
                            "network": "internal_api",
                            "subnet": "internal_apis2_subnet"
                        },
                        {
                            "network": "tenant",
                            "subnet": "tenants2_subnet"
                        },
                        {
                            "network": "storage",
                            "subnet": "storages2_subnet"
                        },
                        {
                            "network": "storage_mgmt",
                            "subnet": "storage_mgmts2_subnet"
                        }
                    ],
                    "nics": [
                        {
                            "network": "ctlplane"
                        }
                    ],
                    "ssh_public_keys": "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABgQCb/KTQTouURPWFO0R1zGEIKXYUDQb4+pIgNuTJ7zA43jz9nyGt/pH1pnZAq71NmfL+sICFPf4uvhqFkMU7T0eC3TVuP87kZ8pAMh0D+NPqtRQJxK0WZO2h67dUKBAtW5WamxABhDh+XqmRPXE8Fl1VvzlKO/KZGUClk24BNGjt/nqho9FGskNY/vZLQV/gZzrKfHUYpcDxIg6NpnNE6bGdy4tyL4JwYcdTP8ovU1JhKMXSTjk8WrGz/OQB8a4Pgq0WWgIRWvwZDuUwFWiK6aV7gkjhMXwwtZ7jq9fQOs/hcleATX7Cq77ayJW8DusxQLynbMrh/dBs3Smgp1Ncd3rthpJz2ujBg7ymScCq4ya0W1RkbzZ6H8kVT0hppO93Ip8VFTMnPDoWONQFdAbAVhaamycVMxxbGatHVYGGXIMMBEL1MO4ncIW4f46vNffIhmoTvG20ncy2zba7hk9D4NMbqEpyR3NG1BnMHW0h9bYp2K9+jOWS9MUfakD8kNi8Ff0=
stack at hkg2director.bdxworld.com ",
                2023-05-09 22:18:08.565576 |
48d539a1-1679-0477-63a8-000000000018 |      FATAL | Provision instances |
localhost | error={
    "changed": false,
    "invocation": {
        "module_args": {
            "api_timeout": null,
            "auth": null,
            "auth_type": null,
            "availability_zone": null,
            "ca_cert": null,
            "clean_up": false,
            "client_cert": null,
            "client_key": null,
            "concurrency": 1,
            "instances": [
                {
                    "config_drive": {
                        "meta_data": {
                            "instance-type": "DistributedComputeHCI"
                        }
                    },
                    "hostname": "dcn01-hci-2",
                    "image": {
                        "href":
"file:///var/lib/ironic/images/overcloud-full.raw",
                        "kernel":
"file:///var/lib/ironic/images/overcloud-full.vmlinuz",
                        "ramdisk":
"file:///var/lib/ironic/images/overcloud-full.initrd"
                    },
                    "name": "17107583-48da-43eb-9e38-63e250848d05",
                    "network_config": {
                        "template": "/home/stack/dcn01/hci_network_bond.j2"
                    },
                    "networks": [
                        {
                            "network": "ctlplane",
                            "vif": true
                        },
                        {
                            "network": "internal_api",
                            "subnet": "internal_apis2_subnet"
                        },
                        {
                            "network": "tenant",
                            "subnet": "tenants2_subnet"
                        },
                        {
                            "network": "storage",
                            "subnet": "storages2_subnet"
                        },
                        {
                            "network": "storage_mgmt",
                            "subnet": "storage_mgmts2_subnet"
                        }
                    ],
                    "nics": [
                        {
                            "network": "ctlplane"
                        }
                    ],
                    "ssh_public_keys": "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABgQCb/KTQTouURPWFO0R1zGEIKXYUDQb4+pIgNuTJ7zA43jz9nyGt/pH1pnZAq71NmfL+sICFPf4uvhqFkMU7T0eC3TVuP87kZ8pAMh0D+NPqtRQJxK0WZO2h67dUKBAtW5WamxABhDh+XqmRPXE8Fl1VvzlKO/KZGUClk24BNGjt/nqho9FGskNY/vZLQV/gZzrKfHUYpcDxIg6NpnNE6bGdy4tyL4JwYcdTP8ovU1JhKMXSTjk8WrGz/OQB8a4Pgq0WWgIRWvwZDuUwFWiK6aV7gkjhMXwwtZ7jq9fQOs/hcleATX7Cq77ayJW8DusxQLynbMrh/dBs3Smgp1Ncd3rthpJz2ujBg7ymScCq4ya0W1RkbzZ6H8kVT0hppO93Ip8VFTMnPDoWONQFdAbAVhaamycVMxxbGatHVYGGXIMMBEL1MO4ncIW4f46vNffIhmoTvG20ncy2zba7hk9D4NMbqEpyR3NG1BnMHW0h9bYp2K9+jOWS9MUfakD8kNi8Ff0=
stack at hkg2director.bdxworld.com ",
                    "user_name": "heat-admin"
                }
            ],
            "interface": "public",
            "log_level": "info",
            "region_name": null,
            "state": "present",
            "timeout": 3600,
            "validate_certs": null,
            "wait": true
        }
    },
    "logging": "Created port dcn01-hci-2-ctlplane (UUID
ce763b38-b047-40bc-be44-9c9da8bd2e30) for node singapore-HCI3 (UUID
17107583-48da-43eb-9e38-63e250848d05) with {'network_id':
'1fad76a3-aa2a-4213-8c37-eb89629da523', 'name':
'dcn01-hci-2-ctlplane'}\nAttached port dcn01-hci-2-ctlplane (UUID
ce763b38-b047-40bc-be44-9c9da8bd2e30) to node singapore-HCI3 (UUID
17107583-48da-43eb-9e38-63e250848d05)\nProvisioning started on node
singapore-HCI3 (UUID 17107583-48da-43eb-9e38-63e250848d05)\n",
    "msg": "Node 17107583-48da-43eb-9e38-63e250848d05 reached failure state
\"deploy failed\"; the last error is Deploy step
deploy.prepare_instance_boot failed: Failed to install a bootloader when
deploying node 17107583-48da-43eb-9e38-63e250848d05. Error: Installing
GRUB2 boot loader to device /dev/sda failed with Unexpected error while
running command.\nCommand: chroot /tmp/tmp8_wa6g6q /bin/sh -c
\"grub2-install /dev/sda\"\nExit code: 1\nStdout: ''\nStderr:
'grub2-install: error: this utility cannot be used for EFI platforms
because it does not support UEFI Secure Boot.\\n'."

I have already provisioned 2 other nodes using the same hardware, but the
node provisioning is failing in this particular node.

With regards,
Swogat Pradhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230509/735a1321/attachment.htm>


More information about the openstack-discuss mailing list