Bug 1177740

Summary: staypuft configure bond "balance-tlb" after choosing bond 802.3ad
Product: Red Hat OpenStack Reporter: Asaf Hirshberg <ahirshbe>
Component: ruby193-rubygem-staypuftAssignee: Brad P. Crochet <brad>
Status: CLOSED ERRATA QA Contact: Asaf Hirshberg <ahirshbe>
Severity: high Docs Contact:
Priority: high    
Version: 6.0 (Juno)CC: aberezin, dmaley, jrist, jthomas, mburns, morazi, rhos-maint, yeylon
Target Milestone: ga   
Target Release: Installer   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ruby193-rubygem-staypuft-0.5.10-1.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-09 15:18:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1177026    

Description Asaf Hirshberg 2014-12-30 07:50:30 UTC
Description of problem:
when creating network for each node end creating bond, the staypuft server change the type of the bond after submit.when trying to fix it again from the network tab under hosts>all-hosts>"host">edit, where the bond configuration is and then submiting and checking again i see that the changes havn't saved. 
on the host (after i hit deploy..) i see:

[root@mac441ea1733d43 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
BOOTPROTO="none"
DEVICE="bond0"
ONBOOT=yes
PEERDNS=no
PEERROUTES=no
DEFROUTE=no
TYPE=Bond
BONDING_OPTS="miimon=100 mode=balance-tlb"
BONDING_MASTER=yes
NM_CONTROLLED=no
 
when i want to see "BONDING_OPTS="miimon=100 mode=802.3ad""

that happened on at least on one host each deployment. (it's depend if i configured the networks/bonds to all nodes at the same time or one by one)

Version-Release number of selected component (if applicable):
rhel-osp-installer-client-0.5.4-1.el7ost.noarch
libreport-rhel-2.1.11-10.el7.x86_64
rhel-osp-installer-0.5.4-1.el7ost.noarch

How reproducible:
5/5

Steps to Reproduce:
1.create ha deployment
2.configure the networks and bond to each server and change the type of the bond to 802.3ad.
3.check the results at hosts>all-hosts>"host">edit>network

Actual results:
the results are that staypuft configure what seems to be the default type of bond (balance-tlb) and not the type that i have Chosen.

Comment 2 Brad P. Crochet 2015-01-08 14:49:43 UTC
PR available: https://github.com/theforeman/staypuft/pull/397

Comment 3 Jason E. Rist 2015-01-08 15:57:13 UTC
Merged upstream

Comment 5 Asaf Hirshberg 2015-01-19 10:29:31 UTC
Verified on:
 #rpm -qa|grep installer
foreman-installer-1.6.0-0.2.RC1.el7ost.noarch
rhel-osp-installer-client-0.5.5-2.el7ost.noarch
openstack-foreman-installer-3.0.10-2.el7ost.noarch
rhel-osp-installer-0.5.5-2.el7ost.noarch

Comment 8 errata-xmlrpc 2015-02-09 15:18:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0156.html

Comment 9 Mike Burns 2015-02-11 15:06:57 UTC
*** Bug 1191242 has been marked as a duplicate of this bug. ***