Hyper-v Open vSwitch agent not working
I used to follow the article Open vSwitch 2.5 on Hyper-V (OpenStack) but seems not working the openvswitch as I could not get it in the neutron from the controller node (via neutron agent-list command) but the Hyper-v compute node is working well (via nova service-list command) in the controller node.
By the way software that I use, OpenStack Newton 1.1 (in the controller node-separate server). In Hyper-v server - HyperVNovaCompute_Newton 14.0.1 and openvswitch hyperv 2.5.1 certified (or even tried openvswitch hyperv 2.6.1 certified).
I am stuck in the part of the article that mentioned "Note: creating a service manually for the OVS agent won’t be necessary anymore starting with the next Nova Hyper-V MSI installer version. Here is the content of the neutron_ovs_agent.conf file:"
as it mentioned not necessary anymore but seems not created a file, even tried to copy the same configurations as per stated and this is my configuration(C:\Program Files\Cloudbase Solutions\OpenStack\Nova\etc\neutronovsagent.conf)
[DEFAULT]
verbose=true
debug=false
control_exchange=neutron
policy_file=C:\Program Files\Cloudbase Solutions\OpenStack\Nova\etc\policy.json
rpc_backend=neutron.openstack.common.rpc.impl_kombu
rabbit_host=10.20.30.203
rabbit_port=5672
rabbit_userid=guest
rabbit_password=guest
logdir=C:\OpenStack\Log\
logfile=neutron-ovs-agent.log
[agent]
tunnel_types = vxlan
enable_metrics_collection=false
[SECURITYGROUP]
enable_security_group=false
[ovs]
local_ip = 10.20.30.254
tunnel_bridge = br-tun
integration_bridge = br-int
tenant_network_type = vxlan
enable_tunneling = true
But it doesn't show me up, with the bridge/port such as br-int, patch-tun, br-tun, patch-int et al.. But only show me these, where ens5 is my network name.
PS C:\Users\Administrator> ovs-vsctl show
42842d57-2c30-4f59-a258-7ab149768d66
Manager "ptcp:6640:127.0.0.1"
Bridge "br-port1"
Port "ens5"
Interface "ens5"
Port "br-port1"
Interface "br-port1"
type: internal
And the logs I got only these in c:\OpenStack\Log\neutron-ovs-agent.log
2016-12-13 17:40:56.226 2688 INFO neutron.common.config [-] Logging enabled!
2016-12-13 17:40:56.226 2688 INFO neutron.common.config [-] C:\Program Files\Cloudbase Solutions\OpenStack\Nova\Python27\Scripts\neutron-openvswitch-agent-script.py version 9.0.1.dev14
2016-12-13 17:40:56.242 2688 WARNING oslo_config.cfg [-] Option "rabbit_host" from group "DEFAULT" is deprecated. Use option "rabbit_host" from group "oslo_messaging_rabbit".
2016-12-13 17:40:56.242 2688 WARNING oslo_config.cfg [-] Option "rabbit_host" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silently ignored in the future.
2016-12-13 17:40:56.242 2688 WARNING oslo_config.cfg [-] Option "rabbit_port" from group "DEFAULT" is deprecated. Use option "rabbit_port" from group "oslo_messaging_rabbit".
2016-12-13 17:40:56.242 2688 WARNING oslo_config.cfg [-] Option "rabbit_port" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silently ignored in the future.
2016-12-13 17:40:56.242 2688 WARNING oslo_config.cfg [-] Option "rabbit_password" from group "DEFAULT" is deprecated. Use option "rabbit_password" from group "oslo_messaging_rabbit".
2016-12-13 17:40:56.256 2688 WARNING oslo_config.cfg [-] Option "rabbit_password" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silently ignored in the future.
2016-12-13 17:40:56.256 2688 WARNING oslo_config.cfg ...
Hello Alin, It seems not working adding those 2 lines. I don't know if this related to the nova.conf configurations as per checking with the compute node using kvm they have slight differences under [neutron] section.. auth_plugin=v3password (in hyper-v) auth_type=v3password (in kvm)