<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div style="font-family: Calibri, sans-serif; font-size: 14px; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;">Hello Solum Developers, <br>
</span></font></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;"> </span></font></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;"><font size="3"><span style="font-size: 12pt;">When we were designing the operator </span></font><font size="3"><span style="font-size: 12pt;">languagepack feature for Solum,
 we wanted to make use of public urls to download operator LPs, such as those available for CDN backed swift containers we have at Rackspace, or any publicly accessible url. This would mean that when a user chooses to build applications on to</span></font><font size="3"><span style="font-size: 12pt;">​​</span></font><font size="3"><span style="font-size: 12pt;">p
 of a languagepack provided by the operator, we use a url to 'wget</span></font><font size="3"><span style="font-size: 12pt;">' the LP image.</span></font></span></font></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;"><br>
</span></font></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;">Recently, we have started noticing a number of failures because of corrupted docker images downloaded using 'wget'. The docker images work fine when we download them manually
 with a swift client and use them. The corruption seem to be happening when we try to download a large image using 'wget' and there are dropped packets or intermittent network issues.<br>
</span></font></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;"><br>
</span></font></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;">My thinking is to start using the swift client to download operator LPs by default instead of wget. The swift client already implements retry logic, downloading large images
 in chunks, etc. This means we would not get the niceties of using publicly accessible urls. However, the feature will be more reliable and robust.<br>
</span></font></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px; margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;"><br>
</span></font></div>
<div style="margin-top: 0px; margin-bottom: 0px; background-color: rgb(255, 255, 255);">
The implementation would be as follows:<br>
</div>
<ul style="font-family: Calibri, sans-serif; font-size: 14px; margin-top: 14pt; margin-bottom: 14pt; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;">
<li><font size="3"><span style="font-size: 12pt;">​We'll use the existing service tenant configuration available in the solum config file to authenticate and store operator languagepacks using the swift client. We were using a different tenant to build and
 host LPs, but now that we require the tenants credentials in the config file, it's best to reuse the existing service tenant creds. Note: If we don't, we'll have 3 separate tenants to maintain. </span></font>
<ul>
<li><font size="3"><span style="font-size: 12pt;">​Service tenant </span></font></li><li><font size="3"><span style="font-size: 12pt;">Operator languagepack tenant</span></font></li><li><font size="3"><span style="font-size: 12pt;">Global admin tenant </span></font></li></ul>
</li><li><font size="3"><span style="font-size: 12pt;">I'll keep the option to download the operator languagepacks from a publicly available url. I'll allow operators to choose which method they want to use by changing a setting in the solum config file.</span></font></span></font></li></ul>
<span style="font-size: 12pt;">FYI: In my tests, I've noticed that downloading an image using the swift client is twice as fast as downloading the same image using 'wget' from a CDN url.</span>
<div><span style="font-size: 12pt;"></span><br>
<div style="font-family: Calibri, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);">
<font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;">Thanks,</span></font><br>
<div><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size: 16px;">Murali</span></font></div>
</div>
<p><br>
</p>
</div>
</body>
</html>