<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi,</div>
<div>There is an issue with the statistics reported when a nova compute driver has shared storage attached. That is, there may be more than one compute node reporting on the shared storage. A patch has been posted - <a href="https://review.openstack.org/#/c/155184">https://review.openstack.org/#/c/155184</a>.
The direction here was to add a extra parameter to the dictionary that the driver returns for the resource utilization. The DB statistics calculation would take this into account and then do calculations accordingly.</div>
<div>I am not really in favor of the approach for a number of reasons:</div>
<ol>
<li>Over the last few cycles we have been making a move to trying to better define data structures and models that we use. More specifically we have been moving to object support</li><li>A change in the DB layer may break this support. </li><li>We are trying to have versioning of various blobs of data that are passed around</li></ol>
<div>My thinking is that the resource tracker should be aware that the compute node has shared storage and the changes done there. I do not think that the compute node should rely on the changes being done in the DB layer – that may be on a different host and
even run a different version.</div>
<div><br>
</div>
<div>I understand that this is a high or critical bug but I think that we need to discuss more on it and try have a more robust model.</div>
<div>Thanks</div>
<div>Gary</div>
</body>
</html>