Human_id does not correspond to the same field when creating datamodel and updating datamodel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
watcher |
Fix Released
|
Medium
|
chenker |
Bug Description
In nova, the values of instance.name and instance.
But they are different from the value of human_id[3].
Now Watcher creates datamodel use "human_id: instance.human_id".
This instance.human_id is from novaclient. In novaclient, human_id
have a little different with instance.name, beacuse it will do a case
conversion[3].
When updating datamodel, Watcher user the 'display_name' from notification
to update human_id[4].
Therefore, the value of human_id is not reliable.
[1]. https:/
[2]. https:/
[3]. https:/
[4]. https:/
Changed in watcher: | |
importance: | Undecided → Medium |
status: | New → In Progress |
The solution is to add a 'name' field to save the name of the
instance, and ensure that the value of this field is the same
when the datamodel is created and when the datamodel is updated.
About the 'human_id', We will remove it in the future.