-
Notifications
You must be signed in to change notification settings - Fork 479
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
IP alias variables not removed from context.sh when deleting IP alias #3484
Comments
Still depends on bug OpenNebula/one#3484
Thanks for reporting the bug @atodorov-storpool! It has been fixed and will be released in the 5.8.4 hotfix version. |
Thank you for the quick response! Cheers, |
Code: #3518 |
The context changes will be covered here: |
(cherry picked from commit 43be5cf)
Hi @al3xhh It looks like patch al3xhh@2e667af is not merged to one-5.8/master branches or there is another bug because Could you take another look on it? I think I've tested the patch against 5.8.3 and it worked... |
Hello @atodorov-storpool we finally made a different solution, so now variables are not removed, but there is a new attribute in context to indicate that the alias is being detached. The changes in context packages aren't done yet, but there are issues for that in context repositories. |
Hello @al3xhh,
|
And just noted that there is |
I will reopen the issue to take a look, thanks for noticing it @atodorov-storpool |
@atodorov-storpool I have fixed it, thanks again for trying it! |
Signed-off-by: Anton Todorov <a.todorov@storpool.com>
Description
When removing an alias IP the re-contextualization is triggered but context.sh in the CDROM is not updated - the context variables for the removed alias are still there and the contextualization test do not find a difference and the ip is not removed.
To Reproduce
Expected behavior
The contextualization must step in and remove the alias IP from the VM
Details
Additional context
It looks like that context.sh is generated before the VM metadata is updated. Because deleting a second IP alias will trigger the contextualization in the VM. And context.sh will have missing the variables for the previously removed alias ip...
Progress Status
The text was updated successfully, but these errors were encountered: