This repository was archived by the owner on Sep 26, 2019. It is now read-only.
Add support for rebooting a container#2
Closed
jpbarraca wants to merge 2 commits intoopenstack-archive:masterfrom
Closed
Add support for rebooting a container#2jpbarraca wants to merge 2 commits intoopenstack-archive:masterfrom
jpbarraca wants to merge 2 commits intoopenstack-archive:masterfrom
Conversation
|
Thank you for contributing to stackforge/nova-docker! stackforge/nova-docker uses Gerrit for code review. Please visit http://wiki.openstack.org/GerritWorkflow and follow the |
openstack-gerrit
pushed a commit
that referenced
this pull request
Feb 8, 2017
Depends-On: I7adcc29cac151ec55f6cc322a880189e0e827db1 Change-Id: I0f46c700c8c6a6495ebb64e9976218bc2fb83b65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Without this patch, whenever a container is rebooted in OpenStack it will loose its IP address.
The reason is that the container PID will change, but the namespace link (in /var/run/netns/) is not updated to the new PID.
A fix is to destroy networking and create it again, which we tested successfully against nova-compute 1:2014.1-0ubuntu1.2