Hello
when i try import template from vcenter 6.5 ihave this error:
There was an error trying to create an image for disk in vcenter template. Reason: Could not find the parent Datacenter. Trace: [VirtualMachine(“undefined”)] ["/usr/lib/one/ruby/vcenter_driver/virtual_machine.rb:91:in get_dc'", "/usr/lib/one/ruby/vcenter_driver/virtual_machine.rb:242:in
import_vcenter_disks’", “/usr/lib/one/sunstone/routes/vcenter.rb:338:in block in '", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1611:in
call’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1611:in block in compile!'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:975:in
block (3 levels) in route!’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:994:in route_eval'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:975:in
block (2 levels) in route!’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1015:in block in process_route'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1013:in
catch’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1013:in process_route'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:973:in
block in route!’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:972:in each'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:972:in
route!’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1085:in block in dispatch!'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1067:in
block in invoke’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1067:in catch'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1067:in
invoke’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1082:in dispatch!'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:907:in
block in call!’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1067:in block in invoke'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1067:in
catch’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1067:in invoke'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:907:in
call!’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:895:in call'", "/usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:33:in
call’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:219:in call'", "/usr/lib/ruby/vendor_ruby/rack/deflater.rb:35:in
call’”, “/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:225:in context'", "/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:220:in
call’”, “/usr/lib/ruby/vendor_ruby/rack/protection/xss_header.rb:18:in call'", "/usr/lib/ruby/vendor_ruby/rack/protection/path_traversal.rb:16:in
call’”, “/usr/lib/ruby/vendor_ruby/rack/protection/json_csrf.rb:18:in call'", "/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:49:in
call’”, “/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:49:in call'", "/usr/lib/ruby/vendor_ruby/rack/protection/frame_options.rb:31:in
call’”, “/usr/lib/ruby/vendor_ruby/rack/nulllogger.rb:9:in call'", "/usr/lib/ruby/vendor_ruby/rack/head.rb:13:in
call’”, “/usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:22:in call'", "/usr/lib/ruby/vendor_ruby/sinatra/show_exceptions.rb:25:in
call’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:182:in call'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:2013:in
call’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1487:in block in call'", "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1787:in
synchronize’”, “/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1487:in call'", "/usr/lib/ruby/vendor_ruby/thin/connection.rb:86:in
block in pre_process’”, “/usr/lib/ruby/vendor_ruby/thin/connection.rb:84:in catch'", "/usr/lib/ruby/vendor_ruby/thin/connection.rb:84:in
pre_process’”, “/usr/lib/ruby/vendor_ruby/eventmachine.rb:1054:in call'", "/usr/lib/ruby/vendor_ruby/eventmachine.rb:1054:in
block in spawn_threadpool’”]
Also, i have tried do this from cli , and i also have seen error , but like this:
The existing disks and networks in the template are being imported, please be patient…
There was an error trying to import a vcenter template: no implicit conversion of Array into String/
["/usr/lib/one/ruby/vcenter_driver/importer.rb:437:in block (2 levels) in import_templates'", "/usr/lib/one/ruby/vcenter_driver/importer.rb:298:in
each’", “/usr/lib/one/ruby/vcenter_driver/importer.rb:298:in block in import_templates'", "/usr/lib/one/ruby/vcenter_driver/importer.rb:286:in
each’”, “/usr/lib/one/ruby/vcenter_driver/importer.rb:286:in import_templates'", "/usr/bin/onevcenter:128:in
block (2 levels) in '”, “/usr/lib/one/ruby/cli/command_parser.rb:449:in run'", "/usr/lib/one/ruby/cli/command_parser.rb:76:in
initialize’”, “/usr/bin/onevcenter:57:in new'", "/usr/bin/onevcenter:57:in
'”]
have any ideas ?