Use sudo when collecting podman logs in openstack-functional test

We run the podman containers as root, so when we collect the logs,
we must do that as root too, otherwise we won't see the containers.
This is why we currently collect no container logs.

Also, increase the boot timeout from 600 to 1200 seconds to deal
with what appears to be much slower boot times of the test node.

Change-Id: Ie146599f7598459c41c2d2d885b90a702bc900bb
This commit is contained in:
James E. Blair 2023-11-03 07:21:13 -07:00
parent fe693eeb5e
commit 3fce10179e
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,8 @@
- name: Collect container logs
include_role:
name: collect-container-logs
apply:
become: yes
vars:
container_command: podman
- name: Copy nodepool logs

View File

@ -19,8 +19,8 @@ providers:
region-name: RegionOne
cloud: devstack
# Long boot timeout to deal with potentially nested virt.
boot-timeout: 600
launch-timeout: 900
boot-timeout: 1200
launch-timeout: 1500
rate: 0.25
diskimages:
- name: test-image