OVN deployment is failing when used with OVS 2.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Numan Siddique |
Bug Description
When we deploy tripleo with latest OVS 2.10, we see the below error
/var/lib/
"2018-08-23 06:31:27,357 ERROR: 19154 -- Failed running docker-puppet.py for ovn_controller",
puppet apply for ovn_controller is failing with the below error
***
+ /usr/bin/puppet apply --summarize --detailed-
PMD: net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5)
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4)
PMD: net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5)
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4)
Warning: Facter: Could not retrieve fact='nic_alias', resolution=
Warning: Facter: Could not retrieve fact='nic_alias', resolution=
Warning: Undefined variable 'deploy_
(file & line not available)
Notice: hiera(): Cannot load backend module_data: cannot load such file -- hiera/backend/
Notice: hiera(): Cannot load backend module_data: cannot load such file -- hiera/backend/
Notice: Scope(Class[
Warning: This method is deprecated, please use the stdlib validate_legacy function,
(at /etc/puppet/
Notice: Compiled catalog for controller-0 in environment production in 0.70 seconds
Error: Failed to apply catalog: undefined method `chomp' for nil:NilClass
***
Changed in tripleo: | |
importance: | Undecided → High |
status: | In Progress → Fix Released |
The reason for the failure is because of the warning messages which "ovs-vsctl" displays when puppet vswitch executes the command "/usr/bin/ovs-vsctl list Open_vSwitch .".
***
PMD: net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5)
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4)
PMD: net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5)
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
PMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4)
***
Because of these warning messages, the code here - https:/ /github. com/openstack/ puppet- vswitch/ blob/master/ lib/puppet/ provider/ vs_config/ ovs.rb# L41 is Nil.
Ideally ovs-vsctl shouldn't display these warning messages. As a workaround we need to mount "/usr/lib64" to the ovn_controller container during puppet confi step.