Domain is not set from a host group

Hi,

Foreman version 1.14.3, Discovery plugin version 8.0.1.

During provisioning a server with multiple interfaces, domain is not set
from a host group.
Error - Failed to save: Domain can't be blank, Interfaces.domain can't find
domain with this id
The same issue like this bug - Bug #19445: Domain is not set from a hostgroup - Discovery - Foreman
Can you please advise?

2017-06-11 13:41:16 f825c503 [app] [I] Started GET
"/discovered_hosts/mac000000000000/edit?utf8=%E2%9C%93&host%5Bhostgroup_id%5D=1"
for 1.1.1.1 at 2017-06-11 13:41:16 +0000
2017-06-11 13:41:16 f825c503 [app] [I] Processing by
DiscoveredHostsController#edit as HTML
2017-06-11 13:41:16 f825c503 [app] [I] Parameters: {"utf8"=>"✓",
"host"=>{"hostgroup_id"=>"1"}, "id"=>"mac000000000000"}
2017-06-11 13:41:16 f825c503 [sql] [D]
ActiveRecord::SessionStore::Session Load (0.9ms) SELECT "sessions".* FROM
"sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC
LIMIT 1 [["session_id", "f825c5039243217a9989ad65570411fe"]]
2017-06-11 13:41:16 f825c503 [sql] [D] User Load (0.8ms) SELECT
"users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3]]
2017-06-11 13:41:16 f825c503 [app] [D] Setting current user thread-local
variable to admin
2017-06-11 13:41:16 f825c503 [sql] [D] AuthSource Load (0.7ms) SELECT
"auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT
1 [["id", 1]]
2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (0.9ms)
SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Discovered')
AND "hosts"."id" = $1 ORDER BY hosts.created_at DESC LIMIT 1 [["id", 0]]
2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (1.0ms)
SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Discovered')
AND "hosts"."name" = $1 ORDER BY hosts.created_at DESC LIMIT 1 [["name",
"mac000000000000"]]
2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.9ms) SELECT
"nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY
"nics"."identifier" ASC [["host_id", 12]]
2017-06-11 13:41:16 f825c503 [sql] [D] (0.2ms) BEGIN
2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT
"subnets".* FROM "subnets" WHERE "subnets"."id" = $1 AND "subnets"."type" =
$2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]]
2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT
"nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "2.2.2.2"]]
2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT
"nics".* FROM "nics" WHERE "nics"."domain_id" IS NULL AND "nics"."name" =
$1 [["name", "mac000000000000"]]
2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue
2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue
2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue
2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue
2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.5ms) SELECT
"nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "192.168.0.120"]]
2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue
2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue
2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue
2017-06-11 13:41:16 f825c503 [sql] [D] (0.4ms) COMMIT
2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT
"hostgroups".* FROM "hostgroups" WHERE "hostgroups"."title" = $1 ORDER BY
hostgroups.title LIMIT 1 [["title", "1"]]
2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.9ms) SELECT
"hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY
hostgroups.title LIMIT 1 [["id", 1]]
2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (1.0ms) SELECT
"hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY
hostgroups.title LIMIT 1 [["id", 1]]
2017-06-11 13:41:16 f825c503 [sql] [D] Architecture Load (0.7ms) SELECT
"architectures".* FROM "architectures" WHERE "architectures"."id" = $1
LIMIT 1 [["id", 1]]
2017-06-11 13:41:16 f825c503 [sql] [D] Operatingsystem Load (0.8ms)
SELECT "operatingsystems".* FROM "operatingsystems" WHERE
"operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT
1 [["id", 1]]
2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.7ms) SELECT
"domains".* FROM "domains" WHERE "domains"."id" = $1 ORDER BY domains.name
LIMIT 1 [["id", 1]]
2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT
"subnets".* FROM "subnets" WHERE "subnets"."id" = $1 ORDER BY vlanid LIMIT
1 [["id", 1]]
2017-06-11 13:41:16 f825c503 [app] [I] Rendered hosts/_progress.html.erb
(0.2ms)
2017-06-11 13:41:16 f825c503 [app] [D] Setting current organization
thread-local variable to none
2017-06-11 13:41:16 f825c503 [app] [D] Setting current location
thread-local variable to none
2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.3ms) SELECT
"smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies"
ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER
JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id"
WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY
"smart_proxies"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE "domains"."id" = $1 ORDER BY domains.name LIMIT 1
[["id", 1]]
2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT
"hostgroups".* FROM "hostgroups" WHERE (1=1) ORDER BY "hostgroups"."title"
ASC
2017-06-11 13:41:16 f825c503 [sql] [D] Environment Load (0.6ms) SELECT
"environments".* FROM "environments" WHERE (1=1) ORDER BY
"environments"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT
"smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies"
ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER
JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id"
WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY
"smart_proxies"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.1ms) SELECT
"smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies"
ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER
JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id"
WHERE (1=1) AND "features"."name" = 'Puppet CA' ORDER BY
"smart_proxies"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] Realm Load (0.6ms) SELECT
"realms".* FROM "realms" WHERE (1=1) ORDER BY "realms"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT
"smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies"
ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER
JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id"
WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY
"smart_proxies"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "nics".*
FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC
[["host_id", 12]]
2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.6ms) SELECT
"domains".* FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv4 Load (0.8ms) SELECT
"subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND
(1=1) ORDER BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv6 Load (0.7ms) SELECT
"subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND
(1=1) ORDER BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER
BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]]
2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb
(20.9ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_virtual_form.html.erb (1.2ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_provider_specific_form.html.erb (0.1ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/manageds/_managed.html.erb (23.9ms)
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb
(14.5ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_virtual_form.html.erb (1.1ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_provider_specific_form.html.erb (0.1ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/manageds/_managed.html.erb (17.1ms)
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb
(13.5ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_virtual_form.html.erb (1.0ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_provider_specific_form.html.erb (0.1ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/manageds/_managed.html.erb (16.0ms)
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb
(13.4ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_virtual_form.html.erb (1.0ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_provider_specific_form.html.erb (0.1ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/manageds/_managed.html.erb (16.0ms)
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb
(13.8ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_provider_specific_form.html.erb (0.1ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/bmcs/_bmc.html.erb
(16.4ms)
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb
(13.8ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_virtual_form.html.erb (1.0ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_provider_specific_form.html.erb (0.1ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/manageds/_managed.html.erb (16.4ms)
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".*
FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".*
FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER
BY "subnets"."name" ASC
2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb
(13.5ms)
2017-06-11 13:41:16 f825c503 [app] [I] Rendered
nic/_virtual_form.html.erb (1

Will be fixed in Discovery 9.1, we are having some troubles with our
builder so the update is delayed.

LZ

··· On Mon, Jun 12, 2017 at 8:16 AM, Ido Kaplan wrote: > Hi, > > Foreman version 1.14.3, Discovery plugin version 8.0.1. > > During provisioning a server with multiple interfaces, domain is not set > from a host group. > Error - Failed to save: Domain can't be blank, Interfaces.domain can't find > domain with this id > The same issue like this bug - http://projects.theforeman.org/issues/19445 > Can you please advise? > > 2017-06-11 13:41:16 f825c503 [app] [I] Started GET > "/discovered_hosts/mac000000000000/edit?utf8=%E2%9C%93&host%5Bhostgroup_id%5D=1" > for 1.1.1.1 at 2017-06-11 13:41:16 +0000 > 2017-06-11 13:41:16 f825c503 [app] [I] Processing by > DiscoveredHostsController#edit as HTML > 2017-06-11 13:41:16 f825c503 [app] [I] Parameters: {"utf8"=>"✓", > "host"=>{"hostgroup_id"=>"1"}, "id"=>"mac000000000000"} > 2017-06-11 13:41:16 f825c503 [sql] [D] ActiveRecord::SessionStore::Session > Load (0.9ms) SELECT "sessions".* FROM "sessions" WHERE > "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC LIMIT 1 > [["session_id", "f825c5039243217a9989ad65570411fe"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] User Load (0.8ms) SELECT > "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3]] > 2017-06-11 13:41:16 f825c503 [app] [D] Setting current user thread-local > variable to admin > 2017-06-11 13:41:16 f825c503 [sql] [D] AuthSource Load (0.7ms) SELECT > "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 > [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (0.9ms) > SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Discovered') > AND "hosts"."id" = $1 ORDER BY hosts.created_at DESC LIMIT 1 [["id", 0]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (1.0ms) > SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Discovered') > AND "hosts"."name" = $1 ORDER BY hosts.created_at DESC LIMIT 1 [["name", > "mac000000000000"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.9ms) SELECT > "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY > "nics"."identifier" ASC [["host_id", 12]] > 2017-06-11 13:41:16 f825c503 [sql] [D] (0.2ms) BEGIN > 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT > "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 AND "subnets"."type" = > $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT > "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "2.2.2.2"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT > "nics".* FROM "nics" WHERE "nics"."domain_id" IS NULL AND "nics"."name" = $1 > [["name", "mac000000000000"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.5ms) SELECT > "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "192.168.0.120"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] (0.4ms) COMMIT > 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT > "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."title" = $1 ORDER BY > hostgroups.title LIMIT 1 [["title", "1"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.9ms) SELECT > "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY > hostgroups.title LIMIT 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (1.0ms) SELECT > "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY > hostgroups.title LIMIT 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Architecture Load (0.7ms) SELECT > "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT > 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Operatingsystem Load (0.8ms) > SELECT "operatingsystems".* FROM "operatingsystems" WHERE > "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT > 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.7ms) SELECT > "domains".* FROM "domains" WHERE "domains"."id" = $1 ORDER BY domains.name > LIMIT 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT > "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 ORDER BY vlanid LIMIT > 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered hosts/_progress.html.erb > (0.2ms) > 2017-06-11 13:41:16 f825c503 [app] [D] Setting current organization > thread-local variable to none > 2017-06-11 13:41:16 f825c503 [app] [D] Setting current location thread-local > variable to none > 2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.3ms) SELECT > "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" > ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER > JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" > WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY > "smart_proxies"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE "domains"."id" = $1 ORDER BY domains.name LIMIT 1 > [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT > "hostgroups".* FROM "hostgroups" WHERE (1=1) ORDER BY "hostgroups"."title" > ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] Environment Load (0.6ms) SELECT > "environments".* FROM "environments" WHERE (1=1) ORDER BY > "environments"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" > ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER > JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" > WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY > "smart_proxies"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.1ms) SELECT > "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" > ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER > JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" > WHERE (1=1) AND "features"."name" = 'Puppet CA' ORDER BY > "smart_proxies"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] Realm Load (0.6ms) SELECT > "realms".* FROM "realms" WHERE (1=1) ORDER BY "realms"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" > ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER > JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" > WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY > "smart_proxies"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "nics".* FROM > "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC > [["host_id", 12]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.6ms) SELECT > "domains".* FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv4 Load (0.8ms) SELECT > "subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND > (1=1) ORDER BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv6 Load (0.7ms) SELECT > "subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND > (1=1) ORDER BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."id" = $1 AND "subnets"."type" = $2 ORDER BY > vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (20.9ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_virtual_form.html.erb > (1.2ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/manageds/_managed.html.erb (23.9ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (14.5ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_virtual_form.html.erb > (1.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/manageds/_managed.html.erb (17.1ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (13.5ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_virtual_form.html.erb > (1.0ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/manageds/_managed.html.erb (16.0ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (13.4ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_virtual_form.html.erb > (1.0ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/manageds/_managed.html.erb (16.0ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (13.8ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/bmcs/_bmc.html.erb > (16.4ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER

Ok, thank you for the update.
Is there a fix for this issue?
When it should be released?

··· On Monday, June 12, 2017 at 9:16:37 AM UTC+3, Ido Kaplan wrote: > > Hi, > > Foreman version 1.14.3, Discovery plugin version 8.0.1. > > During provisioning a server with multiple interfaces, domain is not set > from a host group. > Error - Failed to save: Domain can't be blank, Interfaces.domain can't > find domain with this id > The same issue like this bug - http://projects.theforeman.org/issues/19445 > Can you please advise? > > 2017-06-11 13:41:16 f825c503 [app] [I] Started GET > "/discovered_hosts/mac000000000000/edit?utf8=%E2%9C%93&host%5Bhostgroup_id%5D=1" > for 1.1.1.1 at 2017-06-11 13:41:16 +0000 > 2017-06-11 13:41:16 f825c503 [app] [I] Processing by > DiscoveredHostsController#edit as HTML > 2017-06-11 13:41:16 f825c503 [app] [I] Parameters: {"utf8"=>"✓", > "host"=>{"hostgroup_id"=>"1"}, "id"=>"mac000000000000"} > 2017-06-11 13:41:16 f825c503 [sql] [D] > ActiveRecord::SessionStore::Session Load (0.9ms) SELECT "sessions".* FROM > "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC > LIMIT 1 [["session_id", "f825c5039243217a9989ad65570411fe"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] User Load (0.8ms) SELECT > "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3]] > 2017-06-11 13:41:16 f825c503 [app] [D] Setting current user thread-local > variable to admin > 2017-06-11 13:41:16 f825c503 [sql] [D] AuthSource Load (0.7ms) SELECT > "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT > 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (0.9ms) > SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Discovered') > AND "hosts"."id" = $1 ORDER BY hosts.created_at DESC LIMIT 1 [["id", 0]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (1.0ms) > SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Discovered') > AND "hosts"."name" = $1 ORDER BY hosts.created_at DESC LIMIT 1 [["name", > "mac000000000000"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.9ms) SELECT > "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY > "nics"."identifier" ASC [["host_id", 12]] > 2017-06-11 13:41:16 f825c503 [sql] [D] (0.2ms) BEGIN > 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT > "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 AND "subnets"."type" = > $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT > "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "2.2.2.2"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT > "nics".* FROM "nics" WHERE "nics"."domain_id" IS NULL AND "nics"."name" = > $1 [["name", "mac000000000000"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.5ms) SELECT > "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "192.168.0.120"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > 2017-06-11 13:41:16 f825c503 [sql] [D] (0.4ms) COMMIT > 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT > "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."title" = $1 ORDER BY > hostgroups.title LIMIT 1 [["title", "1"]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.9ms) SELECT > "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY > hostgroups.title LIMIT 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (1.0ms) SELECT > "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY > hostgroups.title LIMIT 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Architecture Load (0.7ms) > SELECT "architectures".* FROM "architectures" WHERE "architectures"."id" = > $1 LIMIT 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Operatingsystem Load (0.8ms) > SELECT "operatingsystems".* FROM "operatingsystems" WHERE > "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT > 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.7ms) SELECT > "domains".* FROM "domains" WHERE "domains"."id" = $1 ORDER BY > domains.name LIMIT 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT > "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 ORDER BY vlanid LIMIT > 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered hosts/_progress.html.erb > (0.2ms) > 2017-06-11 13:41:16 f825c503 [app] [D] Setting current organization > thread-local variable to none > 2017-06-11 13:41:16 f825c503 [app] [D] Setting current location > thread-local variable to none > 2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.3ms) SELECT > "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" > ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER > JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" > WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY > "smart_proxies"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* FROM "domains" WHERE "domains"."id" = $1 ORDER BY > domains.name LIMIT 1 [["id", 1]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT > "hostgroups".* FROM "hostgroups" WHERE (1=1) ORDER BY "hostgroups"."title" > ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] Environment Load (0.6ms) SELECT > "environments".* FROM "environments" WHERE (1=1) ORDER BY > "environments"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" > ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER > JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" > WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY > "smart_proxies"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.1ms) SELECT > "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" > ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER > JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" > WHERE (1=1) AND "features"."name" = 'Puppet CA' ORDER BY > "smart_proxies"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] Realm Load (0.6ms) SELECT > "realms".* FROM "realms" WHERE (1=1) ORDER BY "realms"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" > ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER > JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" > WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY > "smart_proxies"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "nics".* > FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC > [["host_id", 12]] > 2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.6ms) SELECT > "domains".* FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv4 Load (0.8ms) SELECT > "subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND > (1=1) ORDER BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv6 Load (0.7ms) SELECT > "subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND > (1=1) ORDER BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 AND "subnets"."type" = > $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (20.9ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_virtual_form.html.erb (1.2ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/manageds/_managed.html.erb (23.9ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (14.5ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_virtual_form.html.erb (1.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/manageds/_managed.html.erb (17.1ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (13.5ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_virtual_form.html.erb (1.0ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/manageds/_managed.html.erb (16.0ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (13.4ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_virtual_form.html.erb (1.0ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/manageds/_managed.html.erb (16.0ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (13.8ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/bmcs/_bmc.html.erb > (16.4ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER > BY "subnets"."name" ASC > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb > (13.8ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_virtual_form.html.erb (1.0ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_provider_specific_form.html.erb (0.1ms) > 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/manageds/_managed.html.erb (16.4ms) > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* > FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* > FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER > BY "subne

Thank you for the update.
If I understand correctly, this bug is relevant also to Discovery plugin version 8.0.1?

Ido

··· > On 12 Jun 2017, at 14:34, Lukas Zapletal wrote: > > Discovery plugin version 8.0.1

No ETA yet, you can use this scratchbuild it will work:
http://koji.katello.org/koji/taskinfo?taskID=6018

Report back if it fixes your issue.

LZ

··· On Tue, Jun 13, 2017 at 1:32 PM, Ido Kaplan wrote: > Ok, thank you for the update. > Is there a fix for this issue? > When it should be released? > > > On Monday, June 12, 2017 at 9:16:37 AM UTC+3, Ido Kaplan wrote: >> >> Hi, >> >> Foreman version 1.14.3, Discovery plugin version 8.0.1. >> >> During provisioning a server with multiple interfaces, domain is not set >> from a host group. >> Error - Failed to save: Domain can't be blank, Interfaces.domain can't >> find domain with this id >> The same issue like this bug - http://projects.theforeman.org/issues/19445 >> Can you please advise? >> >> 2017-06-11 13:41:16 f825c503 [app] [I] Started GET >> "/discovered_hosts/mac000000000000/edit?utf8=%E2%9C%93&host%5Bhostgroup_id%5D=1" >> for 1.1.1.1 at 2017-06-11 13:41:16 +0000 >> 2017-06-11 13:41:16 f825c503 [app] [I] Processing by >> DiscoveredHostsController#edit as HTML >> 2017-06-11 13:41:16 f825c503 [app] [I] Parameters: {"utf8"=>"✓", >> "host"=>{"hostgroup_id"=>"1"}, "id"=>"mac000000000000"} >> 2017-06-11 13:41:16 f825c503 [sql] [D] >> ActiveRecord::SessionStore::Session Load (0.9ms) SELECT "sessions".* FROM >> "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" ASC >> LIMIT 1 [["session_id", "f825c5039243217a9989ad65570411fe"]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] User Load (0.8ms) SELECT >> "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3]] >> 2017-06-11 13:41:16 f825c503 [app] [D] Setting current user thread-local >> variable to admin >> 2017-06-11 13:41:16 f825c503 [sql] [D] AuthSource Load (0.7ms) SELECT >> "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1 >> [["id", 1]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (0.9ms) >> SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Discovered') >> AND "hosts"."id" = $1 ORDER BY hosts.created_at DESC LIMIT 1 [["id", 0]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (1.0ms) >> SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Discovered') >> AND "hosts"."name" = $1 ORDER BY hosts.created_at DESC LIMIT 1 [["name", >> "mac000000000000"]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.9ms) SELECT >> "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY >> "nics"."identifier" ASC [["host_id", 12]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] (0.2ms) BEGIN >> 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT >> "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 AND "subnets"."type" = >> $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT >> "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "2.2.2.2"]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT >> "nics".* FROM "nics" WHERE "nics"."domain_id" IS NULL AND "nics"."name" = $1 >> [["name", "mac000000000000"]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue >> 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.5ms) SELECT >> "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "192.168.0.120"]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue >> 2017-06-11 13:41:16 f825c503 [sql] [D] (0.4ms) COMMIT >> 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT >> "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."title" = $1 ORDER BY >> hostgroups.title LIMIT 1 [["title", "1"]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.9ms) SELECT >> "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY >> hostgroups.title LIMIT 1 [["id", 1]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (1.0ms) SELECT >> "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY >> hostgroups.title LIMIT 1 [["id", 1]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Architecture Load (0.7ms) SELECT >> "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 LIMIT >> 1 [["id", 1]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Operatingsystem Load (0.8ms) >> SELECT "operatingsystems".* FROM "operatingsystems" WHERE >> "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC LIMIT >> 1 [["id", 1]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.7ms) SELECT >> "domains".* FROM "domains" WHERE "domains"."id" = $1 ORDER BY domains.name >> LIMIT 1 [["id", 1]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT >> "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 ORDER BY vlanid LIMIT >> 1 [["id", 1]] >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered hosts/_progress.html.erb >> (0.2ms) >> 2017-06-11 13:41:16 f825c503 [app] [D] Setting current organization >> thread-local variable to none >> 2017-06-11 13:41:16 f825c503 [app] [D] Setting current location >> thread-local variable to none >> 2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.3ms) SELECT >> "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" >> ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER >> JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" >> WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY >> "smart_proxies"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT >> "domains".* FROM "domains" WHERE "domains"."id" = $1 ORDER BY domains.name >> LIMIT 1 [["id", 1]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT >> "hostgroups".* FROM "hostgroups" WHERE (1=1) ORDER BY "hostgroups"."title" >> ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] Environment Load (0.6ms) SELECT >> "environments".* FROM "environments" WHERE (1=1) ORDER BY >> "environments"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT >> "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" >> ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER >> JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" >> WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY >> "smart_proxies"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.1ms) SELECT >> "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" >> ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER >> JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" >> WHERE (1=1) AND "features"."name" = 'Puppet CA' ORDER BY >> "smart_proxies"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] Realm Load (0.6ms) SELECT >> "realms".* FROM "realms" WHERE (1=1) ORDER BY "realms"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT >> "smart_proxies".* FROM "smart_proxies" INNER JOIN "features_smart_proxies" >> ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" INNER >> JOIN "features" ON "features"."id" = "features_smart_proxies"."feature_id" >> WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY >> "smart_proxies"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "nics".* >> FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" ASC >> [["host_id", 12]] >> 2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.6ms) SELECT >> "domains".* FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv4 Load (0.8ms) SELECT >> "subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND >> (1=1) ORDER BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv6 Load (0.7ms) SELECT >> "subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND >> (1=1) ORDER BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT >> "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 AND "subnets"."type" = >> $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb >> (20.9ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/_virtual_form.html.erb (1.2ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/_provider_specific_form.html.erb (0.1ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/manageds/_managed.html.erb (23.9ms) >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb >> (14.5ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/_virtual_form.html.erb (1.1ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/_provider_specific_form.html.erb (0.1ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/manageds/_managed.html.erb (17.1ms) >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb >> (13.5ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/_virtual_form.html.erb (1.0ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/_provider_specific_form.html.erb (0.1ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/manageds/_managed.html.erb (16.0ms) >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered nic/_base_form.html.erb >> (13.4ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/_virtual_form.html.erb (1.0ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/_provider_specific_form.html.erb (0.1ms) >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered >> nic/manageds/_managed.html.erb (16.0ms) >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "domains".* >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "subnets".* >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) ORDER >> BY "subnets"."name" ASC >> 2017-06-11 13:41:16 f825c503

I haven't investigated all the versions, it's definitely a regression:
http://projects.theforeman.org/issues/19445

We are working on better integration/system test to capture
regressions in this area.

LZ

··· On Mon, Jun 12, 2017 at 1:41 PM, עידו Gmail wrote: > Thank you for the update. > If I understand correctly, this bug is relevant also to Discovery plugin > version 8.0.1? > > > > Ido > > > On 12 Jun 2017, at 14:34, Lukas Zapletal wrote: > > Discovery plugin version 8.0.1 > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

I cannot find a link where I can download the RPM, can you please help?
The installation is only to install the RPM?
Is it necessary to upgrade Foreman as well? I'm running now 14.3

··· On Friday, June 16, 2017 at 12:03:03 PM UTC+3, Lukas Zapletal wrote: > > No ETA yet, you can use this scratchbuild it will work: > http://koji.katello.org/koji/taskinfo?taskID=6018 > > Report back if it fixes your issue. > > LZ > > On Tue, Jun 13, 2017 at 1:32 PM, Ido Kaplan > wrote: > > Ok, thank you for the update. > > Is there a fix for this issue? > > When it should be released? > > > > > > On Monday, June 12, 2017 at 9:16:37 AM UTC+3, Ido Kaplan wrote: > >> > >> Hi, > >> > >> Foreman version 1.14.3, Discovery plugin version 8.0.1. > >> > >> During provisioning a server with multiple interfaces, domain is not > set > >> from a host group. > >> Error - Failed to save: Domain can't be blank, Interfaces.domain can't > >> find domain with this id > >> The same issue like this bug - > http://projects.theforeman.org/issues/19445 > >> Can you please advise? > >> > >> 2017-06-11 13:41:16 f825c503 [app] [I] Started GET > >> > "/discovered_hosts/mac000000000000/edit?utf8=%E2%9C%93&host%5Bhostgroup_id%5D=1" > > >> for 1.1.1.1 at 2017-06-11 13:41:16 +0000 > >> 2017-06-11 13:41:16 f825c503 [app] [I] Processing by > >> DiscoveredHostsController#edit as HTML > >> 2017-06-11 13:41:16 f825c503 [app] [I] Parameters: {"utf8"=>"✓", > >> "host"=>{"hostgroup_id"=>"1"}, "id"=>"mac000000000000"} > >> 2017-06-11 13:41:16 f825c503 [sql] [D] > >> ActiveRecord::SessionStore::Session Load (0.9ms) SELECT "sessions".* > FROM > >> "sessions" WHERE "sessions"."session_id" = $1 ORDER BY "sessions"."id" > ASC > >> LIMIT 1 [["session_id", "f825c5039243217a9989ad65570411fe"]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] User Load (0.8ms) SELECT > >> "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3]] > >> 2017-06-11 13:41:16 f825c503 [app] [D] Setting current user > thread-local > >> variable to admin > >> 2017-06-11 13:41:16 f825c503 [sql] [D] AuthSource Load (0.7ms) > SELECT > >> "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 > LIMIT 1 > >> [["id", 1]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (0.9ms) > >> SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN > ('Host::Discovered') > >> AND "hosts"."id" = $1 ORDER BY hosts.created_at DESC LIMIT 1 [["id", > 0]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Host::Discovered Load (1.0ms) > >> SELECT "hosts".* FROM "hosts" WHERE "hosts"."type" IN > ('Host::Discovered') > >> AND "hosts"."name" = $1 ORDER BY hosts.created_at DESC LIMIT 1 > [["name", > >> "mac000000000000"]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.9ms) SELECT > >> "nics".* FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY > >> "nics"."identifier" ASC [["host_id", 12]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] (0.2ms) BEGIN > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT > >> "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 AND > "subnets"."type" = > >> $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT > >> "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "2.2.2.2"]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.6ms) SELECT > >> "nics".* FROM "nics" WHERE "nics"."domain_id" IS NULL AND "nics"."name" > = $1 > >> [["name", "mac000000000000"]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Nic::Base Load (0.5ms) SELECT > >> "nics".* FROM "nics" WHERE "nics"."ip" = $1 [["ip", "192.168.0.120"]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Using host queue > >> 2017-06-11 13:41:16 f825c503 [sql] [D] (0.4ms) COMMIT > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT > >> "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."title" = $1 ORDER > BY > >> hostgroups.title LIMIT 1 [["title", "1"]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.9ms) SELECT > >> "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY > >> hostgroups.title LIMIT 1 [["id", 1]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (1.0ms) SELECT > >> "hostgroups".* FROM "hostgroups" WHERE "hostgroups"."id" = $1 ORDER BY > >> hostgroups.title LIMIT 1 [["id", 1]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Architecture Load (0.7ms) > SELECT > >> "architectures".* FROM "architectures" WHERE "architectures"."id" = $1 > LIMIT > >> 1 [["id", 1]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Operatingsystem Load (0.8ms) > >> SELECT "operatingsystems".* FROM "operatingsystems" WHERE > >> "operatingsystems"."id" = $1 ORDER BY "operatingsystems"."title" ASC > LIMIT > >> 1 [["id", 1]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.7ms) SELECT > >> "domains".* FROM "domains" WHERE "domains"."id" = $1 ORDER BY > domains.name > >> LIMIT 1 [["id", 1]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet Load (0.7ms) SELECT > >> "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 ORDER BY vlanid > LIMIT > >> 1 [["id", 1]] > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > hosts/_progress.html.erb > >> (0.2ms) > >> 2017-06-11 13:41:16 f825c503 [app] [D] Setting current organization > >> thread-local variable to none > >> 2017-06-11 13:41:16 f825c503 [app] [D] Setting current location > >> thread-local variable to none > >> 2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.3ms) > SELECT > >> "smart_proxies".* FROM "smart_proxies" INNER JOIN > "features_smart_proxies" > >> ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" > INNER > >> JOIN "features" ON "features"."id" = > "features_smart_proxies"."feature_id" > >> WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY > >> "smart_proxies"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > >> "domains".* FROM "domains" WHERE "domains"."id" = $1 ORDER BY > domains.name > >> LIMIT 1 [["id", 1]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Hostgroup Load (0.8ms) SELECT > >> "hostgroups".* FROM "hostgroups" WHERE (1=1) ORDER BY > "hostgroups"."title" > >> ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Environment Load (0.6ms) > SELECT > >> "environments".* FROM "environments" WHERE (1=1) ORDER BY > >> "environments"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > >> "smart_proxies".* FROM "smart_proxies" INNER JOIN > "features_smart_proxies" > >> ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" > INNER > >> JOIN "features" ON "features"."id" = > "features_smart_proxies"."feature_id" > >> WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY > >> "smart_proxies"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] SmartProxy Load (1.1ms) > SELECT > >> "smart_proxies".* FROM "smart_proxies" INNER JOIN > "features_smart_proxies" > >> ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" > INNER > >> JOIN "features" ON "features"."id" = > "features_smart_proxies"."feature_id" > >> WHERE (1=1) AND "features"."name" = 'Puppet CA' ORDER BY > >> "smart_proxies"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Realm Load (0.6ms) SELECT > >> "realms".* FROM "realms" WHERE (1=1) ORDER BY "realms"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > >> "smart_proxies".* FROM "smart_proxies" INNER JOIN > "features_smart_proxies" > >> ON "features_smart_proxies"."smart_proxy_id" = "smart_proxies"."id" > INNER > >> JOIN "features" ON "features"."id" = > "features_smart_proxies"."feature_id" > >> WHERE (1=1) AND "features"."name" = 'Puppet' ORDER BY > >> "smart_proxies"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT "nics".* > >> FROM "nics" WHERE "nics"."host_id" = $1 ORDER BY "nics"."identifier" > ASC > >> [["host_id", 12]] > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Domain Load (0.6ms) SELECT > >> "domains".* FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv4 Load (0.8ms) > SELECT > >> "subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') > AND > >> (1=1) ORDER BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] Subnet::Ipv6 Load (0.7ms) > SELECT > >> "subnets".* FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') > AND > >> (1=1) ORDER BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > >> "subnets".* FROM "subnets" WHERE "subnets"."id" = $1 AND > "subnets"."type" = > >> $2 ORDER BY vlanid LIMIT 1 [["id", 1], ["type", "Subnet::Ipv4"]] > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_base_form.html.erb > >> (20.9ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/_virtual_form.html.erb (1.2ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/_provider_specific_form.html.erb (0.1ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/manageds/_managed.html.erb (23.9ms) > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_base_form.html.erb > >> (14.5ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/_virtual_form.html.erb (1.1ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/_provider_specific_form.html.erb (0.1ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/manageds/_managed.html.erb (17.1ms) > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_base_form.html.erb > >> (13.5ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/_virtual_form.html.erb (1.0ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/_provider_specific_form.html.erb (0.1ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/manageds/_managed.html.erb (16.0ms) > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_base_form.html.erb > >> (13.4ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/_virtual_form.html.erb (1.0ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/_provider_specific_form.html.erb (0.1ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/manageds/_managed.html.erb (16.0ms) > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "domains".* > >> FROM "domains" WHERE (1=1) ORDER BY "domains"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv4') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0.0ms) SELECT > "subnets".* > >> FROM "subnets" WHERE "subnets"."type" IN ('Subnet::Ipv6') AND (1=1) > ORDER > >> BY "subnets"."name" ASC > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/_base_form.html.erb > >> (13.8ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > >> nic/_provider_specific_form.html.erb (0.1ms) > >> 2017-06-11 13:41:16 f825c503 [app] [I] Rendered > nic/bmcs/_bmc.html.erb > >> (16.4ms) > >> 2017-06-11 13:41:16 f825c503 [sql] [D] CACHE (0

Foreman is not loading after installing the RPM.
Web application could not be started

uninitialized constant ApplicationRecord (NameError)

/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-9.1.0/app/models/discovery_attribute_set.rb:1:in
`<top (required)>'

/opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in
`require'

/opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in
`require'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/polyglot-0.3.4/lib/polyglot.rb:65:in
`require'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:472:in
`block (2 levels) in eager_load!'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:471:in
`each'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:471:in
`block in eager_load!'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:469:in
`each'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:469:in
`eager_load!'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:346:in
`eager_load!'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:56:in
`each'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:56:in
`block in <module:Finisher>'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`instance_exec'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
`run'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
block in run_initializers&#39; /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:226:inblock in
tsort_each'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:348:in block (2 levels) in each_strongly_connected_component&#39; /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:429:ineach_strongly_connected_component_from'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:347:in block in each_strongly_connected_component&#39; /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:345:ineach'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:345:in call&#39; /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:345:ineach_strongly_connected_component'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:224:in tsort_each&#39; /opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:203:intsort_each'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
`run_initializers'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
`initialize!'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
`public_send'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
method_missing&#39; /usr/share/foreman/config/environment.rb:5:in<top (required)>'

/opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in
`require'

/opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in
require&#39; config.ru:3:inblock in <main>'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/builder.rb:55:in
`instance_eval'

/opt/rh/sclo-ror42/root/usr/share/gems/gems/rack-1.6.2/lib/rack/builder.rb:55:in
initialize&#39; config.ru:1:innew'
config.ru:1:in &lt;main&gt;&#39; /usr/share/passenger/helper-scripts/rack-preloader.rb:112:ineval'
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in preload_app&#39; /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in
&lt;module:PhusionPassenger&gt;&#39; /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in<main>'
Error ID
8f473593
Application root
/usr/share/foreman
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV, NODE_ENV and
PASSENGER_APP_ENV)
production
Ruby interpreter command
/usr/bin/tfm-ruby
User and groups
uid=996(foreman) gid=993(foreman) groups=993(foreman),991(puppet)
Environment variables
MANPATH =
/opt/theforeman/tfm/root/usr/share/man:/opt/rh/rh-ruby22/root/usr/share/man:/opt/rh/sclo-ror42/root/usr/share/man:
SHELL = /bin/false
LIBRARY_PATH = /opt/theforeman/tfm/root/usr/lib64dd
PYTHONUNBUFFERED = 1
PASSENGER_DEBUG_DIR = /tmp/passenger.spawn-debug.XXXXmHFlTK
SERVER_PORT = 80
X_SCLS = rh-ruby22 sclo-ror42 tfm
USER = foreman
DOCUMENT_ROOT = /usr/share/foreman/public
LD_LIBRARY_PATH =
/opt/theforeman/tfm/root/usr/lib64:/opt/rh/rh-ruby22/root/usr/lib64:/opt/rh/sclo-ror42/root/usr/lib64
REQUEST_URI = /
CPATH = /opt/theforeman/tfm/root/usr/include
IN_PASSENGER = 1
RACK_ENV = production
REMOTE_PORT = 34438
PATH =
/opt/theforeman/tfm/root/usr/bin:/opt/rh/rh-ruby22/root/usr/bin:/opt/rh/sclo-ror42/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
WSGI_ENV = production
_ = /opt/rh/rh-ruby22/root/usr/bin/ruby
PWD = /usr/share/foreman
SERVER_ADMIN = [no address given]
LANG = C
NODE_PATH = /usr/share/passenger/node
NODE_ENV = production
NOTIFY_SOCKET = /run/systemd/notify
REMOTE_ADDR = 127.0.0.1
HOME = /usr/share/foreman
SERVER_NAME = foreman-01.X.dom
SHLVL = 4
RAILS_ENV = production
LOGNAME = foreman
SERVER_SOFTWARE = Apache/2.4.6 (CentOS)
QUERY_STRING =
SERVER_ADDR = 127.0.0.1
GEM_PATH =
/opt/theforeman/tfm/root/usr/share/gems:/opt/rh/sclo-ror42/root/usr/share/gems:/usr/share/foreman/.gem/ruby:/opt/rh/rh-ruby22/root/usr/share/gems:/opt/rh/rh-ruby22/root/usr/local/share/gems/opt/rh/sclo-ror42/root/usr/share/gems:/usr/share/foreman/.gem/ruby:/opt/rh/rh-ruby22/root/usr/share/gems:/opt/rh/rh-ruby22/root/usr/local/share/gems
XDG_DATA_DIRS = /opt/rh/rh-ruby22/root/usr/share
PKG_CONFIG_PATH =
/opt/theforeman/tfm/root/usr/lib64/pkgconfig:/opt/rh/rh-ruby22/root/usr/lib64/pkgconfig:/opt/rh/sclo-ror42/root/usr/lib64/pkgconfig
PASSENGER_APP_ENV = production
SERVER_PROTOCOL = HTTP/1.1
REQUEST_METHOD = HEAD
_ORIGINAL_GEM_PATH =
/opt/theforeman/tfm/root/usr/share/gems:/opt/rh/sclo-ror42/root/usr/share/gems:/usr/share/foreman/.gem/ruby:/opt/rh/rh-ruby22/root/usr/share/gems:/opt/rh/rh-ruby22/root/usr/local/share/gems/opt/rh/sclo-ror42/root/usr/share/gems:/usr/share/foreman/.gem/ruby:/opt/rh/rh-ruby22/root/usr/share/gems:/opt/rh/rh-ruby22/root/usr/local/share/gems
BUNDLE_GEMFILE = /usr/share/foreman/Gemfile.in
Ulimits
Unknown
System metrics
------------- General -------------
Kernel version : 3.10.0-514.21.1.el7.x86_64
Uptime : 6m 59s
Load averages : 1.17%, 1.06%, 0.57%
Fork rate : unknown

------------- CPU -------------
Number of CPUs : 2
Average CPU usage : 0% – 0% user, 0% nice, 0% system, 100% idle
CPU 1 : 0% – 0% user, 0% nice, 0% system, 100% idle
CPU 2 : 0% – 0% user, 0% nice, 0% system, 100% idle
I/O pressure : 0%
CPU 1 : 0%
CPU 2 : 0%
Interference from other VMs: 0%
CPU 1 : 0%
CPU 2 : 0%

------------- Memory -------------
RAM total : 3780 MB
RAM used : 1637 MB (43%)
RAM free : 2143 MB
Swap total : 2047 MB
Swap used : 0 MB (0%)
Swap free : 2047 MB
Swap in : unknown
Swap out : unknown

General Ruby interpreter information
RUBY_VERSION = 2.2.2
RUBY_PLATFORM = x86_64-linux
RUBY_ENGINE = ruby
RubyGems version = 2.4.5
RubyGems paths = ["/opt/theforeman/tfm/root/usr/share/gems",
"/opt/rh/sclo-ror42/root/usr/share/gems", "/usr/share/foreman/.gem/ruby",
"/opt/rh/rh-ruby22/root/usr/share/gems",
"/opt/rh/rh-ruby22/root/usr/local/share/gems/opt/rh/sclo-ror42/root/usr/share/gems",
"/opt/rh/rh-ruby22/root/usr/local/share/gems"]
Ruby configuration (RbConfig::CONFIG)
DESTDIR =
MAJOR = 2
MINOR = 2
TEENY = 0
PATCHLEVEL = 95
INSTALL = /usr/bin/install -c
EXEEXT =
prefix = /opt/rh/rh-ruby22/root/usr
ruby_install_name = ruby
RUBY_INSTALL_NAME = ruby
RUBY_SO_NAME = ruby
exec = exec
ruby_pc = ruby.pc
PACKAGE = ruby
BUILTIN_TRANSSRCS = newline.c
USE_RUBYGEMS = YES
MANTYPE = doc
NROFF = /usr/bin/nroff
OPTIONAL_PRELUDES = ./abrt_prelude.rb
vendorarchhdrdir =
/opt/rh/rh-ruby22/root/usr/include/vendor_ruby/x86_64-linux
sitearchhdrdir = /opt/rh/rh-ruby22/root/usr/include/site_ruby/x86_64-linux
rubyarchhdrdir = /opt/rh/rh-ruby22/root/usr/include
vendorhdrdir = /opt/rh/rh-ruby22/root/usr/include/vendor_ruby
sitehdrdir = /opt/rh/rh-ruby22/root/usr/include/site_ruby
rubyhdrdir = /opt/rh/rh-ruby22/root/usr/include
RUBY_SEARCH_PATH =
UNIVERSAL_INTS =
UNIVERSAL_ARCHNAMES =
configure_args = '–build=x86_64-redhat-linux-gnu'
'–host=x86_64-redhat-linux-gnu' '–program-prefix='
'–disable-dependency-tracking' '–prefix=/opt/rh/rh-ruby22/root/usr'
'–exec-prefix=/opt/rh/rh-ruby22/root/usr'
'–bindir=/opt/rh/rh-ruby22/root/usr/bin'
'–sbindir=/opt/rh/rh-ruby22/root/usr/sbin'
'–sysconfdir=/etc/opt/rh/rh-ruby22'
'–datadir=/opt/rh/rh-ruby22/root/usr/share'
'–includedir=/opt/rh/rh-ruby22/root/usr/include'
'–libdir=/opt/rh/rh-ruby22/root/usr/lib64'
'–libexecdir=/opt/rh/rh-ruby22/root/usr/libexec'
'–localstatedir=/var/opt/rh/rh-ruby22'
'–sharedstatedir=/var/opt/rh/rh-ruby22/lib'
'–mandir=/opt/rh/rh-ruby22/root/usr/share/man'
'–infodir=/opt/rh/rh-ruby22/root/usr/share/info'
'–with-rubylibprefix=/opt/rh/rh-ruby22/root/usr/share/ruby'
'–with-archlibdir=/opt/rh/rh-ruby22/root/usr/lib64'
'–with-rubyarchprefix=/opt/rh/rh-ruby22/root/usr/lib64/ruby'
'–with-sitedir=/opt/rh/rh-ruby22/root/usr/local/share/ruby/site_ruby'
'–with-sitearchdir=/opt/rh/rh-ruby22/root/usr/local/lib64/ruby/site_ruby'
'–with-vendordir=/opt/rh/rh-ruby22/root/usr/share/ruby/vendor_ruby'
'–with-vendorarchdir=/opt/rh/rh-ruby22/root/usr/lib64/ruby/vendor_ruby'
'–with-rubyhdrdir=/opt/rh/rh-ruby22/root/usr/include'
'–with-rubyarchhdrdir=/opt/rh/rh-ruby22/root/usr/include'
'–with-sitearchhdrdir=$(sitehdrdir)/$(arch)'
'–with-vendorarchhdrdir=$(vendorhdrdir)/$(arch)'
'–with-rubygemsdir=/opt/rh/rh-ruby22/root/usr/share/rubygems'
'–with-ruby-pc=ruby.pc' '–disable-rpath' '–enable-shared'
'–with-ruby-version=' '–enable-multiarch'
'–with-prelude=./abrt_prelude.rb' 'build_alias=x86_64-redhat-linux-gnu'
'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
–param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
'LDFLAGS=-Wl,-z,relro ' 'CXXFLAGS=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
–param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
rubygemsdir = /opt/rh/rh-ruby22/root/usr/share/rubygems
vendorarchdir = /opt/rh/rh-ruby22/root/usr/lib64/ruby/vendor_ruby
vendorlibdir = /opt/rh/rh-ruby22/root/usr/share/ruby/vendor_ruby
vendordir = /opt/rh/rh-ruby22/root/usr/share/ruby/vendor_ruby
sitearchdir = /opt/rh/rh-ruby22/root/usr/local/lib64/ruby/site_ruby
sitelibdir = /opt/rh/rh-ruby22/root/usr/local/share/ruby/site_ruby
sitedir = /opt/rh/rh-ruby22/root/usr/local/share/ruby/site_ruby
rubyarchdir = /opt/rh/rh-ruby22/root/usr/lib64/ruby
rubylibdir = /opt/rh/rh-ruby22/root/usr/share/ruby
ruby_version =
sitearch = x86_64-linux
arch = x86_64-linux
sitearchincludedir = /opt/rh/rh-ruby22/root/usr/include/x86_64-linux
archincludedir = /opt/rh/rh-ruby22/root/usr/include/x86_64-linux
sitearchlibdir = /opt/rh/rh-ruby22/root/usr/lib64/x86_64-linux
archlibdir = /opt/rh/rh-ruby22/root/usr/lib64
libdirname = archlibdir
RUBY_EXEC_PREFIX = /opt/rh/rh-ruby22/root/usr
RUBY_LIB_VERSION =
RUBY_LIB_VERSION_STYLE =
RI_BASE_NAME = ri
ridir = /opt/rh/rh-ruby22/root/usr/share/ri
rubysitearchprefix = /opt/rh/rh-ruby22/root/usr/lib64/x86_64-linux/ruby
rubyarchprefix = /opt/rh/rh-ruby22/root/usr/lib64/ruby
MAKEFILES = Makefile GNUmakefile
PLATFORM_DIR =
THREAD_MODEL = pthread
SYMBOL_PREFIX =
EXPORT_PREFIX =
COMMON_HEADERS =
COMMON_MACROS =
COMMON_LIBS =
MAINLIBS =
ENABLE_SHARED = yes
DLDLIBS = -lc
SOLIBS = -lpthread -ldl -lcrypt -lm
LIBRUBYARG_SHARED = -lruby
LIBRUBYARG_STATIC = -lruby-static
LIBRUBYARG = -lruby
LIBRUBY = libruby.so.2.2.0
LIBRUBY_ALIASES = libruby.so.2.2 libruby.so
LIBRUBY_SO = libruby.so.2.2.0
LIBRUBY_A = libruby-static.a
RUBYW_INSTALL_NAME =
rubyw_install_name =
EXTDLDFLAGS =
EXTLDFLAGS =
strict_warnflags = -std=iso9899:1999
warnflags = -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
-Wno-long-long -Wno-missing-field-initializers -Wunused-variable
-Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration -Wdeprecated-declarations
-Wno-packed-bitfield-compat
debugflags = -ggdb3
optflags = -O3 -fno-fast-math
cxxflags = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wunused-variable -Wpointer-arith -Wwrite-strings
-Wdeclaration-after-statement -Wimplicit-function-declaration
-Wdeprecated-declarations -Wno-packed-bitfield-compat
cflags = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers
-Wunused-variable -Wpointer-arith -Wwrite-strings
-Wdeclaration-after-statement -Wimplicit-function-declaration
-Wdeprecated-declarations -Wno-packed-bitfield-compat
cppflags =
NULLCMD = :
DLNOBJ = dln.o
INSTALLDOC = all
CAPITARGET = nodoc
RDOCTARGET = rdoc
DTRACE_REBUILD =
DTRACE_OBJ = probes.o
DTRACE_EXT = d
EXECUTABLE_EXTS =
ARCHFILE =
LIBRUBY_RELATIVE = no
EXTOUT = .ext
RUNRUBY_COMMAND = $(MINIRUBY) $(srcdir)/tool/runruby.rb --extout=.ext
$(RUNRUBYOPT)
PREP = miniruby
BTESTRUBY = $(MINIRUBY)
CROSS_COMPILING = no
TEST_RUNNABLE = yes
rubylibprefix = /opt/rh/rh-ruby22/root/usr/share/ruby
setup = Setup
ENCSTATIC =
EXTSTATIC =
STRIP = strip -S -x
TRY_LINK =
LIBPATHENV = LD_LIBRARY_PATH
RPATHFLAG =
LIBPATHFLAG = -L%s
LINK_SO =
ASMEXT = S
LIBEXT = a
DLEXT2 =
DLEXT = so
LDSHAREDXX = g++ -shared
LDSHARED = gcc -shared
CCDLFLAGS = -fPIC
STATIC =
ARCH_FLAG = -m64
DLDFLAGS =
ALLOCA =
codesign =
POSTLINK = :
WERRORFLAG = -Werror
CHDIR = cd -P
RMALL = rm -fr
RMDIRS = rmdir --ignore-fail-on-non-empty -p
RMDIR = rmdir --ignore-fail-on-non-empty
CP = cp
RM = rm -f
PKG_CONFIG = pkg-config
PYTHON =
DOXYGEN =
DOT =
DTRACE = dtrace
MAKEDIRS = /usr/bin/mkdir -p
MKDIR_P = /usr/bin/mkdir -p
INSTALL_DATA = /usr/bin/install -c -m 644
INSTALL_SCRIPT = /usr/bin/install -c
INSTALL_PROGRAM = /usr/bin/install -c
SET_MAKE =
LN_S = ln -s
NM = nm
DLLWRAP =
WINDRES =
OBJCOPY = :
OBJDUMP = objdump
ASFLAGS =
AS = as
AR = ar
RANLIB = ranlib
try_header =
CC_VERSION = gcc -v
COUTFLAG = -o
OUTFLAG = -o
CPPOUTFILE = -o conftest.i
GNU_LD = yes
LD = ld
GCC = yes
EGREP = /usr/bin/grep -E
GREP = /usr/bin/grep
CPP = gcc -E
CXXFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-mtune=generic
OBJEXT = o
CPPFLAGS =
LDFLAGS = -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic
CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-mtune=generic -fPIC
CXX = g++
CC = gcc
NACL_LIB_PATH =
NACL_SDK_VARIANT =
NACL_SDK_ROOT =
NACL_TOOLCHAIN =
target_os = linux
target_vendor = redhat
target_cpu = x86_64
target = x86_64-redhat-linux-gnu
host_os = linux-gnu
host_vendor = redhat
host_cpu = x86_64
host = x86_64-redhat-linux-gnu
RUBY_VERSION_NAME = ruby-
RUBYW_BASE_NAME = rubyw
RUBY_BASE_NAME = ruby
build_os = linux-gnu
build_vendor = redhat
build_cpu = x86_64
build = x86_64-redhat-linux-gnu
RUBY_PROGRAM_VERSION = 2.2.2
HAVE_BASERUBY = no
target_alias =
host_alias = x86_64-redhat-linux-gnu
build_alias = x86_64-redhat-linux-gnu
LIBS = -lpthread -ldl -lcrypt -lm
ECHO_T =
ECHO_N = -n
ECHO_C =
DEFS =
mandir = /opt/rh/rh-ruby22/root/usr/share/man
localedir = /opt/rh/rh-ruby22/root/usr/share/locale
libdir = /opt/rh/rh-ruby22/root/usr/lib64
psdir = /opt/rh/rh-ruby22/root/usr/share/doc/ruby
pdfdir = /opt/rh/rh-ruby22/root/usr/share/doc/ruby
dvidir = /opt/rh/rh-ruby22/root/usr/share/doc/ruby
htmldir = /opt/rh/rh-ruby22/root/usr/share/doc/ruby
infodir = /opt/rh/rh-ruby22/root/usr/share/info
docdir = /opt/rh/rh-ruby22/root/usr/share/doc/ruby
oldincludedir = /usr/include
includedir = /opt/rh/rh-ruby22/root/usr/include
localstatedir = /var/opt/rh/rh-ruby22
sharedstatedir = /var/opt/rh/rh-ruby22/lib
sysconfdir = /etc/opt/rh/rh-ruby22
datadir = /opt/rh/rh-ruby22/root/usr/share
datarootdir = /opt/rh/rh-ruby22/root/usr/share
libexecdir = /opt/rh/rh-ruby22/root/usr/libexec
sbindir = /opt/rh/rh-ruby22/root/usr/sbin
bindir = /opt/rh/rh-ruby22/root/usr/bin
exec_prefix = /opt/rh/rh-ruby22/root/usr
PACKAGE_URL =
PACKAGE_BUGREPORT =
PACKAGE_STRING =
PACKAGE_VERSION =
PACKAGE_TARNAME =
PACKAGE_NAME =
PATH_SEPARATOR = :
SHELL = /bin/sh
archdir = /opt/rh/rh-ruby22/root/usr/lib64/ruby
topdir = /opt/rh/rh-ruby22/root/usr/lib64/ruby
Activated Ruby gems
rack => 1.6.2
i18n => 0.7.0
json => 1.8.1
thread_safe => 0.3.5
tzinfo => 1.2.2
minitest => 5.4.3
activesupport => 4.2.5.1
rack-test => 0.6.3
nokogiri => 1.6.7.rc3
loofah => 2.0.2
rails-html-sanitizer => 1.0.3
rails-deprecated_sanitizer => 1.0.3
rails-dom-testing => 1.0.5
builder => 3.2.2
erubis => 2.7.0
actionview => 4.2.5.1
actionpack => 4.2.5.1
activemodel => 4.2.5.1
arel => 6.0.3
activerecord => 4.2.5.1
globalid => 0.3.3
activejob => 4.2.5.1
mime-types => 1.25.1
mail => 2.6.1
actionmailer => 4.2.5.1
rake => 10.4.2
thor => 0.19.1
railties => 4.2.5.1
bundler => 1.7.8
sprockets => 3.5.2
s

Hi,

··· On Mon, Jun 19, 2017 at 09:54:39AM -0700, Ido Kaplan wrote: > Foreman is not loading after installing the RPM. > Web application could not be started > > uninitialized constant ApplicationRecord (NameError)

Please revert the following patch: https://git.io/vQvRe

As it turns out, foreman_docivery 9.1.0 is not compatible with Foreman
1.15.x as-is, we’re working on a fix now that should be out tomorrow.

Regards

Michael Moll

Nice!, Foreman is loading and it looks like that domain is set correctly
from a host group.
I will wait for the fix and will execute some more tests again.
Where can I subscribe to hear that foreman discovery 9.1.0 was released?

··· On Monday, June 19, 2017 at 10:00:57 PM UTC+3, Michael Moll wrote: > > Hi, > > On Mon, Jun 19, 2017 at 09:54:39AM -0700, Ido Kaplan wrote: > > Foreman is not loading after installing the RPM. > > Web application could not be started > > > > uninitialized constant ApplicationRecord (NameError) > > Please *revert* the following patch: https://git.io/vQvRe > > As it turns out, foreman_docivery 9.1.0 is not compatible with Foreman > 1.15.x as-is, we're working on a fix now that should be out tomorrow. > > Regards > -- > Michael Moll >

Scratchbuild link (built against 1.16-develop but that should not be
problem for a quick test):

http://koji.katello.org/kojifiles/work/tasks/7487/7487/tfm-rubygem-foreman_discovery-9.1.1-1.fm1_16.git.9.bd67811.git.9.bd67811.el7.noarch.rpm

LZ

··· On Mon, Jun 19, 2017 at 10:09 PM, Ido Kaplan wrote: > Nice!, Foreman is loading and it looks like that domain is set correctly > from a host group. > I will wait for the fix and will execute some more tests again. > Where can I subscribe to hear that foreman discovery 9.1.0 was released? > > On Monday, June 19, 2017 at 10:00:57 PM UTC+3, Michael Moll wrote: >> >> Hi, >> >> On Mon, Jun 19, 2017 at 09:54:39AM -0700, Ido Kaplan wrote: >> > Foreman is not loading after installing the RPM. >> > Web application could not be started >> > >> > uninitialized constant ApplicationRecord (NameError) >> >> Please *revert* the following patch: https://git.io/vQvRe >> >> As it turns out, foreman_docivery 9.1.0 is not compatible with Foreman >> 1.15.x as-is, we're working on a fix now that should be out tomorrow. >> >> Regards >> -- >> Michael Moll > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

Not sure that I understand your reply.
Is discovery plugin was released officially today?
With a patch that solving the domain host group issue?

Ido

··· > On 19 Jun 2017, at 23:56, Lukas Zapletal wrote: > > Scratchbuild link (built against 1.16-develop but that should not be > problem for a quick test): > > http://koji.katello.org/kojifiles/work/tasks/7487/7487/tfm-rubygem-foreman_discovery-9.1.1-1.fm1_16.git.9.bd67811.git.9.bd67811.el7.noarch.rpm > > LZ > >> On Mon, Jun 19, 2017 at 10:09 PM, Ido Kaplan wrote: >> Nice!, Foreman is loading and it looks like that domain is set correctly >> from a host group. >> I will wait for the fix and will execute some more tests again. >> Where can I subscribe to hear that foreman discovery 9.1.0 was released? >> >>> On Monday, June 19, 2017 at 10:00:57 PM UTC+3, Michael Moll wrote: >>> >>> Hi, >>> >>>> On Mon, Jun 19, 2017 at 09:54:39AM -0700, Ido Kaplan wrote: >>>> Foreman is not loading after installing the RPM. >>>> Web application could not be started >>>> >>>> uninitialized constant ApplicationRecord (NameError) >>> >>> Please *revert* the following patch: https://git.io/vQvRe >>> >>> As it turns out, foreman_docivery 9.1.0 is not compatible with Foreman >>> 1.15.x as-is, we're working on a fix now that should be out tomorrow. >>> >>> Regards >>> -- >>> Michael Moll >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-users+unsubscribe@googlegroups.com. >> To post to this group, send email to foreman-users@googlegroups.com. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. > > > > -- > Later, > Lukas @lzap Zapletal > > -- > You received this message because you are subscribed to a topic in the Google Groups "Foreman users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/foreman-users/qEKYMNDhq1w/unsubscribe. > To unsubscribe from this group and all its topics, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.

I see now that 9.1.1-1 version was released - thank you!
I recommend to update also plugin documentation.

··· On Tuesday, June 20, 2017 at 6:20:46 PM UTC+3, Ido Kaplan wrote: > > Not sure that I understand your reply. > Is discovery plugin was released officially today? > With a patch that solving the domain host group issue? > > Ido > > > On 19 Jun 2017, at 23:56, Lukas Zapletal wrote: > > Scratchbuild link (built against 1.16-develop but that should not be > problem for a quick test): > > > http://koji.katello.org/kojifiles/work/tasks/7487/7487/tfm-rubygem-foreman_discovery-9.1.1-1.fm1_16.git.9.bd67811.git.9.bd67811.el7.noarch.rpm > > LZ > > On Mon, Jun 19, 2017 at 10:09 PM, Ido Kaplan wrote: > > Nice!, Foreman is loading and it looks like that domain is set correctly > > from a host group. > > I will wait for the fix and will execute some more tests again. > > Where can I subscribe to hear that foreman discovery 9.1.0 was released? > > > On Monday, June 19, 2017 at 10:00:57 PM UTC+3, Michael Moll wrote: > > > Hi, > > > On Mon, Jun 19, 2017 at 09:54:39AM -0700, Ido Kaplan wrote: > > Foreman is not loading after installing the RPM. > > Web application could not be started > > > uninitialized constant ApplicationRecord (NameError) > > > Please *revert* the following patch: https://git.io/vQvRe > > > As it turns out, foreman_docivery 9.1.0 is not compatible with Foreman > > 1.15.x as-is, we're working on a fix now that should be out tomorrow. > > > Regards > > -- > > Michael Moll > > > -- > > You received this message because you are subscribed to the Google Groups > > "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to foreman-users+unsubscribe@googlegroups.com. > > To post to this group, send email to foreman-users@googlegroups.com. > > Visit this group at https://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > > > -- > Later, > Lukas @lzap Zapletal > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Foreman users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/foreman-users/qEKYMNDhq1w/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > >

Hey,

I hope it solved all your problems, I will work on docs this week.

LZ

··· On Tue, Jun 20, 2017 at 7:01 PM, Ido Kaplan wrote: > I see now that 9.1.1-1 version was released - thank you! > I recommend to update also plugin documentation. > > On Tuesday, June 20, 2017 at 6:20:46 PM UTC+3, Ido Kaplan wrote: >> >> Not sure that I understand your reply. >> Is discovery plugin was released officially today? >> With a patch that solving the domain host group issue? >> >> Ido >> >> >> On 19 Jun 2017, at 23:56, Lukas Zapletal wrote: >> >> Scratchbuild link (built against 1.16-develop but that should not be >> problem for a quick test): >> >> >> http://koji.katello.org/kojifiles/work/tasks/7487/7487/tfm-rubygem-foreman_discovery-9.1.1-1.fm1_16.git.9.bd67811.git.9.bd67811.el7.noarch.rpm >> >> LZ >> >> On Mon, Jun 19, 2017 at 10:09 PM, Ido Kaplan wrote: >> >> Nice!, Foreman is loading and it looks like that domain is set correctly >> >> from a host group. >> >> I will wait for the fix and will execute some more tests again. >> >> Where can I subscribe to hear that foreman discovery 9.1.0 was released? >> >> >> On Monday, June 19, 2017 at 10:00:57 PM UTC+3, Michael Moll wrote: >> >> >> Hi, >> >> >> On Mon, Jun 19, 2017 at 09:54:39AM -0700, Ido Kaplan wrote: >> >> Foreman is not loading after installing the RPM. >> >> Web application could not be started >> >> >> uninitialized constant ApplicationRecord (NameError) >> >> >> Please *revert* the following patch: https://git.io/vQvRe >> >> >> As it turns out, foreman_docivery 9.1.0 is not compatible with Foreman >> >> 1.15.x as-is, we're working on a fix now that should be out tomorrow. >> >> >> Regards >> >> -- >> >> Michael Moll >> >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> >> "Foreman users" group. >> >> To unsubscribe from this group and stop receiving emails from it, send an >> >> email to foreman-users+unsubscribe@googlegroups.com. >> >> To post to this group, send email to foreman-users@googlegroups.com. >> >> Visit this group at https://groups.google.com/group/foreman-users. >> >> For more options, visit https://groups.google.com/d/optout. >> >> >> >> >> -- >> Later, >> Lukas @lzap Zapletal >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Foreman users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/foreman-users/qEKYMNDhq1w/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> foreman-users+unsubscribe@googlegroups.com. >> To post to this group, send email to foreman-users@googlegroups.com. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

Yes, thanks!

Ido

··· > On 29 Jun 2017, at 13:14, Lukas Zapletal wrote: > > Hey, > > I hope it solved all your problems, I will work on docs this week. > > LZ > >> On Tue, Jun 20, 2017 at 7:01 PM, Ido Kaplan wrote: >> I see now that 9.1.1-1 version was released - thank you! >> I recommend to update also plugin documentation. >> >>> On Tuesday, June 20, 2017 at 6:20:46 PM UTC+3, Ido Kaplan wrote: >>> >>> Not sure that I understand your reply. >>> Is discovery plugin was released officially today? >>> With a patch that solving the domain host group issue? >>> >>> Ido >>> >>> >>> On 19 Jun 2017, at 23:56, Lukas Zapletal wrote: >>> >>> Scratchbuild link (built against 1.16-develop but that should not be >>> problem for a quick test): >>> >>> >>> http://koji.katello.org/kojifiles/work/tasks/7487/7487/tfm-rubygem-foreman_discovery-9.1.1-1.fm1_16.git.9.bd67811.git.9.bd67811.el7.noarch.rpm >>> >>> LZ >>> >>> On Mon, Jun 19, 2017 at 10:09 PM, Ido Kaplan wrote: >>> >>> Nice!, Foreman is loading and it looks like that domain is set correctly >>> >>> from a host group. >>> >>> I will wait for the fix and will execute some more tests again. >>> >>> Where can I subscribe to hear that foreman discovery 9.1.0 was released? >>> >>> >>> On Monday, June 19, 2017 at 10:00:57 PM UTC+3, Michael Moll wrote: >>> >>> >>> Hi, >>> >>> >>> On Mon, Jun 19, 2017 at 09:54:39AM -0700, Ido Kaplan wrote: >>> >>> Foreman is not loading after installing the RPM. >>> >>> Web application could not be started >>> >>> >>> uninitialized constant ApplicationRecord (NameError) >>> >>> >>> Please *revert* the following patch: https://git.io/vQvRe >>> >>> >>> As it turns out, foreman_docivery 9.1.0 is not compatible with Foreman >>> >>> 1.15.x as-is, we're working on a fix now that should be out tomorrow. >>> >>> >>> Regards >>> >>> -- >>> >>> Michael Moll >>> >>> >>> -- >>> >>> You received this message because you are subscribed to the Google Groups >>> >>> "Foreman users" group. >>> >>> To unsubscribe from this group and stop receiving emails from it, send an >>> >>> email to foreman-users+unsubscribe@googlegroups.com. >>> >>> To post to this group, send email to foreman-users@googlegroups.com. >>> >>> Visit this group at https://groups.google.com/group/foreman-users. >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> >>> >>> -- >>> Later, >>> Lukas @lzap Zapletal >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Foreman users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/foreman-users/qEKYMNDhq1w/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> foreman-users+unsubscribe@googlegroups.com. >>> To post to this group, send email to foreman-users@googlegroups.com. >>> Visit this group at https://groups.google.com/group/foreman-users. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-users+unsubscribe@googlegroups.com. >> To post to this group, send email to foreman-users@googlegroups.com. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. > > > > -- > Later, > Lukas @lzap Zapletal > > -- > You received this message because you are subscribed to a topic in the Google Groups "Foreman users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/foreman-users/qEKYMNDhq1w/unsubscribe. > To unsubscribe from this group and all its topics, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.