Merge "CI: set tftp folder permission"
This commit is contained in:
commit
701ad07b57
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user