When I try and setup provisioning of an additional subnet on the foreman
server (Submit button here: http://i.imgur.com/i2mAbbi.png ) nothing
happens. Here is the output from foreman production.log
2016-09-12 16:02:36 [app] [I] Started POST "/foreman_setup/provisioners"
for 209.39.146.34 at 2016-09-12 16:02:36 +0000
2016-09-12 16:02:36 [app] [I] Processing by
ForemanSetup::ProvisionersController#create as HTML
2016-09-12 16:02:36 [app] [I] Parameters: {"utf8"=>"✓",
"authenticity_token"=>"8Qn/[FILTERED]/7g==",
"foreman_setup_provisioner"=>{"host_id"=>"1", "smart_proxy_id"=>"1",
"provision_interface"=>"eno50332176"}, "commit"=>"Submit"}
2016-09-12 16:02:36 [app] [D] Setting current user thread-local variable to
admin
2016-09-12 16:02:36 [app] [D] Setting current organization thread-local
variable to none
2016-09-12 16:02:36 [app] [D] Setting current location thread-local
variable to none
2016-09-12 16:02:36 [app] [I] Failed to save: Host has already been taken
2016-09-12 16:02:37 [app] [I] Rendered
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_setup-4.0.0/app/views/foreman_setup/provisioners/_step1.html.erb
(149.9ms)
2016-09-12 16:02:37 [app] [I] Rendered
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_setup-4.0.0/app/views/foreman_setup/provisioners/new.html.erb
within layouts/application (150.8ms)
2016-09-12 16:02:37 [app] [I] Rendered
layouts/_application_content.html.erb (0.6ms)
2016-09-12 16:02:37 [app] [I] Rendered home/_user_dropdown.html.erb
(11.9ms)
2016-09-12 16:02:37 [app] [I] Read fragment views/tabs_and_title_records-3
(0.3ms)
2016-09-12 16:02:37 [app] [I] Rendered home/_topbar.html.erb (25.6ms)
2016-09-12 16:02:37 [app] [I] Rendered layouts/base.html.erb (44.9ms)
2016-09-12 16:02:37 [app] [I] Completed 200 OK in 246ms (Views: 200.3ms |
ActiveRecord: 10.3ms)
Am I missing something?
The reason I am adding this is that I've setup 10.0.10.0 as one of the
provisioned networks and would like to add another because while trying to
"build" a system the dhcp records claim that the network I am adding to a
second interface on the host doesn't exist.
(from foreman-proxy log)
D, [2016-09-12T16:08:59.650945 #17996] DEBUG – : Added a subnet: 10.0.10.0
E, [2016-09-12T16:08:59.651239 #17996] ERROR – : Subnet 19X.XX.XX.0 not
found
D, [2016-09-12T16:08:59.651292 #17996] DEBUG – : Subnet 19X.XX.XX.0 not
found
The subnet entry exists in foreman but I presume that it requires it as a
"provisioned" type?
Either way any suggestions would be appreciated.