2016-07-12 14:53:07.297 ERROR nova.virt.libvirt.vif [req-ec2b7b51-7823-4165-8f1d-b60650283574 demo demo] [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] Failed while plugging vif
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] Traceback (most recent call last):
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] File "/opt/stack/nova/nova/virt/libvirt/vif.py", line 720, in plug_vrouter
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] utils.execute('vrouter-port-control', cmd_args, run_as_root=True)
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] File "/opt/stack/nova/nova/utils.py", line 389, in execute
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] return RootwrapProcessHelper().execute(*cmd, **kwargs)
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] File "/opt/stack/nova/nova/utils.py", line 272, in execute
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] return processutils.execute(*cmd, **kwargs)
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 342, in execute
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] cmd=sanitized_cmd)
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] ProcessExecutionError: Unexpected error while running command.
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf vrouter-port-control --oper=add --uuid=7c63fb8d-8363-47bb-af08-2ca1756bc6bb --instance_uuid=d02de223-3e60-4265-a723-6dbb9acc7a24 --vn_uuid=55e0966b-8aee-4b40-abea-641f61dd94ac --vm_project_uuid=7e80a2bf3c45444688be64655d0f0813 --ip_address=10.0.0.5 --ipv6_address=fdf6:a45e:26d4::5 --vm_name=vm3 --mac=02:7c:63:fb:8d:83 --tap_name=tap7c63fb8d-83 --port_type=NovaVMPort --tx_vlan_id=-1 --rx_vlan_id=-1
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] Exit code: 1
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] Stdout: u'Invalid argument for vif_type None\n'
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24] Stderr: u''
2016-07-12 14:53:07.297 TRACE nova.virt.libvirt.vif [instance: d02de223-3e60-4265-a723-6dbb9acc7a24]
--vif_type is not passed to the script
Review in progress for https:/ /review. opencontrail. org/21874
Submitter: Jean-Philippe Braun (<email address hidden>)