Bug 1056992
| Summary: | Foreman will use bridge map even after it is removed from neutron networker parameter | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ofer Blaut <oblaut> | ||||||
| Component: | openstack-foreman-installer | Assignee: | Jiri Stransky <jstransk> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Omri Hochman <ohochman> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 4.0 | CC: | jstransk, morazi, nyechiel, oblaut, ohochman, rhos-maint, yeylon | ||||||
| Target Milestone: | z4 | Keywords: | ZStream | ||||||
| Target Release: | 4.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-04-02 14:42:27 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: | |||||||||
| Attachments: |
|
||||||||
I'm not clear on the expected results here. If I'm reading the report correctly, you set up a Neutron Networker host group member and watch is install correctly. Then you are manually removing the bridge, but not changing anything about the Host Group member. When you re-run puppet with no changes to the parameters, a puppet run restores the bridge as the Host Group and parameters are still describing that as the desired machine state (according to puppet). If I read it correctly, I would expect the behavior described (and would in fact expect it to happen automatically if you waited for the puppet agent to check in on its own). Did I misinterpret what you were attempting and the results? (In reply to Ofer Blaut from comment #0) > Created attachment 854275 [details] > OVS and puppet output > > Description of problem: > > I have remove bridge map and interfaces from foreman neutron networker > > Still the bridge is beginning created. > > This is not the case when removing vlan ranges . > > Version-Release number of selected component (if applicable): > > > How reproducible: > > > Steps to Reproduce: > 1. configure ovs_bridge_uplinks and ovs_bridge_mappings on neutron networker > 2.removed the bridge using ovs-vsctl br-del from host 3. remove bridge map and interfaces from foreman neutron networker parameters > 4. run puppet again > 5. bridge will be created again > 6. might happen on compute as well ( didn't test ) > > Actual results: > > > Expected results: > > > Additional info: Hi Mike My mistake in the reproduce steps. I have removed the bridge-map and interface from both foreman host group parameters and host it self. running puppet on the host generated the bridge again. Ofer Created attachment 880818 [details]
networker node shell output
Hi Ofer, i'm not able to reproduce the error (if i understood the bug report correctly). Please see the attachment above -- networker node shell output, which i think shows correct behavior. I deleted the bridge manually, then reset the ovs_bridge_mappings and ovs_bridge_uplinks to [] and re-run puppet. The bridge didn't get created. Could you please try to reproduce the error to see if this is still an issue on your setup? Thanks, Jirka Here's a link to upstream neutron module that suggests the important part is to set ovs_bridge_mappings to [], and then nothing gets created: https://github.com/stackforge/puppet-neutron/blob/1cc2b42ceb39b199d96945eb4e6e972e6b32a2b8/manifests/agents/ovs.pp#L36 Thanks Ofer for verifying that it's not an issue in current setup. |
Created attachment 854275 [details] OVS and puppet output Description of problem: I have remove bridge map and interfaces from foreman neutron networker Still the bridge is beginning created. This is not the case when removing vlan ranges . Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. configure ovs_bridge_uplinks and ovs_bridge_mappings on neutron networker 2.removed the bridge using ovs-vsctl br-del 3. run puppet again 4. bridge will be created again 5. might happen on compute as well ( didn't test ) Actual results: Expected results: Additional info: