Project

General

Profile

Actions

Bug #11199

closed

Timeout and "can't convert nil into String" error building host on OpenStack

Added by Florian Faltermeier almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Compute resources - OpenStack
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

If I try to create (provision image based) a VM in openstack via foreman I get the following error.

Warning!
can't convert nil into String

TypeError
can't convert nil into String
app/models/compute_resource.rb:123:in `new_vm'
app/models/concerns/orchestration/compute.rb:24:in `compute_object'
app/views/hosts/_compute.html.erb:1:in `_app_views_hosts__compute_html_erb___4488104393375261719_92442020'
app/views/hosts/_unattended.html.erb:2:in `_app_views_hosts__unattended_html_erb__120491571739639635_87843560'
app/views/hosts/_form.html.erb:91:in `block (2 levels) in app_views_hosts_form_html_erb___3625500934001102854_90903060'
app/helpers/layout_helper.rb:273:in `form_for'
app/views/hosts/_form.html.erb:8:in `block in app_views_hosts_form_html_erb___3625500934001102854_90903060'
app/models/taxonomy.rb:61:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:147:in `as_location'
app/models/taxonomy.rb:60:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:112:in `as_org'
app/models/taxonomy.rb:59:in `as_taxonomy'
app/views/hosts/_form.html.erb:6:in `_app_views_hosts__form_html_erb___3625500934001102854_90903060'
app/views/hosts/new.html.erb:3:in `_app_views_hosts_new_html_erb___436790313474086719_69941395558060'
app/controllers/application_controller.rb:269:in `process_error'
app/controllers/hosts_controller.rb:89:in `create'
app/controllers/concerns/application_shared.rb:13:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Regards,
Florian

Actions

Also available in: Atom PDF