Bug 967369
Summary: | RFE packstack should disable NetworkManager | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Steven Dake <sdake> |
Component: | openstack-puppet-modules | Assignee: | Martin Magr <mmagr> |
Status: | CLOSED NOTABUG | QA Contact: | Roey Dekel <rdekel> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.0 | CC: | aberezin, aortega, breeler, danw, dcbw, derekh, fdinitto, hateya, jkt, jlibosva, lyarwood, mkollaro, mmagr, mnewby, oblaut, rkhan, rkukura, sdake, sgordon, tgraf, twilson, yeylon |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | 4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-04 16:11:50 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: | 1010316 | ||
Bug Blocks: | 975499 |
Description
Steven Dake
2013-05-26 21:40:05 UTC
What problems occur? I'm never disabled NetworkManager and I've never run into problems. Chris Wright indicated he has run into problems when running with Network Manager. We had lots of problems with NM with RHCS so we ended up disabling there (in the docs I believe). I can't totally get my quantum setup working NM or no NM because of a separate problem. We need more information about what problems occur with NM is enabled. If there are problems, what are they? Under what circumstances does NM need to be disabled. This bug seems to suggest that NM should be disabled for all OpenStack deployments. Is that true, or is this specific to Quantum? Is this really Quantum specific? What about multi-node OpenStack deployments with, say, multiple Nova compute nodes? My understanding is that NM will need to be disabled there as well. We need to define where NM should be disabled before we can provide a solution. so what is the fix here? packstack should refuse to install with NM, should disable NM, issue a warning about NM. It's not clear to me that this is a Packstack bug vs. an openstack-puppet-modules bug, since the same problems would exist when Foreman deploys RHOS Because both Foreman/Packstack are distributed deployment tools, and expect to be able to arbitrarily reconfigure machines that you are installing, I think that the puppet modules should just disable NetworkManager if they find it enabled. We can make it clear in a Technical Note that OpenStack is currently incompatible with NetworkManager and that until some bug fixing and further testing is done to validate NetworkManager with OpenStack, that all OpenStack nodes will have NM disabled on them. Note: This does not necessarily mean that the host running packstack should have NM disabled. It could be that the host _running_ packstack is just a client machine and is not having any OpenStack services installed on it. (This is another reason why it makes sense to put disabling NM into puppet vs. packstack itself) Patch which is currently waiting for review is disabling NetworkManager service (this is done via Puppet) and setting NM_CONTROLLED=no in network script of each interface on hosts where OpenStack components are being installed (this is done in Python part of Packstack). The second part is probably not required. It will just make sure the interfaces won't be touched by NM even if service is started with some third party software. According to post: https://www.redhat.com/archives/rhos-list/2013-November/msg00007.html the provided solution may be incomplete--it may be necessary ensure also that the "network" service is enabled/running so that ifcfg-scripts actually run? I've commented code which disables NetworkManager since it's bringing more issues than it solves. According to Matthias not disabling NetworkManager is also wrong and killing NM and enabling network service is also wrong. According to his suggestion I'm posting needinfo for Neutron guys to tell us what should we do with it. Please check core review [1] to get a context of this. [1] https://review.openstack.org/#/c/55528/ I don't have a good knowledge about NetworkManager, I simply don't use it. I haven't run into any issues in my environment but the truth is I don't run any complex scenarios for Neutron. From what I saw so far is that Neutron doesn't require NetworkManager, thus I see getting rid of it on servers is a good thing to do. I also think it would be very helpful to have more inputs on what issues are brought by disabling NetworkManager stated in comment 24. Also a good input could be from QE to see whether they do or don't use NetworkManager on their nodes and if not using it brings any problems. Martina or anybody who's in charge of nodes? Meh. Packstack is repeatedly described as being only for "proof of concept" installs anyway. So I don't really care one way or another. I'd just wait until someone runs into a specific problem *now* with NetworkManager. Just reporting a bug that "NetworkManager is bad, or at least has been in the past" doesn't really do it for me. I think we should just document that as of right now it is recommended to provision your bare metal machines with NetworkManager disabled if running on RHEL 6. This could be part of the kickstart that is used in a Foreman like install but does not (should not) necessarily be part of Packstack or the Puppet Modules directly. In RHEL 7, we should try to coexist with NetworkManager if we can, but for RHEL 6 telling folks to disable as part of base provisioning may make sense just to eliminate potential issues. Documentation that disabling NetworkManager is a best practice via a Release Note and formal docs makes sense. @rkhan, afaik there was a specific issue where creating network interfaces (which Neutron and Nova Networking needs to do) with NM_CONTROLLED=no in them were still taken down by the NetworkManager daemon. Afair, @tgraf knew about this issue and I think it is fixed in Fedora but don't know if that fix propagated back to RHEL 6. @tgraf, can you remind me of the bz# for that? (In reply to Perry Myers from comment #30) > @tgraf, can you remind me of the bz# for that? https://bugzilla.redhat.com/show_bug.cgi?id=979181 I missed most of this discussion, but, for the record, I completely agree with Perry's assessment in comment 30. Furthermore, I don't think OpenStack-specific configuration tools (such as puppet modules for neutron or nova) should strive to be general-purpose network configuration tools. It must remain possible to deploy OpenStack in any suitable network environment, however that is configured and managed. Instead, top-level tools (i.e. Foreman or OpenStack-m) that are responsible for the entire deployment should combine the lower-lever OpenStack component configuration tools with some suitable network configuration solution. *** Bug 1113636 has been marked as a duplicate of this bug. *** |