Skip to content
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
ATNoG:master
Closed

Add support for rebooting a container#2
jpbarraca wants to merge 2 commits intoopenstack-archive:masterfrom
ATNoG:master

Conversation

@jpbarraca
Copy link
Copy Markdown
Contributor

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

@openstack-gerrit
Copy link
Copy Markdown

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
instructions there to upload your change to Gerrit.

openstack-gerrit pushed a commit that referenced this pull request Feb 8, 2017
Depends-On: I7adcc29cac151ec55f6cc322a880189e0e827db1
Change-Id: I0f46c700c8c6a6495ebb64e9976218bc2fb83b65
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants