Bootstrap is failing when using a custom audit-policy-file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
João Victor Portal |
Bug Description
Brief Description
-----------------
Ansible bootstrap is failing when it's used a custom audit-policy-file.
Severity
--------
Critical: System/Feature is not usable after the defect.
Steps to Reproduce
------------------
1) Define custom audit-policy-file in bootstrap overrides yaml file:
apiserver_
audit-
apiserver_
- name: my-audit-
mountPath: "/etc/kubernete
pathType: "File"
readOnly: true
content: |
# Log all requests at the Metadata level.
apiVersion: audit.k8s.io/v1
kind: Policy
rules:
- level: Metadata
2) Run bootstrap, it will fail.
Expected Behavior
------------------
Bootstrapping execution completed successfully.
Actual Behavior
----------------
Ansible bootstrapping is failing.
Reproducibility
---------------
100% Reproducible.
System Configuration
-------
AIO-DX
Branch/Pull Time/Commit
-------
N/A.
Last Pass
---------
N/A.
Timestamp/Logs
--------------
N/A.
Test Activity
-------------
Feature Testing
Workaround
----------
N/A.
Changed in starlingx: | |
assignee: | nobody → João Victor Portal (jvictorp) |
Changed in starlingx: | |
status: | New → In Progress |
screening: stx.7.0 / medium - related to new feature: https:/ /storyboard. openstack. org/#!/ story/2009835