Project

General

Profile

Actions

Bug #1449

closed

undefined method `join' for "Failed to cancel pending build for vm7603.test.local":String

Added by David M. over 12 years ago. Updated over 11 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 2 (0 open2 closed)

Is duplicate of Foreman - Bug #1455: Canceling Host-Creation fails if Template was changedDuplicate01/18/2012Actions
Has duplicate Foreman - Bug #1308: error when trying to cancel build.ClosedOhad Levy11/09/2011Actions
Actions #1

Updated by Ohad Levy over 12 years ago

  • Status changed from New to Duplicate
Actions #2

Updated by Ohad Levy over 12 years ago

  • Status changed from Duplicate to New
Actions #3

Updated by Ohad Levy about 12 years ago

  • Status changed from New to Duplicate
Actions #4

Updated by unisiisis unisiisis about 12 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

Actions #5

Updated by apoeleh apoeleh about 12 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

Actions

Also available in: Atom PDF