Project

General

Profile

Actions

Bug #28408

open

Failed to create a compute xcp-ng (Xenserver) instance kim-blanzy.private: undefined method `reference' for nil:NilClass

Added by Graeme Moss over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hi All

I have no where else to turn as I can not get this work.

I can not create a new host using the xen plugin.

I get an error when trying to setup a host using an "image based" I have followed the setup and it's not even getting to the point of genisoimage build.

"/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `each'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/rack-2.0.6/lib/rack/urlmap.rb:53:in `call'
/usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
/usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
/usr/share/passenger/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2019-12-03T14:49:25 [W|app|106c4f49] Rolling back due to a problem: [#<Orchestration::Task:0x00007f03e2005478 @name="Set up compute instance kim-blanzy.private", @id="Set up compute instance kim-blanzy.private", @status="failed", @priority=3, @action=[#<Host::Managed id: nil, name: "kim-blanzy.private", last_compile: nil, last_report: nil, updated_at: nil, created_at: nil, root_pass: "", architecture_id: 1, operatingsystem_id: 2, environment_id: 2, ptable_id: nil, medium_id: nil, build: true, comment: "", disk: "", installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: 5, owner_type: "User", enabled: true, puppet_ca_proxy_id: nil, managed: true, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: 1, puppet_proxy_id: nil, certname: nil, image_id: 1, organization_id: 1, location_id: 2, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: 1, provision_method: "image", grub_pass: "", global_status: 0, lookup_value_matcher: "fqdn=kim-blanzy.private", pxe_loader: "PXELinux BIOS", initiated_at: nil, build_errors: nil, salt_proxy_id: 1, salt_environment_id: 2>, :setCompute], @created=1575384565.296791, @timestamp=2019-12-03 14:49:25 UTC>]
2019-12-03T14:49:25 [I|app|106c4f49] Processed 2 tasks from queue 'Host::Managed Main', completed 0/4
2019-12-03T14:49:25 [E|app|106c4f49] Task 'Render user data template for kim-blanzy.private' rollbacked
2019-12-03T14:49:25 [E|app|106c4f49] Task 'Set up compute instance kim-blanzy.private' failed
2019-12-03T14:49:25 [E|app|106c4f49] Task 'Query instance details for kim-blanzy.private' canceled
2019-12-03T14:49:25 [E|app|106c4f49] Task 'Power up compute instance kim-blanzy.private' canceled
2019-12-03T14:49:25 [E|app|106c4f49] Failed to save: Failed to create a compute xcp-ng (Xenserver) instance kim-blanzy.private: undefined method `reference' for nil:NilClass"

I've even tried un ticking the user data but still fails


Files

OS.png View OS.png 31.5 KB Graeme Moss, 12/03/2019 03:00 PM
virtual.png View virtual.png 43.4 KB Graeme Moss, 12/03/2019 03:00 PM
host.png View host.png 50.7 KB Graeme Moss, 12/03/2019 03:00 PM

No data to display

Actions

Also available in: Atom PDF