Bug Report
BMO Version
Section titled “BMO Version”dell@bmo-manager-1:~$ !bbmo versionCOMPONENT NAME VERSIONmw-release v1.3.1hpe-redfish-sku-pack v1.3.1mw-api-proxy v1.3.1mw-api-svc v1.3.1mw-cli v1.3.1mw-common v1.3.1mw-dhcp-server v1.3.1mw-discovery-manager v1.3.1mw-event-router v1.3.1mw-gui v1.3.1mw-hardware-controller v1.3.1mw-install v1.3.1mw-iso-builder v1.3.1mw-pxe-service v1.3.1mw-server-controller v1.3.1mw-site-controller v1.3.1mw-site-manager v1.3.1mw-sku-sdk v1.3.1mw-stack-deployer v1.3.1mw-stack-sku-pack v1.3.1mw-stack-sku-sdk v1.3.1mw-switch-controller v1.3.1mw-tenant-controller v1.3.1nso-sku-pack v1.3.1redfish-sku-pack v1.3.1samples v1.3.1supermicro-redfish-sku-pack v1.3.1switch-sku-pack v1.3.1wr-stack-sku-pack v1.3.1mw-s3-global v1.3.1mw-s3 v1.3.1reloader v1.3.1redis v1.3.1mw-nginx v1.3.1mw-internal-nginx v1.3.1mw-opensearch v1.3.1mw-opensearch-dashboard v1.3.1mw-fluentd v1.3.1mw-tftp-server v1.3.1mw-dhcp-relay v1.3.1storage-version-migration-initializer v0.0.5storage-version-migration-trigger v0.0.5storage-version-migration-migrator v0.0.5Problem Description
Section titled “Problem Description”- When importing hardware profiles error output errenously reports incorrect fields
- See below
namespace, reason: HardwareProfile.mw.dell.com "r7525-profile" is invalid: [spec.server.bios.attributes.numLock: Unsupported value: "true": supported values: "On", "Off"but if you check the configuration numLock is correctly set toOnand nottrue. This error repeats for several other fields - ex:tpmSecurity
- See below
- Running the import multiple times yields different error messages instead of printing the entire error message
It is unclear how to take the values from a server configuration exported from the iDRAC or OME and import it into BMO. In my case, I attempted to export from iDRAC, clean with find/replace regex ^[ \t]+<Attribute Name="(.+)">([A-Za-z]+).* -> $1: $2 but while most of these fields directly match, capitalization does not seem to work. I am unsure what else is not working because I can’t properly tell which fields aren’t being accepted.
Command Output
Section titled “Command Output”dell@bmo-manager-1:~$ bmo create hardwareprofile -f hw_pf_bios.yamlFailed to create hardware profile in the 'metalweaver' namespace, reason: HardwareProfile.mw.dell.com "r7525-profile" is invalid: [spec.server.bios.attributes.numLock: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.setBootOrderEn: Invalid value: "AHCI": spec.server.bios.attributes.setBootOrderEn in body should match '^$|^((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)(\,(\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)*$', spec.server.bios.attributes.serialPortAddress: Unsupported value: "Com": supported values: "Com1", "Com2", spec.server.bios.attributes.conTermType: Unsupported value: "Vt": supported values: "Vt100Vt220", "Ansi", spec.server.bios.attributes.tpmSecurity: Unsupported value: "true": supported values: "On", "Off", "OnPbm", "OnNoPbm", spec.server.bios.attributes.usbManagedPort: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.pxeDev1Interface: Invalid value: "NIC": spec.server.bios.attributes.pxeDev1Interface in body should match '^NIC\.[A-Za-z]+\.[0-9]+\-[0-9]+\-[0-9]+']dell@bmo-manager-1:~$ fgvim hw_pf_bios.yaml
[1]+ Stopped vim hw_pf_bios.yamldell@bmo-manager-1:~$ !bbmo create hardwareprofile -f hw_pf_bios.yamlFailed to create hardware profile in the 'metalweaver' namespace, reason: HardwareProfile.mw.dell.com "r7525-profile" is invalid: [spec.server.bios.attributes.numLock: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.setBootOrderEn: Invalid value: "AHCI": spec.server.bios.attributes.setBootOrderEn in body should match '^$|^((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)(\,(\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)*$', spec.server.bios.attributes.serialPortAddress: Unsupported value: "Com": supported values: "Com1", "Com2", spec.server.bios.attributes.conTermType: Unsupported value: "Vt": supported values: "Vt100Vt220", "Ansi", spec.server.bios.attributes.tpmSecurity: Unsupported value: "true": supported values: "On", "Off", "OnPbm", "OnNoPbm", spec.server.bios.attributes.usbManagedPort: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.pxeDev1Interface: Invalid value: "NIC": spec.server.bios.attributes.pxeDev1Interface in body should match '^NIC\.[A-Za-z]+\.[0-9]+\-[0-9]+\-[0-9]+']dell@bmo-manager-1:~$ !bbmo create hardwareprofile -f hw_pf_bios.yamlFailed to create hardware profile in the 'metalweaver' namespace, reason: HardwareProfile.mw.dell.com "r7525-profile" is invalid: [spec.server.bios.attributes.numLock: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.setBootOrderEn: Invalid value: "AHCI": spec.server.bios.attributes.setBootOrderEn in body should match '^$|^((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)(\,(\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)*$', spec.server.bios.attributes.serialPortAddress: Unsupported value: "Com": supported values: "Com1", "Com2", spec.server.bios.attributes.conTermType: Unsupported value: "Vt": supported values: "Vt100Vt220", "Ansi", spec.server.bios.attributes.tpmSecurity: Unsupported value: "true": supported values: "On", "Off", "OnPbm", "OnNoPbm", spec.server.bios.attributes.usbManagedPort: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.pxeDev1Interface: Invalid value: "NIC": spec.server.bios.attributes.pxeDev1Interface in body should match '^NIC\.[A-Za-z]+\.[0-9]+\-[0-9]+\-[0-9]+']dell@bmo-manager-1:~$ !bbmo create hardwareprofile -f hw_pf_bios.yamlFailed to create hardware profile in the 'metalweaver' namespace, reason: HardwareProfile.mw.dell.com "r7525-profile" is invalid: [spec.server.bios.attributes.setBootOrderEn: Invalid value: "AHCI": spec.server.bios.attributes.setBootOrderEn in body should match '^$|^((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)(\,(\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)*$', spec.server.bios.attributes.serialPortAddress: Unsupported value: "Com": supported values: "Com1", "Com2", spec.server.bios.attributes.conTermType: Unsupported value: "Vt": supported values: "Vt100Vt220", "Ansi", spec.server.bios.attributes.tpmSecurity: Unsupported value: "true": supported values: "On", "Off", "OnPbm", "OnNoPbm", spec.server.bios.attributes.usbManagedPort: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.pxeDev1Interface: Invalid value: "NIC": spec.server.bios.attributes.pxeDev1Interface in body should match '^NIC\.[A-Za-z]+\.[0-9]+\-[0-9]+\-[0-9]+', spec.server.bios.attributes.numLock: Unsupported value: "true": supported values: "On", "Off"]dell@bmo-manager-1:~$ !bbmo create hardwareprofile -f hw_pf_bios.yamlFailed to create hardware profile in the 'metalweaver' namespace, reason: HardwareProfile.mw.dell.com "r7525-profile" is invalid: [spec.server.bios.attributes.numLock: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.setBootOrderEn: Invalid value: "AHCI": spec.server.bios.attributes.setBootOrderEn in body should match '^$|^((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)(\,(\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)*$', spec.server.bios.attributes.serialPortAddress: Unsupported value: "Com": supported values: "Com1", "Com2", spec.server.bios.attributes.conTermType: Unsupported value: "Vt": supported values: "Vt100Vt220", "Ansi", spec.server.bios.attributes.tpmSecurity: Unsupported value: "true": supported values: "On", "Off", "OnPbm", "OnNoPbm", spec.server.bios.attributes.usbManagedPort: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.pxeDev1Interface: Invalid value: "NIC": spec.server.bios.attributes.pxeDev1Interface in body should match '^NIC\.[A-Za-z]+\.[0-9]+\-[0-9]+\-[0-9]+']dell@bmo-manager-1:~$ !bbmo create hardwareprofile -f hw_pf_bios.yamlFailed to create hardware profile in the 'metalweaver' namespace, reason: HardwareProfile.mw.dell.com "r7525-profile" is invalid: [spec.server.bios.attributes.tpmSecurity: Unsupported value: "true": supported values: "On", "Off", "OnPbm", "OnNoPbm", spec.server.bios.attributes.usbManagedPort: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.pxeDev1Interface: Invalid value: "NIC": spec.server.bios.attributes.pxeDev1Interface in body should match '^NIC\.[A-Za-z]+\.[0-9]+\-[0-9]+\-[0-9]+', spec.server.bios.attributes.numLock: Unsupported value: "true": supported values: "On", "Off", spec.server.bios.attributes.setBootOrderEn: Invalid value: "AHCI": spec.server.bios.attributes.setBootOrderEn in body should match '^$|^((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)(\,(\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*(\:((\w+|\*)\.(\w+|\*)\.(\w+|\*)(\-(\w+|\*))*((\w+|\*))*))*)*$', spec.server.bios.attributes.serialPortAddress: Unsupported value: "Com": supported values: "Com1", "Com2", spec.server.bios.attributes.conTermType: Unsupported value: "Vt": supported values: "Vt100Vt220", "Ansi"]Config file
Section titled “Config file”apiVersion: mw.dell.com/v1kind: HardwareProfilemetadata: name: r7525-profile labels: site: gcspec: # Add fields here apply: false preview: true server: bios: attributes: LogicalProc: Enabled ProcVirtualization: Enabled KernelDmaProtection: Disabled L1StreamHwPrefetcher: Enabled L2StreamHwPrefetcher: Enabled MadtCoreEnumeration: Linear CcxAsNumaDomain: Enabled TransparentSme: Disabled ProcConfigTdp: Maximum ProcX2Apic: Enabled ProcCcds: All CcdCores: All ControlledTurbo: Disabled OptimizerMode: Auto EmbSata: AhciMode SecurityFreezeLock: Enabled WriteCache: Disabled BiosNvmeDriver: DellQualifiedDrives BootMode: Uefi BootSeqRetry: Enabled GenericUsbBoot: Disabled HddPlaceholder: Disabled SysPrepClean: None SetBootOrderEn: AHCI pxeDev1Interface: NIC pxeDev1Protocol: IPv pxeDev1VlanEnDis: Disabled usbPorts: AllOn usbManagedPort: On IntegratedRaid: Enabled IntegratedNetwork1: Enabled EmbNic1Nic2: Enabled EmbVideo: Enabled PciePreferredIoBus: Disabled PcieEnhancedPreferredIo: Disabled SriovGlobalEnable: Disabled OsWatchdogTimer: Disabled DellAutoDiscovery: PlatformDefault SerialComm: OnNoConRedir serialPortAddress: Com ConTermType: Vt RedirAfterBoot: Enabled SysProfile: PerfOptimized PasswordStatus: Unlocked tpmSecurity: On Tpm2Hierarchy: Enabled PwrButton: Enabled AcPwrRcvry: Last AcPwrRcvryDelay: Immediate UefiVariableAccess: Standard SecureBoot: Disabled SecureBootPolicy: Standard SecureBootMode: DeployedMode TpmPpiBypassProvision: Disabled TpmPpiBypassClear: Disabled Tpm2Algorithm: SHA RedundantOsLocation: None MemTest: Disabled DramRefreshDelay: Minimum MemoryInterleaving: Auto CorrEccSmi: Enabled OppSrefEn: Disabled CECriticalSEL: Disabled PPROnUCE: Enabled numLock: On ErrPrompt: Enabled ForceInt10: Disabled DellWyseP25BIOSAccess: Enabled selectors: profileName: r7525