Ask Your Question
0

unexpected virtualport type -1

asked 2014-05-06 09:41:10 -0500

Brenne gravatar image

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?

edit retag flag offensive close merge delete

Comments

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 ..

Gokul Praveen gravatar imageGokul Praveen ( 2014-05-13 04:59:48 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2014-05-15 10:45:49 -0500

Brenne gravatar image

I solved the problem. Or lets say at least the stack.sh script run without any error having the same settings like described in the manuals. I used ubuntu 14.04 server instead of 12.04...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-06 09:41:10 -0500

Seen: 188 times

Last updated: May 15 '14