Project

General

Profile

Actions

Bug #7853

closed

installer fails on curl when using the discovery plugin "install_images: true"

Added by Jorick Astrego over 10 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When using the auto discovery download in the answers file ( "foreman::plugin::discovery": install_images: true ), I get the errors below. This is strange because when I run the same command manually from the server, the files download without errors.

What does "returned 23 instead of one of [0]" imply?

/usr/bin/curl -s http://downloads.theforeman.org/discovery/releases/latest/foreman-discovery-image-latest.el6.iso-vmlinuz -o /var/lib/tftpboot/boot/foreman-discovery-image-latest.el6.iso-vmlinuz returned 23 instead of one of [0]
/Stage[main]/Foreman::Plugin::Discovery/Foreman::Remote_file[/var/lib/tftpboot/boot/foreman-discovery-image-latest.el6.iso-vmlinuz]/Exec[retrieve_/var/lib/tftpboot/boot/foreman-discovery-image-latest.el6.iso-vmlinuz]/returns: change from notrun to 0 failed: /usr/bin/curl -s http://downloads.theforeman.org/discovery/releases/latest/foreman-discovery-image-latest.el6.iso-vmlinuz -o /var/lib/tftpboot/boot/foreman-discovery-image-latest.el6.iso-vmlinuz returned 23 instead of one of [0]
/usr/bin/curl -s http://downloads.theforeman.org/discovery/releases/latest/foreman-discovery-image-latest.el6.iso-img -o /var/lib/tftpboot/boot/foreman-discovery-image-latest.el6.iso-img returned 23 instead of one of [0]
/Stage[main]/Foreman::Plugin::Discovery/Foreman::Remote_file[/var/lib/tftpboot/boot/foreman-discovery-image-latest.el6.iso-img]/Exec[retrieve_/var/lib/tftpboot/boot/foreman-discovery-image-latest.el6.iso-img]/returns: change from notrun to 0 failed: /usr/bin/curl -s http://downloads.theforeman.org/discovery/releases/latest/foreman-discovery-image-latest.el6.iso-img -o /var/lib/tftpboot/boot/foreman-discovery-image-latest.el6.iso-img returned 23 instead of one of [0]
Actions

Also available in: Atom PDF