Hi all,
This must be simple to do, but
when I try to follow the guide in a vagrant box to run the fullstack
suite locally, I am hitting a wall. I suspect I miss something obvious
but I can't figure it out.
I
start with an empty ubuntu 22.04 vagrant box with enough memory, disk,
cpu. Then I check out the neutron repo and devstack into my home dir. I
also `mkdir -p /opt/stack/ && chmod a+rwx /opt/stack` and clone
`requirements` repo in /opt/stack/requirements. (Otherwise
configure_for_func_testing script fails.)
Then I execute:
export VENV=dsvm-fullstack
tools/configure_for_func_testing.sh ~/devstack -i
(I am not sure setting VENV envvar is needed, but that's what is in the doc)
It successfully completes (I see "Phew, we're done!" message from the script.)
I then:
$ tox -e dsvm-fullstack neutron.tests.fullstack.test_logging
(or any other test case that triggers Open vSwitch)
and the test just fails with timeout. And when I look into logs, I see interface additions failing and in vswitchd log:
Aug
21 20:24:26 ubuntu ovs-vswitchd[42747]: ovs|00032|bridge|ERR|failed to
create bridge br-eth68909740e: No such file or directory
Aug 21
20:24:26 ubuntu ovs-vswitchd[42747]: ovs|00031|ofproto|ERR|failed to
open datapath br-eth68909740e: No such file or directory
Aug 21 20:24:26 ubuntu ovs-vswitchd[42747]: ovs|00030|ofproto_dpif|ERR|failed to open datapath of type system: No such file or directory
(there are more errors of the same...)
I
disabled apparmor as the doc suggests. I also confirmed that the
`openvswitch` kernel module is loaded (it is not loaded after ovs and
ovn are built from source as part of configure_for_func_testing.sh
execution). I also tried to run the suite as root. (I don't think this
is needed, but I figured I'll check.)
Anyone else running into this? How do you guys execute the suite locally?
Ihar