Project

General

Profile

Actions

Bug #1997

closed

[puppet3] facter import fails with mysql error

Added by Martin Wilke over 11 years ago. Updated over 11 years ago.

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

Description

Hi,

I am running puppet 3 / theforman git version from 30th november. I was wondering why i dont see the factes import and looked around and find this log..

Started POST "/fact_values/create" for xxxxxxxx at Wed Dec 05 16:01:05 +0800 2012
Processing by FactValuesController#create as
Parameters: {"facts"=>"[FILTERED]"}
Failed to import facts: Mysql2::Error: Column 'name' cannot be null: INSERT INTO `hosts` (`build`, `ptable_id`, `environment`, `puppet_proxy_id`, `compute_resource_id`, `disk`, `root_pass`, `architecture_id`, `environment_id`, `organization_id`, `owner_type`, `last_compile`, `created_at`, `sp_mac`, `hostgroup_id`, `sp_subnet_id`, `last_report`, `comment`, `image_file`, `puppet_status`, `uuid`, `model_id`, `installed_at`, `puppet_ca_proxy_id`, `serial`, `sp_name`, `sp_ip`, `operatingsystem_id`, `managed`, `medium_id`, `image_id`, `updated_at`, `owner_id`, `name`, `source_file_id`, `last_freshcheck`, `ip`, `enabled`, `use_image`, `certname`, `location_id`, `domain_id`, `mac`, `subnet_id`) VALUES (0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2012-12-05 08:01:05', '', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, '', '', NULL, NULL, NULL, NULL, '2012-12-05 08:01:05', NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, '', NULL)
Rendered text template (0.0ms)
Completed 400 Bad Request in 15ms (Views: 0.7ms | ActiveRecord: 1.2ms)


Files

80-hk-db104.yaml 80-hk-db104.yaml 7.87 KB Martin Wilke, 01/29/2013 03:16 AM
Actions

Also available in: Atom PDF