Flush br-storage IP address for RDMA connection
Change-Id: I846b4f0c5a23184d4d91fcc3a4eb9eef149943e6
This commit is contained in:
parent
362b635b7c
commit
689fe24394
@ -201,6 +201,7 @@ class MellanoxSettings(object):
|
||||
'bridge': 'br-storage',
|
||||
'name': storage_parent,
|
||||
})
|
||||
endpoints['br-storage'] = {'IP' : 'None'}
|
||||
|
||||
@classmethod
|
||||
def get_endpoints_section(cls):
|
||||
|
@ -12,16 +12,10 @@ class mellanox_openstack::cinder_iser (
|
||||
cinder_config { 'DEFAULT/iscsi_ip_address' :
|
||||
value => "$iser_ip_address"
|
||||
}
|
||||
exec { 'flush_br_storage' :
|
||||
command => "ip addr flush dev br-storage",
|
||||
onlyif => "ip a | grep -q br-storage",
|
||||
path => ['/bin', '/sbin']
|
||||
}
|
||||
service { $cinder::params::volume_service :
|
||||
ensure => running,
|
||||
subscribe => [Cinder_config['DEFAULT/iscsi_protocol'],
|
||||
Cinder_config['DEFAULT/volume_driver'],
|
||||
Exec['flush_br_storage'],
|
||||
Cinder_config['DEFAULT/iscsi_ip_address']]
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ name: mellanox-plugin
|
||||
title: Mellanox Openstack features
|
||||
|
||||
# Plugin version
|
||||
version: 2.0.22
|
||||
version: 2.0.23
|
||||
|
||||
# Description
|
||||
description: Enable features over Mellanox hardware
|
||||
|
Loading…
Reference in New Issue
Block a user