The 'user' and 'tenant' in oslo_context is ID value, 'user_name' is name string value. Maybe 'user_name' parameter in the context log is friendly purpose. Devstack can remove the default 'user_name' and 'project_name' parameters for ironic log context, but I think Ironic should add these parameters in context object like nova.
The 'user' and 'tenant' in oslo_context is ID value, 'user_name' is name string value. Maybe 'user_name' parameter in the context log is friendly purpose. Devstack can remove the default 'user_name' and 'project_name' parameters for ironic log context, but I think Ironic should add these parameters in context object like nova.