canonical / canonical/microcloud

MicroCloud should fetch local services on demand

Open
#870 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Go
Stars
532
Forks
83
Avg merge
1d 14h
Merged PRs (30d)
36

Description

When the MicroCloud daemons comes up, it uses the content interfaces in order to check for the presence of MicroCeph and MicroOVN.
Once this is check is done, it enters a loop checking for their presence every second.
If one of the services is detected, the internal map of services on the daemon `s.Services` gets updated so that those can be used later down in the code.

Instead of entering a continuous loop, MicroCloud should only ever fetch those services on demand if requested.
Caching the presence of the service might not be a good idea to cope with situations in which a services gets removed after MicroCloud is already started and learned about the presence of this service.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.