Bug #1449
closedundefined method `join' for "Failed to cancel pending build for vm7603.test.local":String
Description
I'm getting a very strange behavior on my latest foreman installation.
The machine was installed with the latest development snapshot.
I didnt install any hosts with it, yet. I just prepared it for installing solaris.
Foreman is showing the host it is installed in the list of hosts, which is fine. But it's marked as "ready to build". But I didnt start any build on the maschine. (Why should I, I dont want to delete the foreman-host).
So I tried to cancel that build process, and I get that message:
undefined method `join' for "Failed to cancel pending build for vm7603.test.local":String
After reviewing the logs of Rails I found that:
Started POST "/hosts/vm7603.test.local" for 10.110.10.95 at Tue Jan 17 07:52:20 +0000 2012 Processing by HostsController#update as HTML Parameters: {"commit"=>"Submit", "authenticity_token"=>"15Df/II3jV6YRuRB4jd96Bl9t46ZsvknND3n5htcgo4=", "utf8"=>"✓", "id"=>"vm7603.test.local", "host"=>{"name"=>"vm7603.test.local", "puppetproxy_id"=>"1", "managed"=>"", "comment"=>"", "puppetmaster_name"=>"vm7603.test.local", "hostgroup_id"=>"1", "enabled"=>"1", "environment_id"=>"1", "model_id"=>"1", "puppetclass_ids"=>[""]}} Failed to save: Domain can't be blank
So I set the domain, and get the next error:
Started GET "/hosts/vm7603.test.local/cancelBuild" for 10.110.10.95 at Tue Jan 17 07:53:02 +0000 2012 Processing by HostsController#cancelBuild as HTML Parameters: {"id"=>"vm7603.test.local"} **DEPRECATION WARNING*** Managing Puppet CA without a smart-proxy will not be supported in the next release **DEPRECATION WARNING*** Managing TFTP without a smart-proxy will not be supported in the next release Failed to save: Environment can't be blank Operation FAILED: undefined method `join' for "Failed to cancel pending build for vm7603.test.local":String
I also wonder about the deprecation-warning, because I have a smart-proxy running and it's also configured in the WebUI.
What I expect:
1) The foreman host shouldnt be shown as "ready to install"
2) I shouldnt be able to add hosts or something if important steps are missing. This means: I can not create a host if I haven't create a domain, environment and so on.
3) I should be able to cancel builds even if there are required information for provisioning is missing. Cancel should always be possible.
Suggestion:
Maybe an Setup-Wizard would be helpful, so that you have configured everything to install new hosts.
Updated by unisiisis unisiisis almost 13 years ago
David M. wrote:
I'm getting a very strange behavior on my latest foreman installation.
The machine was installed with the latest development snapshot.
I didnt install any hosts with it, yet. I just prepared it for installing solaris.Foreman is showing the host it is installed in the list of hosts, which is fine. But it's marked as "ready to build". But I didnt start any build on the maschine. (Why should I, I dont want to delete the foreman-host).
So I tried to cancel that build process, and I get that message:[...]
After reviewing the logs of Rails I found that:
[...]So I set the domain, and get the next error:
[...]I also wonder about the deprecation-warning, because I have a smart-proxy running and it's also configured in the WebUI.
What I expect:
1) The foreman host shouldnt be shown as "ready to install"
2) I shouldnt be able to add hosts or something if important steps are missing. This means: I can not create a host if I haven't create a domain, environment and so on.
3) I should be able to cancel builds even if there are required information for provisioning is missing. Cancel should always be possible.Suggestion:
Maybe an Setup-Wizard would be helpful, so that you have configured everything to install new hosts.
will take into account it too.
Criminal-Records.info
Updated by apoeleh apoeleh almost 13 years ago
Pretty fashionable atlantic. I run stumbled upon your authority and desired to say that I somebody rale enjoyed commencement your pass posts. Any way I'll be subscribing to your supplying and I hap you sterilise again presently
Sex Offenders