oslo_config_validator: Setting container network to none
When spinning a container, podman_container defaults network to bridge as opposed to docker_container that defaults to none. This causes "Missing CNI default network" errors and doesn't run the oslo-config-validator command as expected. Change-Id: I4faeab61421a9dbd6e5e2ea92c7e64ab1467453b (cherry picked from commit9311c11823
) (cherry picked from commitbc692be30d
)
This commit is contained in:
parent
f9dcec50cf
commit
16c6893280
|
@ -53,6 +53,7 @@ oslo_config_validator_global_ignored_messages:
|
|||
- 'WARNING:oslo_config.generator:normalizing group name.*'
|
||||
- 'WARNING:stevedore.named:Could not load .*'
|
||||
- 'WARNING:root:Deprecated opt .*'
|
||||
- 'INFO:oslo_utils.netutils:Could not determine default network interface, using .*'
|
||||
- 'ERROR:root:quotas/quota_[^\s]+ {{ invalid_setting_regex }}'
|
||||
- '.*Ignoring option because it is part of the excluded patterns. This can be changed with the.*'
|
||||
|
||||
|
|
|
@ -108,6 +108,7 @@
|
|||
rm: true
|
||||
user: 0
|
||||
mount: "type=bind,source={{ oslo_config_validator_work_path }},destination=/oslo_config_validation"
|
||||
network: none
|
||||
command: "{{ oslo_command }}"
|
||||
register: container_run
|
||||
failed_when:
|
||||
|
|
Loading…
Reference in New Issue