When booting a stateless host with DVS and lockdown mode configured, and one or multiple active directory users in the lockdown mode exception list, post-boot fails with the below error:
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: INFO: Setting lockdown mode configuration:'QA\\s-virt-nessus-a', 'QA\\s-virt-nessus-b', 's-esxi-dcui']}^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: WARNING: Ignore users () that donot exist at postboot apply.^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: ERROR: EngineModule::ApplyHostConfig. Exception: (LocalizedException) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], msg = <unset>, faultCause = <unset>, faultMessage = (vmodl.LocalizableMessage) [ (LocalizableMessageWithPath) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], key = 'com.vmware.profile.Profile.lockdownMode.In
validExceptionUser', arg = (vmodl.KeyAnyValue) [ (vmodl.KeyAnyValue) { dynamicType = <unset>, dynamicProperty = (vmodl.DynamicProperty) [], key = 'user', value = 'QA\\s-icinga-b' } ], message = 'Failed to update user accounts exempted from Lockdown Mode. Invalid user specified: QA\\s-icinga-b' } ] }^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: WARNING: EngineModule::ApplyHostConfig. Backtrace: ^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: WARNING: File "/lib64/python3.8/site-packages/hostprofiles/tests/tools/hpcliModules/engineModule.py", line 549, in ApplyTaskList ^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: WARNING: File "/lib64/python3.8/site-packages/hostprofiles/pyEngine/applyConfigSpec.py", line 4722, in ApplyHostConfig ^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: WARNING: File "/lib64/python3.8/site-packages/hostprofiles/pyEngine/applyConfigSpec.py", line 4297, in ApplyGenericConfig ^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: WARNING: File "/lib64/python3.8/site-packages/hostprofiles/pyEngine/genericProfileBridge.py", line 934, in RecurseRemediateConfig ^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: WARNING: File "/lib64/python3.8/site-packages/hostprofiles/pyEngine/genericProfileBridge.py", line 928, in RecurseRemediateConfig ^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: WARNING: File "/lib64/python3.8/site-packages/hostprofiles/pyEngine/simpleConfigProfile.py", line 1027, in RemediateConfig ^@
2023-01-06T20:10:08Z Host Profiles[2101881 opID=MainThread]: WARNING: File "/usr/lib/hostprofiles/plugins/lockDownMode/lockdownModeProfile.py", line 133, in SetConfig raise CreateLocalizedException( ^@
Host will be left in maintenance mode.