CCI-MOC / xdmod-cntr

A project to prototype the use of XDMOD with OpenStack and OpenShift on the MOC
1 stars 6 forks source link

xdmod ticket #30198 openstack flavor id / instance_type_id #212

Open rob-baron opened 10 months ago

rob-baron commented 10 months ago

Robert Bartlett Baron, reported about 1 year ago I thought that I sent this, but cannot find it if I had.

OpenStack is no longer using an integer as the flavor id, but has changed it to a uuid in the same format as found in the instance id. It seems that xdmod is expecting a flavor id to be just an integer.

Is the flavor id being used for any thing or is it just being collected and ignored? Gregary Dean , said about 1 year ago Ticket: https://help.xdmod.org/support/tickets/30198

Hi Robert,

The flavor id is not used. It is not a field that gets loaded into the database. I'm assuming that when you say flavor id you mean the instance_type_id field in the json file? XDMoD uses the instance_type field which is the name of the flavor.

-greg

Robert Bartlett Baron , said about 1 year ago Greg,

Just so you are aware, in the validation of flavor id, it is required to be a string containing an integer.

If it is an unimportant value, I would expect that it would be string and it would be nullable. This way, you indicate by virtual that it is nullable that it is probably not used. Furthermore, you can use the character representation of a variety of types in a string.

Rob.