diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 72d6c36dbe..53792e98a7 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -1600,6 +1600,8 @@ function configure_ironic { iniset $IRONIC_CONF_FILE agent deploy_logs_collect $IRONIC_DEPLOY_LOGS_COLLECT iniset $IRONIC_CONF_FILE agent deploy_logs_storage_backend $IRONIC_DEPLOY_LOGS_STORAGE_BACKEND iniset $IRONIC_CONF_FILE agent deploy_logs_local_path $IRONIC_DEPLOY_LOGS_LOCAL_PATH + # Allow ironic to set permissions for the tftp test usage. + iniset $IRONIC_CONF_FILE pxe dir_permission 493 # Set image_download_source for direct interface if [[ -n "$IRONIC_AGENT_IMAGE_DOWNLOAD_SOURCE" ]]; then iniset $IRONIC_CONF_FILE agent image_download_source $IRONIC_AGENT_IMAGE_DOWNLOAD_SOURCE diff --git a/playbooks/ci-workarounds/get_extra_logging.yaml b/playbooks/ci-workarounds/get_extra_logging.yaml index 117a633ef1..cfd83759ad 100644 --- a/playbooks/ci-workarounds/get_extra_logging.yaml +++ b/playbooks/ci-workarounds/get_extra_logging.yaml @@ -3,6 +3,9 @@ - name: Get tftpd info from journald shell: "journalctl -t in.tftpd > {{ zuul_output_dir }}/logs/tftpd-journal.txt" become: yes + - name: Get tftpd info from journald + shell: "ls -laR /opt/stack/data/ironic/tftpboot /opt/stack/data/ironic/httpboot > {{ zuul_output_dir }}/logs/ironic-files.txt" + become: yes - name: Get network connection information for ironic process shell: "netstat -apn > {{ zuul_output_dir }}/logs/post-job-network-connections.txt" become: yes