Displaying 2 results from an estimated 2 matches for "architecture_id".
2011 Nov 20
2
Foreman API, problem when creating hostgroups
I am trying to create a hostgroup using the Foreman API
(foreman-0.4-0.1rc1.noarch):
Using perl v.5.14.2, REST::Client et. al., ending up with sending:
POST /hostgroups
{"name":"api-created-
hostgroup","architecture_id":"","medium_id":"","environment_id":"","operatingsystem_id":"","ptable_id":"","puppetmaster":"puppet.dev.somewhere.com","root_pass":""}
which returns a 422-error
[...
2013 Oct 16
9
puppetdb, foreman, one particular node has a problem
...it:
Failed to import facts: PG::UndefinedColumn: ERROR: column "environment"
of relation "hosts" does not exist
LINE 1: ...d", "created_at", "disk", "domain_id", "enabled", "environme...
: INSERT INTO "hosts" ("architecture_id", "build", "certname", "comment",
"compute_resource_id", "created_at", "disk", "domain_id", "enabled", "environment",
"environment_id", "hostgroup_id", "image_file", "...