Change automaticaly generated client_id to an uuid
Curently the automaticaly generated client_id for the freezer scheduler is a concatenation of the tenant_id and the hostname.
There is a high chance of colision with that method.
To mitigate that risk we need to change that automaticaly generated client_id to an uuid.
At registration time, we should register a few informations about the host so it is possible to later find out to wich server that uuid correspond.
We could then get something like:
freezer-scheduler client-list
+------
+------
| 940f3b2f-
| 65b4f432-
+------
Notes:
- I think we should keep the current possibility to set an arbitrary client_id (with the "-c" option).
- There is already a descritption field tied to the client_id, we could leverage that. If not, should we keep that field ?
- Once generated, store the id in the freezer-scheduler config file (I think this is the right one).
- Choosen informations: AT REGISTRATION
FQDN
Registration datetime
Os
IP
Call to nova-metadata to get OS infos
last registration time
Clients re-register themselfs evrey ! day/hour (NOT EVERY API-POLL)
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Pierre-Arthur MATHIEU
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by