This seems like something that just came up with the nighties, and my guess
its related to rails packaging.
see Bug #1743: Validation of name parameters always fails - Foreman for more details.
Thanks,
Ohad
···
On Wed, Jul 11, 2012 at 2:59 AM, Darryl Ross wrote:Hi All,
Having an issue with a new build on Ubuntu 12.04 when puppetmaster is
sending reports. I was not able to get the packages in either stable or
testing (as of 12 hours ago) to work on Ubuntu 12.04 and have installed the
nightly build version.*root@monitor1:/etc/foreman# dpkg -l | egrep -e '(puppet|foreman)'
ii foreman 1.1-~nightlybuild1341896417
Systems management web interface
ii foreman-pgsql 1.1-~nightlybuild1341896417
metapackage providing PostgreSQL dependencies for Foreman
ii foreman-proxy 1.1-~nightlybuild1341896401
RESTful proxies for DNS, DHCP, TFTP, and Puppet
ii puppet 2.7.11-1ubuntu2
Centralized configuration management - agent startup and compatibility
scripts
ii puppet-common 2.7.11-1ubuntu2
Centralized configuration management
ii puppetmaster 2.7.11-1ubuntu2
Centralized configuration management - master startup and compatibility
scripts
ii puppetmaster-common 2.7.11-1ubuntu2
Puppet master common scripts
*
I am a complete noob when it comes to ruby, and haven’t been able to work
out how to unFILTER the report that is being passed in to find out why all
the fields are blank:Started POST “/reports/create?format=yml” for 202.191.108.5 at Wed Jul
11 09:21:49 +0930 2012
Processing by ReportsController#create as YML
Parameters: {“report”=>"[FILTERED]"}
processing report for monitor1.afoyi.com
Failed to process report for monitor1.afoyi.com due to:PG::Error: ERROR:
null value in column “name” violates not-null constraint
: INSERT INTO “hosts” (“domain_id”, “managed”, “subnet_id”,
“environment_id”, “name”, “owner_id”, “build”, “sp_ip”, “enabled”,
“serial”, “use_image”, “model_id”, “disk”, “certname”, “last_report”,
“operatingsystem_id”, “sp_mac”, “sp_subnet_id”, “puppet_ca_proxy_id”,
“compute_resource_id”, “environment”, “image_file”, “image_id”,
“hostgroup_id”, “puppet_proxy_id”, “medium_id”, “ip”, “architecture_id”,
“source_file_id”, “comment”, “owner_type”, “puppet_status”, “updated_at”,
“sp_name”, “created_at”, “ptable_id”, “root_pass”, “installed_at”,
“last_compile”, “uuid”, “mac”, “last_freshcheck”) VALUES (NULL, NULL, NULL,
NULL, NULL, NULL, ‘f’, ‘’, ‘t’, NULL, NULL, NULL, NULL, NULL, ‘2012-07-10
23:51:42.077620’, NULL, ‘’, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, 100663296, ‘2012-07-10
23:51:49.409657’, ‘’, ‘2012-07-10 23:51:49.409657’, NULL, NULL, NULL, NULL,
NULL, ‘’, NULL) RETURNING "id"
Rendered text template (0.0ms)
Completed 500 Internal Server Error in 21ms (Views: 0.6ms | ActiveRecord:
2.6ms)I want to use foreman purely for aggregating reports, not any automated
build system as we have other systems in place for that.Any suggestions?
–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/kBNP5MRCdCoJ.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.