Changing iSER interface vlan name and eswitchd package

After an environemnt is deployed and the compute node is rebooted,
eswitchd service fails to start again. As for iSER, ubuntu has a bug in it
not allowing proper naming for vlan interface of iSER as required.

Change-Id: I9860c1411fa718b1797ca6856a376ae265395f1d
This commit is contained in:
Rawan Herzallah 2015-11-18 11:16:59 +00:00
parent d7286d73ba
commit 6af0e147ae
3 changed files with 5 additions and 4 deletions

View File

@ -152,7 +152,7 @@ class MellanoxSettings(object):
storage_vlan = mlnx.get('storage_vlan')
storage_parent = cls.get_interface_by_network('storage')
if storage_vlan and mlnx['driver'] == 'mlx4_en': # Use VLAN dev
vlan_name = "{0}.{1}".format(ISER_IFC_NAME, storage_vlan)
vlan_name = "{0}{1}".format('vlan', storage_vlan)
# Set storage rule to iSER interface vlan interface
cls.data['network_scheme']['roles']['storage'] = vlan_name
# Set iSER interface vlan interface
@ -160,7 +160,8 @@ class MellanoxSettings(object):
'action': 'add-port',
'name': vlan_name,
'vlan_id': int(storage_vlan),
'vlan_dev': ISER_IFC_NAME
'vlan_dev': ISER_IFC_NAME,
'mtu': '1500'
})
endpoints[vlan_name] = (
endpoints.pop('br-storage', {})

View File

@ -5,7 +5,7 @@ name: mellanox-plugin
title: Mellanox Openstack features
# Plugin version
version: 1.0.9
version: 1.0.12
# Description
description: Enable features over Mellanox hardware

View File

@ -70,7 +70,7 @@ rpm_files="cirros-testvm-mellanox-0.3.2-1.mira3.x86_64.rpm
old_debs="${PLUGIN_DIR}/repositories/ubuntu/*.deb"
deb_files="cirros-testvm-mellanox_0.3.2-ubuntu3_amd64.deb
cirros-testvm-mellanox-ib_0.3.2-7_amd64.deb
eswitchd_0.13-1_amd64.deb
eswitchd_1.14-3_amd64.deb
mlnx-dnsmasq_2015.1.0-1_all.deb
mlnx-ofed-fuel_2.3-2.0.8_amd64.deb
python-networking-mlnx_2015.1.2-1_amd64.deb"