<div class="iw_mail" dir="auto" style="font-size: 13px;"><div>Hello again!</div><div><br></div><div>One additional question here:</div><div><br></div><div>Regarding the status of MSSQL provisioning inside the Trove project, is this abandoned or is it going to be provided in the future?</div><div>Do You have any developers involved in development of this particular datastore type right now and how easy it would be to add</div><div>it to the Trove Victoria concept?</div><div><br></div><div>I guess most of the work should be done on modifying the Guest Agent to adapt to MSSQL, probably this part of the project:</div><div><br></div><div>https://github.com/openstack/trove/tree/master/trove/guestagent</div><div><br></div><div>If there is no ongoing development work towards integration of MSSQL into Trove right now, maybe we at City Network could</div><div>contribute with that particular work by allocating suitable developer resources? </div><div><br></div><div>Best Regards</div><div class="iw-signature"><p><img class="fr-draggable" style="width: 1.7708in; height: 0.3229in;" src="https://www.citynetwork.eu/wp-content/uploads/2015/06/CityNetwork-Logo-Regular-2015-RGB.png" width="170" height="31" id="webClient__x0000_i1025" border="0"></p><p><strong>Bekir Fajkovic</strong><br>Senior DBA<br>Mobile: +46 70 019 48 47<br><br><a rel="noreferrer noopener" href="http://www.citynetwork.eu/">www.citynetwork.eu</a> | <a rel="noreferrer noopener" href="http://www.citycloud.com/">www.citycloud.com</a><br><br>INNOVATION THROUGH OPEN IT INFRASTRUCTURE<br>ISO 9001, 14001, 27001, 27015 & 27018 CERTIFIED</p></div><div><br></div><div style="font-size: 13px;font-family:Roboto, Tahoma, Helvetica, sans-serif;line-height:normal;" dir="LTR" class="iw-reply-block"><div style="margin:0;font-family:Roboto, Tahoma, Helvetica, sans-serif;font-size:13px;font-weight:300;line-height:150%;letter-spacing:normal;color:#333333;"><div style="display:none;margin:0;font-family:Roboto, Tahoma, Helvetica, sans-serif;font-size:13px;font-weight:300;line-height:150%;letter-spacing:normal;color:#333333;">----- Original Message -----</div><hr style="width:100%;padding:0;margin:10px 0;color:#888888;background-color:#888888;border-color:#DDDDDD;" width="100%" size="1">From: Lingxian Kong (<a style="font-family: Helvetica, sans-serif; font-size: 12px; font-weight: 300; line-height: 150%; color: rgb(0, 136, 204); text-decoration: none;" href="mailto:anlin.kong@gmail.com">anlin.kong@gmail.com</a>)<br>Date: 01/26/21 10:51<br><span style="font-family:Roboto, Tahoma, Helvetica, sans-serif;font-size:12px;font-weight:300;line-height:150%;color:#333;text-decoration:none;font-weight:normal;">To: Bekir Fajkovic (<a style="font-family: Helvetica, sans-serif; font-size: 12px; font-weight: 300; line-height: 150%; color: rgb(0, 136, 204); text-decoration: none;" href="mailto:bekir.fajkovic@citynetwork.eu">bekir.fajkovic@citynetwork.eu</a>)<br>Cc: openstack-discuss (<a style="font-family: Helvetica, sans-serif; font-size: 12px; font-weight: 300; line-height: 150%; color: rgb(0, 136, 204); text-decoration: none;" href="mailto:openstack-discuss@lists.openstack.org">openstack-discuss@lists.openstack.org</a>)<br>Subject: <span style="font-family:Helvetica, sans-serif;font-size:12px;font-weight:300;line-height:150%;color:#333;text-decoration:none;font-weight:bold;">Re: Re[2]: Some questions regarding OpenStack Trove Victoria release</span></span></div><br><div><div dir="ltr"><div dir="ltr"><div style="font-family:verdana,sans-serif;" class="gmail_default"><span style="font-family:Arial,Helvetica,sans-serif;">On Tue, Jan 26, 2021 at 8:43 PM Bekir Fajkovic <<a href="mailto:bekir.fajkovic@citynetwork.eu">bekir.fajkovic@citynetwork.eu</a>> wrote:</span></div></div><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="gmail_quote"><div style="font-size:13px;" dir="auto"><div>Hi!</div><div><br></div><div>Thanks a lot for the kind answers and explanations, now the picture of the concept and the current development situation overall is much clearer to me.</div><div><br></div><div>Regarding the question about different types of Guest Agents acquired, depending on the database type, that i asked, it is mainly based on the information i read</div><div>about in the latest edition of the book "<strong><em>Openstack Trove Essentials</em></strong>" by Alok Shrivastwa and Sunil Sarat that i purchased recently.</div><div><br></div><div>For example, as mentioned in the book:</div><div><br><em><strong>- Let's also look at the different types of guest agents that are required depending
on the database engine that needs to be supported. The different guest agents<br> (for example, the MySQL and PostgreSQL guest agents) may even have different capabilities depending on what is supported on the particular database.</strong></em> (page 6)<br><strong><em>- The Guest Agent code is different for every datastore that needs to be supported and the Guest Agent for that particular datastore is installed on the corresponding image of the datastore version. </em></strong>(page 10)<br><strong><em>- As we have already seen in the previous chapters, the guest agent is different for different database engines, and hence the correct version of the guest agent needs to be installed on the system. </em></strong>(page 58)</div></div></blockquote><div><br></div><div style="font-family:verdana,sans-serif;" class="gmail_default">Some of those have been changed and not the case any more. After database containerization, there is no database related stuff installed in the guest image. However, it's correct that different datastores are implemented as different drivers, so you can say "The Guest Agent code is different".</div><div style="font-family:verdana,sans-serif;" class="gmail_default"><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="gmail_quote"><div style="font-size:13px;" dir="auto"><div title="Page 27"><br></div><div title="Page 31"><div><div>When it comes to guest image creation, i found now the places in the code that are used, as well as the acquired elements. A call to the function <strong>build_guest_image() </strong>is performed, involving those needed elements<br>as minimal requirements:</div><div><br></div><div>- <strong><em>ubuntu-minimal </em></strong>(which also invokes <em><strong>ubuntu-common</strong></em> i think)</div><div>- <strong><em>cloud-init-datasources</em></strong></div><div>- <strong><em>pip-and-virtualenv</em></strong></div><div>- <strong><em>pip-cache</em></strong></div><div>- <strong><em>guest-agent</em></strong></div><div>- <span>${guest_os}</span>-<strong><em>docker</em></strong></div><div>- <strong><em>root-passwd</em></strong></div><div><br></div><div>ref:</div><div><a href="https://github.com/openstack/trove/blob/master/integration/scripts/functions_qemu">https://github.com/openstack/trove/blob/master/integration/scripts/functions_qemu</a></div><div><br></div><div>So, when it comes to my question regarding the disabling of the automatic updates, it should be doable in a couple of ways. Either by executing a script placed in UserData during guest VM creation and initialisation</div><div>or by manipulating elements (for example, such as we have a script placed in <strong>ubuntu-common</strong> element that disables privacy extensions for IPv6 (RFC4941):<br><br>/usr/local/lib/python3.6/dist-packages/diskimage_builder/elements/ubuntu-common/install.d/80-disable-rfc3041</div></div></div></div></blockquote><div><br></div><div style="font-family:verdana,sans-serif;" class="gmail_default">You are right, but the recommended way is either those changes could be contributed back to the upstream if they are common feature requests and could benefit the others, or they are implemented in a separate element so there is little chance that conflict may happen when upgrading trove.</div><div style="font-family:verdana,sans-serif;" class="gmail_default"><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="gmail_quote"><div style="font-size:13px;" dir="auto"><div title="Page 31"><div><div><br></div>I am really looking forward to our soon deployment of the Trove project, i see huge potential there!</div></div></div></blockquote><div><br></div><div style="font-family:verdana,sans-serif;" class="gmail_default">Good luck and please let me know if you have any other questions.</div><div style="font-family:verdana,sans-serif;" class="gmail_default"><br></div><div class="gmail_default"><div style="font-family:verdana,sans-serif;"><span style="color:rgb(102,102,102);font-family:monospace,monospace;">---</span></div><div><div style="font-family:verdana,sans-serif;">Lingxian Kong</div><div>Senior Cloud Engineer (Catalyst Cloud)</div><div>Trove PTL (OpenStack) </div><div>OpenStack Cloud Provider Co-Lead (Kubernetes)</div><div style="font-family:verdana,sans-serif;"><a href="http://www.catalystcloud.nz"></a></div></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><br></blockquote></div></div></div></div></div>