Network tab shows red with no error message

Take a look in the Foreman logfile, see if it's reporting an error there -
if it is, let us know what it is; if it's not, we'll come with something
else to try :slight_smile:

Greg

··· On 22 May 2013 12:29, Richie Rees wrote:

Hi All,

New user to foreman but planning on using it as our self service
provisioning system. Got a problem at the moment, trying to create my
first vm, have only single items at the moment for all the config items
needed. I have select all the requirements but it keeps sending me to the
networks tab. The IP addres it selected is not in use it correctly
identified a spare address, but is not giving me an error that i can see.

Hi,.

I posted another post with the error further up. It says it can't create a
machine with out a mac address, but the option for inputting a mac address
is not exposed as its a virtual machine.

Proxy log :-

I, [2013-05-23T13:09:05.321713 #4722] INFO – : Enumerated hosts on
10.0.0.0
D, [2013-05-23T13:09:05.321926 #4722] DEBUG – : Lazy loaded
10.0.0.0/255.255.255.0 records
D, [2013-05-23T13:09:05.342324 #4722] DEBUG – : Searching for free ip -
pinging 10.0.0.74
D, [2013-05-23T13:09:07.465823 #4722] DEBUG – : Found free ip 10.0.0.74
out of a total of 49 free ips

Foreman production log

Started POST "/hosts" for 10.0.0.54 at Thu May 23 13:44:06 +0100 2013
Processing by HostsController#create as
Parameters:
{"authenticity_token"=>"yEveriYOqGusPFpZCQnxeqOQDxrDOUiSOm9WNSZLC2M=",
"capabilities"=>"build", "utf8"=>"â", "host"=>{"build"=>"1",
"compute_resource_id"=>"2", "environment_id"=>"3",
"progress_report_id"=>"[FILTERED]", "ip"=>"10.0.0.74", "hostgroup_id"=>"1",
"managed"=>"true", "operatingsystem_id"=>"1",
"interfaces_attributes"=>{"new_interfaces"=>{"provider"=>"IPMI",
"type"=>"Nic::Managed", "_destroy"=>"false", "ip"=>"", "name"=>"",
"subnet_id"=>"", "mac"=>"", "domain_id"=>""}}, "medium_id"=>"6",
"name"=>"tsghe04", "updated_at"=>"1369313029", "root_pass"=>"[FILTERED]",
"puppetclass_ids"=>[""], "disk"=>"", "puppet_proxy_id"=>"2",
"subnet_id"=>"1", "architecture_id"=>"1", "ptable_id"=>"1", "comment"=>"",
"provision_method"=>"build", "mac"=>"", "domain_id"=>"1",
"is_owned_by"=>"1-Users", "enabled"=>"1", "overwrite"=>"false"}}
Failed to save: Mac can't be blank, Mac is invalid
Rendered hosts/_progress.erb (0.1ms)
Rendered puppetclasses/_selectedClasses.html.erb (0.0ms)
Rendered puppetclasses/_classes.html.erb (260.9ms)
Rendered puppetclasses/_class_selection.html.erb (267.4ms)
Rendered hosts/_compute.html.erb (0.6ms)
Rendered common/_domain.html.erb (177.0ms)
Rendered hosts/_interfaces.html.erb (14.7ms)
Rendered common/os_selection/_architecture.html.erb (6.0ms)
Rendered common/os_selection/_operatingsystem.html.erb (9.3ms)
Rendered hosts/_operating_system.erb (23.0ms)
Rendered hosts/_unattended.html.erb (224.8ms)
Rendered puppetclasses/_class_parameters.html.erb (0.1ms)
Rendered puppetclasses/_classes_parameters.html.erb (7.8ms)
Rendered common_parameters/_inherited_parameters.erb (0.2ms)
Rendered common_parameters/_puppetclass_parameter.erb (2.8ms)
Rendered common_parameters/_puppetclasses_parameters.erb (4.8ms)
Rendered common_parameters/_parameter.erb (161.1ms)
Rendered common_parameters/_parameters.erb (163.1ms)
Rendered hosts/_form.html.erb (705.9ms)
Read fragment views/tabs_and_title_records-1 (0.3ms)
Rendered home/_topbar.rhtml (2.5ms)
Rendered home/_user_dropdown.rhtml (1.4ms)
Rendered hosts/new.html.erb within layouts/application (716.9ms)
Completed 200 OK in 1068ms (Views: 709.2ms | ActiveRecord: 14.1ms)

··· On Thursday, 23 May 2013 11:53:39 UTC+1, Greg Sutcliffe wrote: > > On 22 May 2013 12:29, Richie Rees <richard...@gmail.com >wrote: > >> Hi All, >> >> New user to foreman but planning on using it as our self service >> provisioning system. Got a problem at the moment, trying to create my >> first vm, have only single items at the moment for all the config items >> needed. I have select all the requirements but it keeps sending me to the >> networks tab. The IP addres it selected is not in use it correctly >> identified a spare address, but is not giving me an error that i can see. >> > > Take a look in the Foreman logfile, see if it's reporting an error there - > if it is, let us know what it is; if it's not, we'll come with something > else to try :) > > Greg >