[rdo-users] Error baremetal pre-deploy wallaby
wodel youchi
wodel.youchi at gmail.com
Mon Aug 16 13:13:05 UTC 2021
Hi,
I followed these documents :
https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/network_isolation.html
https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/custom_networks.html#custom-networks
https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/provisioning/baremetal_provision.html#network-config-properties
At the end I tried these two commands :
1) openstack overcloud node provision --stack overcloud --network-config
--output ~/overcloud-baremetal-deployed.yaml ~/templates/baremetal-node-net
.yaml
And I this error message :
> 2021-08-15 15:59:32.402435 | 52540075-9baf-2b0b-5fc8-000000000017 |
> FATAL | Provision instances | localhost | error={"changed": false,
> "logging": "Deploy attempt failed on node computeHCI2
> (UUID 9440e769-9634-4015-82b0-97b8c1921ef5),
> cleaning up\nTraceback (most recent call last):\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_provisioner.py\", line 392,
> in provision_node\n nics.validate()\n
> File \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 60, in
> validate\n
> result.append(('network', self._get_network(nic)))\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 128, in
> _get_network\n
> 'Unexpected fields for a network: %s' % ',
> '.join(unexpected))\nmetalsmith.exceptions.InvalidNIC:
> Unexpected fields for a network: subnet\nDeploy attempt failed on node
> computeHCI0 (UUID 31eecc38-7d80-4ddd-9cc4-a76edf00ec3a),
> cleaning up\nTraceback (most recent call last):\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_provisioner.py\", line 392,
> in provision_node\n
> nics.validate()\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 60, in
> validate\n
> result.append(('network', self._get_network(nic)))\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 128, in
> _get_network\n
> 'Unexpected fields for a network: %s' % ',
> '.join(unexpected))\nmetalsmith.exceptions.InvalidNIC:
> Unexpected fields for a network: subnet\nDeploy attempt failed on node
> controller2 (UUID f62f8cb5-40e4-4e40-805d-852c2a2f7e00),
> cleaning up\nTraceback (most recent call last):\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_provisioner.py\", line 392,
> in provision_node\n nics.validate()\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 60, in
> validate\n
> result.append(('network', self._get_network(nic)))\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 128, in
> _get_network\n
> 'Unexpected fields for a network: %s' % ',
> '.join(unexpected))\nmetalsmith.exceptions.InvalidNIC:
> Unexpected fields for a network: subnet\nDeploy attempt failed on node
> computeHCI1 (UUID 2798b208-4842-4083-9b3f-c46953b52928),
> cleaning up\nTraceback (most recent call last):\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_provisioner.py\", line 392,
> in provision_node\n nics.validate()\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 60, in
> validate\n
> result.append(('network', self._get_network(nic)))\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 128, in
> _get_network\n
> 'Unexpected fields for a network: %s' % ',
> '.join(unexpected))\nmetalsmith.exceptions.InvalidNIC: Unexpected fields
> for a network: subnet\n
> Deploy attempt failed on node controller1 (UUID
> df87e5c7-32b0-4bfa-9ef9-f0a98666e7de), cleaning up\nTraceback (most recent
> call last):\n
> File \"/usr/lib/python3.6/site-packages/metalsmith/_provisioner.py\",
> line 392, in provision_node\n
> nics.validate()\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 60, in
> validate\n
> result.append(('network', self._get_network(nic)))\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 128, in
> _get_network\n
> 'Unexpected fields for a network: %s' % ',
> '.join(unexpected))\nmetalsmith.exceptions.InvalidNIC: Unexpected fields
> for a network: subnet\nDeploy attempt failed on node controller0 (UUID
> af75122c-a6e8-42d7-afd2-571738c42061), cleaning up\nTraceback (most recent
> call last):\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_provisioner.py\", line 392,
> in provision_node\n nics.validate()\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 60, in
> validate\n result.append(('network', self._get_network(nic)))\n File
> \"/usr/lib/python3.6/site-packages/metalsmith/_nics.py\", line 128, in
> _get_network\n 'Unexpected fields for a network: %s' % ',
> '.join(unexpected))\nmetalsmith.exceptions.InvalidNIC: Unexpected fields
> for a network: subnet\n", "msg": "Unexpected fields for a network: subnet"}
>
2) openstack overcloud node provision --stack overcloud --output ~/
overcloud-baremetal-deployed.yaml ~/templates/baremetal-node.yaml
This time I got this error :
> 2021-08-16 13:47:02.156021 | 52540075-9baf-0672-d7b8-000000000017 |
> FATAL | Provision instances | localhost | error={"changed": false,
> "logging": "Created port overcloud-computehci-1-ctlplane (UUID
> 17e55729-b44b-40a8-9361-9e36e8527de5) for node controller0 (UUID
> 61bc6512-9c4e-4199-936a-754801f7cffa) with {'network_id':
> '1c8c5e86-79ac-4ec6-9616-3c965cab6e88', 'name':
> 'overcloud-computehci-1-ctlplane'}\nCreated port
> overcloud-controller-0-ctlplane (UUID 0a09bbb5-934d-4d34-ab5b-7c14518d06c6)
> for node controller1 (UUID 03915e7c-a314-41d9-be8c-46291879692a) with
> {'network_id': '1c8c5e86-79ac-4ec6-9616-3c965cab6e88', 'name':
> 'overcloud-controller-0-ctlplane'}\nCreated port
> overcloud-computehci-2-ctlplane (UUID 76ef56f1-4dbb-453e-a344-968b0da95823)
> for node computeHCI2 (UUID a5d3552b-ab79-404e-8a52-48dc53a3aa45) with
> {'network_id': '1c8c5e86-79ac-4ec6-9616-3c965cab6e88', 'name':
> 'overcloud-computehci-2-ctlplane'}\nCreated port
> overcloud-computehci-0-ctlplane (UUID 79967f38-90ee-49e6-8716-b09cc9460afe)
> for node computeHCI1 (UUID 3534309b-c11f-48d4-b23d-3ed9f2dcbf79) with
> {'network_id': '1c8c5e86-79ac-4ec6-9616-3c965cab6e88', 'name':
> 'overcloud-computehci-0-ctlplane'}\nCreated port
> overcloud-controller-1-ctlplane (UUID c70b7c8c-31a6-460e-aa77-ea37b8e332f6)
> for node controller2 (UUID 83f47771-9f82-4437-8df4-de32bcd6fc63) with
> {'network_id': '1c8c5e86-79ac-4ec6-9616-3c965cab6e88', 'name':
> 'overcloud-controller-1-ctlplane'}\nCreated port
> overcloud-controller-2-ctlplane (UUID 2b74c4e3-705c-4bf1-85de-a5e0a9cdb591)
> for node computeHCI0 (UUID 3924529b-44a7-4c74-b1e1-2175d6313a3e) with
> {'network_id': '1c8c5e86-79ac-4ec6-9616-3c965cab6e88', 'name':
> 'overcloud-controller-2-ctlplane'}\nAttached port
> overcloud-controller-0-ctlplane (UUID 0a09bbb5-934d-4d34-ab5b-7c14518d06c6)
> to node controller1 (UUID 03915e7c-a314-41d9-be8c-46291879692a)\nAttached
> port overcloud-computehci-1-ctlplane (UUID
> 17e55729-b44b-40a8-9361-9e36e8527de5) to node controller0 (UUID
> 61bc6512-9c4e-4199-936a-754801f7cffa)\nProvisioning started on node
> controller1 (UUID 03915e7c-a314-41d9-be8c-46291879692a)\nAttached port
> overcloud-computehci-2-ctlplane (UUID 76ef56f1-4dbb-453e-a344-968b0da95823)
> to node computeHCI2 (UUID a5d3552b-ab79-404e-8a52-48dc53a3aa45)\nAttached
> port overcloud-computehci-0-ctlplane (UUID
> 79967f38-90ee-49e6-8716-b09cc9460afe) to node computeHCI1 (UUID
> 3534309b-c11f-48d4-b23d-3ed9f2dcbf79)\nProvisioning started on node
> controller0 (UUID 61bc6512-9c4e-4199-936a-754801f7cffa)\nAttached port
> overcloud-controller-1-ctlplane (UUID c70b7c8c-31a6-460e-aa77-ea37b8e332f6)
> to node controller2 (UUID
> 83f47771-9f82-4437-8df4-de32bcd6fc63)\nProvisioning started on node
> computeHCI2 (UUID a5d3552b-ab79-404e-8a52-48dc53a3aa45)\nProvisioning
> started on node computeHCI1 (UUID
> 3534309b-c11f-48d4-b23d-3ed9f2dcbf79)\nAttached port
> overcloud-controller-2-ctlplane (UUID 2b74c4e3-705c-4bf1-85de-a5e0a9cdb591)
> to node computeHCI0 (UUID
> 3924529b-44a7-4c74-b1e1-2175d6313a3e)\nProvisioning started on node
> controller2 (UUID 83f47771-9f82-4437-8df4-de32bcd6fc63)\nProvisioning
> started on node computeHCI0 (UUID 3924529b-44a7-4c74-b1e1-2175d6313a3e)\n",
> "msg": "Node a5d3552b-ab79-404e-8a52-48dc53a3aa45 reached failure state
> \"deploy failed\"; the last error is Agent returned error for deploy step
> {'step': 'write_image', 'priority': 80, 'argsinfo': None, 'interface':
> 'deploy'} on node a5d3552b-ab79-404e-8a52-48dc53a3aa45 : Error performing
> deploy_step write_image: Command execution failed: Failed to check the
> number of primary partitions present on /dev/vda for node
> a5d3552b-ab79-404e-8a52-48dc53a3aa45. Error: The device /dev/vda does not
> have a valid MBR partition table."}
>
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210816/cc7d9e5d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bonds_vlans.j2
Type: application/octet-stream
Size: 2240 bytes
Desc: not available
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210816/cc7d9e5d/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: baremetal-node-net.yaml
Type: application/octet-stream
Size: 1218 bytes
Desc: not available
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210816/cc7d9e5d/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network_data-new.yaml
Type: application/octet-stream
Size: 1201 bytes
Desc: not available
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210816/cc7d9e5d/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: baremetal-node.yaml
Type: application/octet-stream
Size: 228 bytes
Desc: not available
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210816/cc7d9e5d/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overcloud-networks-deployed.yaml
Type: application/octet-stream
Size: 3106 bytes
Desc: not available
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20210816/cc7d9e5d/attachment-0009.obj>
More information about the users
mailing list