-
Notifications
You must be signed in to change notification settings - Fork 498
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
LVM cleanup executes on master instead storage node #2352
Comments
All actions are executed locally. Each action then ssh to the target host (if needed, depending on the driver and/or specific action). For example in fs_lvm/delete, you have:
ssh_exec_and_log do the ssh part. |
I just found that this is happens because this action is actualy use not for system datastore but for images datastore, for cleanup non persistent drives, and took BRIDGE_LIST parameter from it. Sorry wrong bug. |
I was wrong about wrong bug. Bug is still there: To Reproduce
You will see that driver action will be called with wrong
You will see that driver action will be called with right Please reopen issue. |
Ready to merge: |
…ation issues (#3201) Signed-off-by: kvaps <[email protected]>
Description
I just found out that
fs_lvm/delete
operation is executes on the main controller, but not in the compute node or any other node from BRIDGE_LISTTo Reproduce
echo "$0" "$@" >> /tmp/123
line to thefs_lvm/delete
file/tmp/123
on node and on containerExpected behavior
opennebula
- it is my controller node.I expected some other name instead, like name of compute node or name of node from BRIDGE_LIST.
Details
Additional context
There is also cleanup procedure before creating and resizing drive, so, it is up to discussion is that really needed here to cleanup it twice.
Progress Status
The text was updated successfully, but these errors were encountered: