I’m trying to assign NSX-T opaque network when deploying a VM
run VM provision - Compute > Infrastructure > Virtual Machines > VMs
for manageiq-vsphere-ivanchuk-20200509-574e5e2274 and CloudForms 5.0 the same result:
in the VM provision dialog, I can select network(screenshot1)
, but after provision network in disconnected state in vSphere(screenshot2)
. If I try to set “Connected” checkbox manually vmware returns an error (screenshot3)
. If I select same network manually from the list in vmware GUI, everything works magically.
Looks like during vm provision correct network name is passed to vmware. But vmware doesn’t map it to a real object. Maybe some id is missing?
vmware versions:
nsx-t 2.4.2.0.0.14269501
vsphere 6.7.0
logs:
jansa-1-alpha1 and master-20200509:
Cant get information from VMware Infrastructure Provider, i’m check evm.log:
[----] I, [2020-05-15T22:24:08.030269 #7230:7159a8] INFO – : MIQ(ManageIQ::Providers::Vmware::InfraManager::RefreshWorker::Runner#start_inventory_collector) Started inventory collector
[----] I, [2020-05-15T22:24:08.030516 #7230:5e3d8c0] INFO – : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#vim_collector) EMS: [rb-vcsa-r1-1], id: [2] Monitor updates thread started
[----] I, [2020-05-15T22:24:08.031596 #7230:5e3d8c0] INFO – : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#connect) EMS: [rb-vcsa-r1-1], id: [2] Connecting to administrator@vsphere.local@rb-vcsa-r1-1.lab1.local…
[----] I, [2020-05-15T22:24:08.082629 #7230:5e3d8c0] INFO – : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#connect) EMS: [rb-vcsa-r1-1], id: [2] Connected
[----] I, [2020-05-15T22:24:08.097077 #7230:5e3d8c0] INFO – : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#vim_collector) EMS: [rb-vcsa-r1-1], id: [2] Refreshing initial inventory
[----] I, [2020-05-15T22:24:08.369726 #7230:5e3d8c0] INFO – : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#process_update_set) EMS: [rb-vcsa-r1-1], id: [2] Processing 37 updates…
[----] I, [2020-05-15T22:24:08.382792 #7230:5e3d8c0] INFO – : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#process_update_set) EMS: [rb-vcsa-r1-1], id: [2] Processing 37 updates…Complete
[----] E, [2020-05-15T22:24:08.391684 #7230:5e3d8c0] ERROR – : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#vim_collector) EMS: [rb-vcsa-r1-1], id: [2] Refresh failed
[----] E, [2020-05-15T22:24:08.391790 #7230:5e3d8c0] ERROR – : [RuntimeError]: Missing parser for OpaqueNetwork Method:[block (2 levels) in class:LogProxy]
[----] E, [2020-05-15T22:24:08.391831 #7230:5e3d8c0] ERROR – : /usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/parser.rb:23:in parse' /usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:193:in
block in parse_updates’
/usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:189:in each' /usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:189:in
parse_updates’
/usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:87:in full_refresh' /usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:63:in
vim_collector’
/usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:53:in block in vim_collector_thread' [----] I, [2020-05-15T22:24:11.543815 #6506:a7f9b8] INFO -- : MIQ(MiqServer#heartbeat) Heartbeat [2020-05-15 19:24:11 UTC]... [----] I, [2020-05-15T22:24:11.551635 #6506:a7f9b8] INFO -- : MIQ(MiqServer#heartbeat) Heartbeat [2020-05-15 19:24:11 UTC]...Complete [----] W, [2020-05-15T22:24:18.083732 #7230:7159a8] WARN -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::RefreshWorker::Runner#ensure_inventory_collector) Inventory collector thread not running, restarting... [----] I, [2020-05-15T22:24:18.083935 #7230:7159a8] INFO -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Saver#start_thread) Save inventory thread started [----] I, [2020-05-15T22:24:18.084065 #7230:7159a8] INFO -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::RefreshWorker::Runner#start_inventory_collector) Started inventory collector [----] I, [2020-05-15T22:24:18.084246 #7230:7b86134] INFO -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#vim_collector) EMS: [rb-vcsa-r1-1], id: [2] Monitor updates thread started [----] I, [2020-05-15T22:24:18.084598 #7230:7b86134] INFO -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#connect) EMS: [rb-vcsa-r1-1], id: [2] Connecting to administrator@vsphere.local@rb-vcsa-r1-1.lab1.local... [----] I, [2020-05-15T22:24:18.129351 #7230:7b86134] INFO -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#connect) EMS: [rb-vcsa-r1-1], id: [2] Connected [----] I, [2020-05-15T22:24:18.139792 #7230:7b86134] INFO -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#vim_collector) EMS: [rb-vcsa-r1-1], id: [2] Refreshing initial inventory [----] I, [2020-05-15T22:24:18.454923 #7230:7b86134] INFO -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#process_update_set) EMS: [rb-vcsa-r1-1], id: [2] Processing 37 updates... [----] I, [2020-05-15T22:24:18.468584 #7230:7b86134] INFO -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#process_update_set) EMS: [rb-vcsa-r1-1], id: [2] Processing 37 updates...Complete [----] E, [2020-05-15T22:24:18.478933 #7230:7b86134] ERROR -- : MIQ(ManageIQ::Providers::Vmware::InfraManager::Inventory::Collector#vim_collector) EMS: [rb-vcsa-r1-1], id: [2] Refresh failed [----] E, [2020-05-15T22:24:18.479047 #7230:7b86134] ERROR -- : [RuntimeError]: Missing parser for OpaqueNetwork Method:[block (2 levels) in <class:LogProxy>] [----] E, [2020-05-15T22:24:18.479095 #7230:7b86134] ERROR -- : /usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/parser.rb:23:in
parse’
/usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:193:in block in parse_updates' /usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:189:in
each’
/usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:189:in parse_updates' /usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:87:in
full_refresh’
/usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:63:in vim_collector' /usr/local/lib/ruby/gems/2.6.0/bundler/gems/manageiq-providers-vmware-3297c729f9cb/app/models/manageiq/providers/vmware/infra_manager/inventory/collector.rb:53:in
block in vim_collector_thread’