validators: Allow uppercase iface names Predictable interface names for PCI devices on non-zero PCI domains get assigned (by systemd-udev) names like enP<bus-number>p<port-number>s<slot-number>f<function-number>, e.g. enP2p1s0f0, which are currently rejected by our validators. For PCI domain 0000, the "P<bus-number>" is omitted, resulting in all lowercase iface names. Allow uppercase iface names by making the re.match test case-insensitive. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Change-Id: I2bda550c95737fba57b5916a71a3c3b9df66e22d
zbaremetalnodeinventory: Add aarch64 support os_ironic_node properties capabilities [1] should use "boot_mode:uefi" for aarch64 platforms [2] (since EFI is the only supported firmware on aarch64). [1] https://docs.ansible.com/ansible/latest/modules/os_ironic_module.html [2] https://docs.openstack.org/ironic/latest/install/advanced.html Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Change-Id: I362f1e56c2e2c4713aa13938568a2cc249eaa14e
storageinventory: Refactor ceph key generation ceph-ansible 3.1 (and newer) refactored the handling of ceph keys by leveraging the new ceph-key ansible module, which escapes our current '$(ceph-authtool ...)' string, ending up as a literal string instead of evaluating the command and catching its output. To support the new ceph-ansible 3.1, we refactor the ceph key generation in storageinventory.py by explicitly running ceph-authtool with subprocess.check_output and passing it down via a variable. This change is backwards compatible with the current ceph-ansible 3.0. Signed-off-by: Alexandru Antone <Alexandru.Antone@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Change-Id: I1f0d73399429ef40f414efeb6931db111eba0faf
Add validation for performance tuning option Add validation for tuning option in performance profiles. Currently it supports only "low_latency" & "standard" values. Depends-On: I6646b04220733091eb946c547d136dee0ae48706 Change-Id: Icfe82744d0c14d3663f63d420d0a0edbca154c67 Signed-off-by: Krisztian Lengyel <krisztian.lengyel@nokia.com>
Correct rpm version Correct rpm version by appending to version history because after this I73bfca888b5f61721bcaad6a7b349155155c1438 it messed up a little bit. Change-Id: I7fe5869b47dae8f9094cc28546209171fad1d65a Signed-off-by: Krisztian Lengyel <krisztian.lengyel@nokia.com>
Revert "Add validation for performance tuning" This reverts commit 4408a79c76b53683792df8b45b49aa0062275515. Reason for revert: Its dependency is missing. Change-Id: I73bfca888b5f61721bcaad6a7b349155155c1438
Add validation for performance tuning option Add validation for tuning option in performance profiles. Currently it supports only "low_latency" & "standard" values. Depends-On: I6646b04220733091eb946c547d136dee0ae48706 Change-Id: I0db61be89ce2c3cbf19061898714de383068e120 Signed-off-by: Krisztian Lengyel <krisztian.lengyel@nokia.com>
FIX: Set default IPMI privilege level The previous changes to support setting the IPMI level did not set it as default in the hosts array, causing a failure in the ansible playbooks. This change adds a call to the configmanager to set a default privilege level for all hosts. signed-off-by: dave kormann <davek@research.att.com> depends-on: Ic21d5e47de75c783e8d0fd0b321624fc5eb84a0f Change-Id: I1e6e27a20aee42f858375bb184cec836e3cec7d1