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

Container hostname is not removed on container destruction #2778

Closed
dilshat opened this issue Jan 4, 2019 · 2 comments
Closed

Container hostname is not removed on container destruction #2778

dilshat opened this issue Jan 4, 2019 · 2 comments
Milestone

Comments

@dilshat
Copy link
Member

dilshat commented Jan 4, 2019

When container is removed from environment, its hostname is left in /etc/hosts file of the other containers

@dilshat dilshat added this to the 8.2.1 milestone Jan 7, 2019
@dilshat dilshat added the bug label Jan 7, 2019
dilshat pushed a commit that referenced this issue Jan 8, 2019
dilshat pushed a commit that referenced this issue Jan 8, 2019
@dilshat
Copy link
Member Author

dilshat commented Jan 8, 2019

How to test:

  1. Create environment with more than 2 containers
  2. Destroy one container via Environment->Containers section
  3. Destroy one container via Environment->Environments editing pane
  4. Ssh into the last container and check /etc/hosts file
    Result: /etc/hosts file must not contain hostnames of the removed containers

@Almansherov
Copy link
Member

Followed the scenario written above^
Tested with the updated peer on masterbazaar.
Did operations via console.
Successfully finished testing. Hosts does not have the hostnames of deleted containers:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants