Project

General

Custom queries

Profile

Actions

Bug #9673

closed

YAML type casting fails for lookup values in 1.7.3

Added by Christopher Williamson about 10 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
External Nodes
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

foreman-debug dump (rsync'd):
foreman-debug-4edVQ.tar.xz

Error logs (verbose enabled):
http://pastebin.com/raw.php?i=N2X0LuZx

Command output:
  1. puppet agent --test
    Warning: Unable to fetch my node definition, but the agent run will continue:
    Warning: Error 400 on SERVER: Failed to find cloud.chrisaw.com via exec: Execution of '/etc/puppet/node.rb cloud.chrisaw.com' returned 1:
    Info: Retrieving pluginfacts
    Info: Retrieving plugin
    Info: Loading facts
    Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node cloud.chrisaw.com: Failed to find cloud.chrisaw.com via exec: Execution of '/etc/puppet/node.rb cloud.chrisaw.com' returned 1:
    Warning: Not using cache on failed catalog
    Error: Could not retrieve catalog; skipping run
Deeper command output:
  1. /etc/puppet/node.rb cloud.chrisaw.com
    Error retrieving node cloud.chrisaw.com: Net::HTTPPreconditionFailed
    Check Foreman's /var/log/foreman/production.log for more information.

Files

stacktrace.txt stacktrace.txt 12.2 KB Martin Hubert, 03/16/2015 08:40 AM
SmartClassParameter.jpg View SmartClassParameter.jpg 62 KB Screenshot Smart Class Parameter Martin Hubert, 03/16/2015 10:55 AM

Related issues 2 (0 open2 closed)

Related to Foreman - Bug #9787: Default values of smart class parameters can't be JSON or YAMLClosedMarek Hulán03/16/2015Actions
Related to Foreman - Bug #8052: Smart class parameters with ERB snippets are broken for other that String typesClosedMarek Hulán10/23/2014Actions
#2

Updated by Greg Sutcliffe about 10 years ago

  • Subject changed from Puppet agent updates fail with Foreman 1.7.3 to YAML type casting fails for lookup values in 1.7.3
  • Category set to External Nodes
#3

Updated by The Foreman Bot about 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2228 added
  • Pull request deleted ()
#4

Updated by Dominic Cleal about 10 years ago

  • Translation missing: en.field_release set to 36
#5

Updated by Marek Hulán about 10 years ago

  • Assignee set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/2232 added
  • Pull request deleted (https://github.com/theforeman/foreman/pull/2228)
#6

Updated by Marek Hulán about 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
#7

Updated by Martin Hubert about 10 years ago

#11

Updated by Martin Hubert about 10 years ago

#13

Updated by Marek Hulán about 10 years ago

  • Related to Bug #9787: Default values of smart class parameters can't be JSON or YAML added
#14

Updated by Dominic Cleal about 10 years ago

  • Related to Bug #8052: Smart class parameters with ERB snippets are broken for other that String types added
Actions

Also available in: Atom PDF