Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure setting up openvswitch #20

Open
jovial opened this issue Sep 26, 2018 · 1 comment
Open

Failure setting up openvswitch #20

jovial opened this issue Sep 26, 2018 · 1 comment

Comments

@jovial
Copy link
Contributor

jovial commented Sep 26, 2018

On centos 7.5 running tenks in an all in one install with a kayobe deployed openstack cloud, I'm seeing:

TASK [Ensure Open vSwitch is started and enabled] ******************************
[DEPRECATION WARNING]: state=running is deprecated. Please use state=started. 
This feature will be removed in version 2.7. Deprecation warnings can be 
disabled by setting deprecation_warnings=False in ansible.cfg.
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to enable service openvswitch: Failed to execute operation: Cannot send after transport endpoint shutdown\n"}

This is occurred after a reboot.

Some things I tried:

(tenks) 2 centos@kayobe-will:~/tenks$ sudo systemctl restart openvswitch       
Failed to restart openvswitch.service: Unit is masked.
(tenks) 2 centos@kayobe-will:~/tenks$ sudo systemctl unmask openvswitch       

which didn't seem to help.

disabling the service allowed me to get past this task:

sudo systemctl disable openvswitch

but the service doesn't look healthy:

sudo systemctl status openvswitch -l
● openvswitch.service - Open vSwitch
   Loaded: loaded (/usr/lib/systemd/system/openvswitch.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
@markgoddard
Copy link

Perhaps this was missed from the docs. You'll need a script added to your PATH that maps ovs-vsctl command to docker exec openvswitch_vswitchd $*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants