Project

General

Profile

Bug #795

Failed to fetch boot files on older ruby versions

Added by Juan José Presa over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Hi

I'm creating a new host. All variables are defined and the hosts added ok.

But when I click "built" function fails with:

Failed to enable cliente1.metro.local for installation: Failed to fetch boot files: undefined method `count' for []:Array

In /tmp/proxy.log:

I, [2011-03-26T22:14:49.164066 #10854] INFO -- : TFTP entry for d2:ca:d3:1c:14:fc created successfully
E, [2011-03-26T22:14:49.172317 #10854] ERROR -- : undefined method `count' for []:Array
D, [2011-03-26T22:14:49.178458 #10854] DEBUG -- : TFTP entry for d2:ca:d3:1c:14:fc removed successfully

I have reviewed all items:

Operating systems
Installation media
Templates
Host
Hostgroup

Thanks in advance

Associated revisions

Revision 68bfe266 (diff)
Added by Ohad Levy over 9 years ago

fixes #795 - Failed to fetch boot files on older ruby versions

History

#1 Updated by Juan José Presa over 9 years ago

and actually the question is, how can i debug this error? ;)

#2 Updated by Ohad Levy over 9 years ago

  • Tracker changed from Support to Bug
  • Project changed from Foreman to Smart Proxy
  • Assignee set to Ohad Levy

#3 Updated by Ohad Levy over 9 years ago

  • Target version set to 0.2

I've confirmed this is a bug with older ruby versions... patch is on the way.

#4 Updated by Ohad Levy over 9 years ago

  • Subject changed from Failed to fetch boot files to Failed to fetch boot files on older ruby versions

#5 Updated by Ohad Levy over 9 years ago

  • Status changed from New to Ready For Testing
  • % Done changed from 0 to 100

#6 Updated by Juan José Presa over 9 years ago

I upgrade my ruby libs to 1.8.6 and keeps error, then tested smart-proxy from git and went OK

Thanks again!

#7 Updated by Ohad Levy over 9 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF