Project

General

Profile

Actions

Bug #14323

closed

Debian Libvirt SSH Image Provision fails

Added by Karli Sjöberg over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Compute resources - libvirt
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi!

Tried to create a new Debian host on libvirt compute resource succeeded even though it failed SSH and consequently didn´t get finished properly:
NoMethodError: undefined method `path' for nil:NilClass
/usr/local/share/foreman/app/models/operatingsystem.rb:112:in `medium_uri'
/usr/local/share/foreman/app/models/operatingsystems/debian.rb:13:in `preseed_path'
/usr/local/share/foreman/lib/foreman/renderer.rb:166:in `preseed_attributes'
/usr/local/share/foreman/lib/foreman/renderer.rb:121:in `load_template_vars'

Feels like it expects the creation to be network based even though it´s an image based provision. Looking at templates for the created host you can review the finish, PXELinux and user_data templates but clicking review on the provision template results in the same error. I have all of those templates defined for Debian OS, so that´s why I see them after creation is "completed", but only the finish template was "resolved" during creation, as it should.

FQDN for this host was "blah.inparadise.se", IP address 172.16.1.21. Debug production log attached.

TIA
/K


Files

production-debug.log production-debug.log 100 KB Karli Sjöberg, 03/22/2016 05:09 PM
Actions

Also available in: Atom PDF