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

should prevent orphan VMs #60

Open
hoatle opened this issue Dec 28, 2018 · 2 comments
Open

should prevent orphan VMs #60

hoatle opened this issue Dec 28, 2018 · 2 comments
Assignees
Labels
affected:develop affected on the develop branch affected:v0.4.0 affected on the v0.4.0 version comp:config config prio:major sprt:next type:feature

Comments

@hoatle
Copy link
Member

hoatle commented Dec 28, 2018

From @hoatle on December 28, 2018 4:6

I guess we could prevent orphan VMs with an extension and then we'll add that extension into default extensions config.

Copied from original issue: teracyhq/dev#587

@hoatle
Copy link
Member Author

hoatle commented Dec 28, 2018

phuonglm [3:53 AM]
bên vagrant mỗi lần đổi machine name mà không destroy trước đấy phát là có vm bị orphan nhỉ

hieptq [3:54 AM]
vâng a!
change name là bị !
enable/ disable extension có chứa variables! Hoặc là remove thẳng ở trong VB GUI là bị! (edited)

phuonglm [3:56 AM]
đang dùng remote machine headless 😄
không có vb gui
phát hiện 4 cái vm chạy cùng lúc 😞

hieptq [3:57 AM]
hoặc là a vagrant up xong lúc nó vừa mới run settings hostname, rồi a Ctrl C là nó cũng bị thế :))

hoatle [3:58 AM]
tạo extension để fix vấn đề này được không nhỉ?
trong .vagrant có info để extension có thể tự động clean up orphan VM (edited)

phuonglm [4:00 AM]
chắc cho vào FAQ vboxmanage list vms|runningvms

hieptq [4:01 AM]
e thấy là cái này chỉ cần check VM clean before vagrant up
kiểm tra VM state, machine name rồi dùng cái a Hoạt bảo để nó clean đi

phuonglm [4:03 AM]
anh thấy .vagrant nó không full sync với virtualbox
đôi lúc outdate, lỗi
tất nhiên nó support nhiều vm provider thế thì muốn nó full sync cũng khó
tốt nhất cứ cho FAQ trước

hieptq [4:05 AM]
ps aux | grep -i virtualbox
and kill

phuonglm [4:06 AM]
😄
thô bạo quá

hieptq [4:06 AM]
là nó hết mà a
:))
đấy là force remove luôn

phuonglm [4:06 AM]
vboxmanage unregistervm --delete dd12abff-235d-406c-881f-a03cbd30cb51
anh nhẹ nhàng thôi

hieptq [4:07 AM]
còn ko thì a dùng trigger check before up cũng đc ạ!

phuonglm [4:07 AM]
free được chút ổ cứng

hieptq [4:07 AM]
thì a dùng trigger, nó có env, và machine sẵn rồi!
a lấy cái state, id rồi clear đi :))
nhẹ nhàng vậy còn gì a 😄

@hoatle
Copy link
Member Author

hoatle commented Dec 28, 2018

wrong project, I'm moving this issue to the teracy-core-extension instead, it should be fixed by teracy-dev-core.

@hoatle hoatle added sprt:next comp:config config affected:develop affected on the develop branch affected:v0.4.0 affected on the v0.4.0 version and removed affected:v0.6.0-a6 labels Dec 28, 2018
@hoatle hoatle added this to the v0.5.0-dev-core milestone Dec 28, 2018
@hoatle hoatle changed the title should create an extension for orphan VM prevention should prevent orphan VMs Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affected:develop affected on the develop branch affected:v0.4.0 affected on the v0.4.0 version comp:config config prio:major sprt:next type:feature
Projects
None yet
Development

No branches or pull requests

2 participants