Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue #1972: Stateless boot node looses network connection at dhcp lease expiration time;add NetworkManager in to rh7 diskless osimage pkglist #1977

Closed
wants to merge 1 commit into from

Conversation

immarvin
Copy link
Contributor

fix issue:stateless boot node looses network connection at dhcp leaseexpiration time. #1972;
add NetworkManager in to rh7 diskless osimage pkglist

… expiration time. xcat2#1972;add NetworkManager in to rh7 diskless osimage pkglist
@zet809
Copy link

zet809 commented Oct 17, 2016

@immarvin From my point of view, if no NetworkManager installed, the CN can not even get a dhcp IP at all rather than lose IP 6 hours later since there is no dhclient run. So the dhclient must run at beginning, and then there is other reason that dhclient process is killed.

@immarvin
Copy link
Contributor Author

immarvin commented Oct 17, 2016

hi @zet809 , the diskless node will get ip address on "service network start" without NetworkManager installed. "dhclient" is not run directly, it is triggered by either NetworkManager or network service. The difference between "NetworkManager" and "network" service is that dhclient process will be running as a child process of "NetworkManager" service, but will not be running after "network" service has been started.

@whowutwut whowutwut changed the title fix issue:stateless boot node looses network connection at dhcp leaseexpiration time. #1972;add NetworkManager in to rh7 diskless osimage pkglist Stateless boot node looses network connection at dhcp lease expiration time. #1972;add NetworkManager in to rh7 diskless osimage pkglist Oct 17, 2016
@whowutwut
Copy link
Member

I am ok with the changes in this pull request.

@immarvin immarvin changed the title Stateless boot node looses network connection at dhcp lease expiration time. #1972;add NetworkManager in to rh7 diskless osimage pkglist fix issue #1972: Stateless boot node looses network connection at dhcp lease expiration time;add NetworkManager in to rh7 diskless osimage pkglist Oct 18, 2016
@whowutwut
Copy link
Member

Actually, on 2nd thought, if you look at Matt's comment #1972 (comment), does it make sense to introduce NetworkManager into the compute nodes? It looks like some customers will change to static IP to reduce the dhcp from running on the compute nodes in production...

@immarvin
Copy link
Contributor Author

hi @whowutwut , "dhcp" is the default option for user, we'd better make it work anyway. NetworkManager is just a new framework in redhat to manage network configuration instead of traditional "ifcfg-xxx" way. If customer want to configure static ip on diskless node, that can use the postscript "confignics -s".

There is some problem introduced by NetworkManager, see #104

@immarvin immarvin closed this Oct 19, 2016
@immarvin immarvin deleted the onissue branch October 25, 2016 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants