Fixed gate job

Fixed by adding boot mode for target host.
Default one is UEFI and not supported yet by Airship.

Change-Id: I58baa6e85050e1f4ea95b0e902f3593174762860
This commit is contained in:
Stanislav Egorov 2020-08-04 11:33:17 -07:00
parent 79555848f2
commit 38634457f2
3 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,7 @@ template: |
spec: spec:
online: false online: false
bootMACAddress: {{ $host.macAddress }} bootMACAddress: {{ $host.macAddress }}
bootMode: {{ $host.bootMode }}
networkData: networkData:
name: {{ $hostName }}-network-data name: {{ $hostName }}-network-data
namespace: default namespace: default

View File

@ -90,6 +90,12 @@ spec:
types, but required for libvirt VMs driven by vbmc. types, but required for libvirt VMs driven by vbmc.
pattern: '[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}' pattern: '[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}'
type: string type: string
bootMode:
description: Select the method of initializing the hardware during boot.
enum:
- UEFI
- legacy
type: string
consumerRef: consumerRef:
description: ConsumerRef can be used to store information about something description: ConsumerRef can be used to store information about something
that is using a host. When it is not empty, the host is considered that is using a host. When it is not empty, the host is considered

View File

@ -17,6 +17,7 @@ hosts:
macAddresses: macAddresses:
oam: 52:54:00:9b:27:4c oam: 52:54:00:9b:27:4c
pxe: 52:54:00:b6:ed:31 pxe: 52:54:00:b6:ed:31
bootMode: legacy
node02: node02:
macAddress: 00:3b:8b:0c:ec:8b macAddress: 00:3b:8b:0c:ec:8b
bmcAddress: redfish+http://10.23.25.2:8000/redfish/v1/Systems/air-target-2 bmcAddress: redfish+http://10.23.25.2:8000/redfish/v1/Systems/air-target-2