unexpected virtualport type -1
Hi,
I'm trying ironic on devstack. My localrc configuration is the same like described in Deploying Ironic with devstack
Unfortunately I get the errors:
error: Failed to define network from /dev/fd/63
error: XML error: unexpected virtualport type -1
Output of stack.sh before the errors occur:
++ create_bridge_and_vms
++ sudo su ubuntu -c /home/ubuntu/devstack/tools/ironic/scripts/setup-network
+ LIBVIRT_CONNECT_URI=qemu:///system
+++ dirname /home/ubuntu/devstack/tools/ironic/scripts/setup-network
++ cd /home/ubuntu/devstack/tools/ironic/scripts/..
++ pwd
+ TOP_DIR=/home/ubuntu/devstack/tools/ironic
+ BRIDGE_SUFFIX=
+ BRIDGE_NAME=brbm
+ export VIRSH_DEFAULT_CONNECT_URI=qemu:///system
+ VIRSH_DEFAULT_CONNECT_URI=qemu:///system
+ sudo ovs-vsctl list-br
+ grep 'brbm$'
brbm
+ virsh net-list
+ grep 'brbm '
+ virsh net-list --inactive
+ grep 'brbm '
+ virsh net-define /dev/fd/63
++ sed s/brbm/brbm/ /home/ubuntu/devstack/tools/ironic/templates/brbm.xml
The brbm.xml file seems to be okay. The output of virsh net-list --inactive
is
Name State Autostart
-----------------------------------------
default inactive yes
And if I call the command virsh-netdefine /dev/fd/63 manually it fails due to "No such file or directory". Any ideas? Seems to be somthing with network configuration? Do I need special network settings for ironic?
Hi Brenne, I am also facing the same problem on a fresh Ubuntu 12.04 server and devstack. Please let me know if you come across any solution. I'll be sure to do the same ..