Hi,
I've the following setup showing in the attached Image. 2 Location, 2
SmartProxy, 1 Foreman.
Provisioning in the same Location (Network) where the Foreman lives works
fine.
If I install a VM in Location B, the provisioning works fine. It takes IP
settings from the SmartProxy in its location, loads files from the same
tftp. Since… Preseed. The final call to the foreman fails with an 409.
But just in the last call! So the "Build" Process inside Foreman will not
stop and I run into a loop.
If I cancel manually the build process, the new machine runs fine. e.g.
puppet agent --test runs fine.
I have no clue…
Thanks for help.
– Tom
2016-10-20 13:57:48 [app] [I] Started GET
"/node/vmg-locb-networkingtest-001.zone.loc?format=yml" for 10.8.20.12 at
2016-10-20 13:57:48 +0200
2016-10-20 13:57:48 [app] [I] Processing by HostsController#externalNodes
as YML
2016-10-20 13:57:48 [app] [I] Parameters:
{"name"=>"vmg-locb-networkingtest-001.zone.loc"}
2016-10-20 13:57:48 [app] [I] Rendered text template (0.0ms)
2016-10-20 13:57:48 [app] [I] Completed 200 OK in 272ms (Views: 0.9ms |
ActiveRecord: 7.8ms)
2016-10-20 13:57:50 [app] [I] Started POST "/api/hosts/facts" for
10.8.20.12 at 2016-10-20 13:57:50 +0200
2016-10-20 13:57:50 [app] [I] Processing by Api::V2::HostsController#facts
as JSON
2016-10-20 13:57:50 [app] [I] Parameters: {"facts"=>"[FILTERED]",
"name"=>"10-5-10-152.zone.loc",
"certname"=>"vmg-locb-networkingtest-001.zone.loc", "apiv"=>"v2",
:host=>{"name"=>"10-5-10-152.zone.loc",
"certname"=>"vmg-locb-networkingtest-001.zone.loc"}}
2016-10-20 13:57:50 [app] [I] Import facts for '10-5-10-152.zone.loc'
completed. Added: 0, Updated: 21, Deleted 4 facts
2016-10-20 13:57:50 [app] [I] Completed 201 Created in 264ms (Views: 3.2ms
> ActiveRecord: 41.4ms)
2016-10-20 13:57:50 [app] [I] Started GET
"/node/vmg-locb-networkingtest-001.zone.loc?format=yml" for 10.8.20.12 at
2016-10-20 13:57:50 +0200
2016-10-20 13:57:50 [app] [I] Processing by HostsController#externalNodes
as YML
2016-10-20 13:57:50 [app] [I] Parameters:
{"name"=>"vmg-locb-networkingtest-001.zone.loc"}
2016-10-20 13:57:51 [app] [I] Rendered text template (0.0ms)
2016-10-20 13:57:51 [app] [I] Completed 200 OK in 243ms (Views: 0.8ms |
ActiveRecord: 8.1ms)
2016-10-20 13:57:51 [app] [I] Started POST "/api/reports" for 10.8.20.12 at
2016-10-20 13:57:51 +0200
2016-10-20 13:57:51 [app] [I] Processing by
Api::V2::ReportsController#create as JSON
2016-10-20 13:57:51 [app] [I] Parameters: {"report"=>"[FILTERED]",
"apiv"=>"v2"}
2016-10-20 13:57:51 [app] [I] processing report for
vmg-locb-networkingtest-001.zone.loc
2016-10-20 13:57:51 [app] [I] Imported report for
vmg-locb-networkingtest-001.zone.loc in 0.03 seconds
2016-10-20 13:57:51 [app] [I] Rendered api/v2/reports/create.json.rabl
(10.4ms)
2016-10-20 13:57:51 [app] [I] Completed 201 Created in 74ms (Views: 10.7ms
> ActiveRecord: 9.1ms)
2016-10-20 13:57:53 [app] [I] Started GET
"/unattended/built?token=1ebd70ba-3a71-43ef-b786-0d82da14df08" for
10.10.0.3 at 2016-10-20 13:57:53 +0200
2016-10-20 13:57:53 [app] [I] Processing by UnattendedController#built as
TEXT
2016-10-20 13:57:53 [app] [I] Parameters:
{"token"=>"1ebd70ba-3a71-43ef-b786-0d82da14df08"}
2016-10-20 13:57:53 [app] [I] unattended:
vmg-locb-networkingtest-001.zone.loc is Built!
2016-10-20 13:57:55 [app] [I] Completed 409 Conflict in 1990ms
(ActiveRecord: 25.4ms)