Cluster manager reverse tunnel#801
Conversation
1d36035 to
e4741bd
Compare
|
@edlerd can this PR be closed? |
We might want to use this approach at a later time, so I'd keep it open in draft state. |
99939f7 to
0f73e50
Compare
03a8fa9 to
99d12b3
Compare
8988de9 to
f1f9f2f
Compare
ff350a7 to
a4c4569
Compare
|
@roosterfish I updated microcluster v3 and adjusted to use the on stop hook for the background tasks. please give this changeset a pass at review. |
roosterfish
left a comment
There was a problem hiding this comment.
Thanks for applying those changes so quickly. Just one more comment as I think we don't have to manually cancel the context inside the OnStop as this is already done by the daemon.
|
Did you test stopping the MicroCloud daemon to see it doesn't block for some reason we wouldn't expect? I am pretty sure we have some |
39efd3e to
c178f70
Compare
|
Did simplifications as suggested above.
Yes, a simple snap stop worked well. With and without cluster manager configured or with/without tunnel. |
roosterfish
left a comment
There was a problem hiding this comment.
LGTM! Just a few comments for follow ups and about the flagged security issue where we might want to have a whitelist of LXD endpoints to be safe?
Addressed those just now.
If I recall correctly, we discussed this previously, and @tomponline raised a valid concern that we would then have to maintain that list of allowed endpoints, which could become cumbersome or even blocking in the future. Hence my current approach to allow anything with |
Signed-off-by: David Edler <david.edler@canonical.com>
Signed-off-by: David Edler <david.edler@canonical.com>
Signed-off-by: David Edler <david.edler@canonical.com>
…prove error handling Signed-off-by: David Edler <david.edler@canonical.com>
…ation Signed-off-by: David Edler <david.edler@canonical.com>
Signed-off-by: David Edler <david.edler@canonical.com>
Signed-off-by: David Edler <david.edler@canonical.com>
Signed-off-by: David Edler <david.edler@canonical.com>
…unnel implementation Signed-off-by: David Edler <david.edler@canonical.com>
Signed-off-by: David Edler <david.edler@canonical.com>
Done
Ready for review.