Unable to deploy Ubuntu through Foreman

Problem:
I am trying to deploy Ubuntu 16.04 through Foreman. The ISO is exposed through FTP. Provisioning templates selected are:
Provisioning template-Preseed default
PXELinux template: Preseed default PXElinux
Finish template: Preseed default finish
When I click on ‘Build’, I get

There was an error rendering the Preseed default PXELinux template: expected of components of URI::FTP (scheme, userinfo, host, port, path, typecode)

Expected outcome:
I have deployed Red Hat based distros successfully through FTP URLs. Only Ubuntu is failing.
Foreman and Proxy versions:
FOREMAN: 1.15.6
RUBY: ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
PUPPET: 3.8.5

Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

Any help here please?

FTP use isn’t massively common, so there may not be many who can help. At the least, provide the logs from Foreman (/var/log/foreman/production.log) when clicking build, as that may give some clues.

Are you using an URL with FTP as your installation media? This has been reported to fail for Ubuntu on the IRC channel recently.

Could you try changing the installation media to “http://archive.ubuntu.com/ubuntu” in case you’re using FTP now? Hopefully that will work.

2 Likes

This was marked as solution so I guess it solved it :smile: