<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hi Nick,</div>
<div><br>
</div>
<div>I think you may need to look into the AIAB scripts to see more if changing the region name may impact the changes in actual deployment scripts/assumptions of AIAB. It is definitely the right idea but then on the other hand AIAB are sort of demo/development
 case with various assumptions/simplifications to make it possible to do a single touch deployment in a single VM - without any user input.</div>
<div><br>
</div>
<div>I would suggest to poke around and initially try some config changes that may have lesser impact on the system as a whole. The particular variable,
<font face="Courier New">region_name</font> is definitely possible to change, for example see Seaworthy deployment
<a href="https://github.com/airshipit/treasuremap/blob/master/site/seaworthy/software/config/common-software-config.yaml#L15" target="_blank">
https://github.com/airshipit/treasuremap/blob/master/site/seaworthy/software/config/common-software-config.yaml#L15</a> .<br>
</div>
<div><br>
</div>
<div>I think simple visible things could be updating pod replicas or logging levels of OpenStack components to start with.</div>
<div><br>
</div>
<div>For example Heat</div>
<div><a href="https://github.com/airshipit/treasuremap/blob/master/site/aiab/software/charts/osh/openstack-compute-kit/nova.yaml" target="_blank">https://github.com/airshipit/treasuremap/blob/master/site/aiab/software/charts/osh/openstack-heat/heat.yaml</a></div>
<div>You may add replica part to the site manifests (borrowed from type) <br>
</div>
<div><a href="https://github.com/airshipit/treasuremap/blob/master/type/sloop/charts/osh/comps/heat.yaml#L18" target="_blank">https://github.com/airshipit/treasuremap/blob/master/type/sloop/charts/osh/comps/heat.yaml#L18</a></div>
<div><br>
</div>
<div>For all the available variables you can change for Heat or any component will be in values.yaml in openstack-helm project, including OpenStack image that can be changed and overridden for chart deployment (in case you have a custom build)<br>
</div>
<div><a href="https://opendev.org/openstack/openstack-helm/src/branch/master/heat/values.yaml#L42" target="_blank">https://opendev.org/openstack/openstack-helm/src/branch/master/heat/values.yaml#L42</a></div>
<div><br>
</div>
<div>There is also another way to update site deployments with config changes, without full re-deploy, that is when site is running (day 2 operations)<br>
</div>
<div><a href="https://airship-treasuremap.readthedocs.io/en/latest/config_update_guide.html" target="_blank">https://airship-treasuremap.readthedocs.io/en/latest/config_update_guide.html</a></div>
<div><br>
</div>
<div>Kindly, Kaspars</div>
<div><br>
</div>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF72231" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Nick Chase [nchase@mirantis.com]<br>
<b>Sent:</b> Thursday, October 03, 2019 10:35 PM<br>
<b>To:</b> airship-discuss@lists.airshipit.org<br>
<b>Subject:</b> [Airship-discuss] [airship-discuss] Error when changing simple parameters for AIAB?<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">So i was able to deploy Airship in a Bottle, albeit on a much larger machine (but that's a separate issue).  I wanted to demonstrate how the manifests control things, so I started up a fresh VM and edited /root/<span id="gmail-docs-internal-guid-c759a2c8-7fff-b858-08e8-d68aa6d3286e"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">deploy/treasuremap/site/aiab/software/config/common-software-config.yaml
 to change the region name:</span></span>
<div><br>
</div>
<div>I then went ahead and ran the script as usual, but it was unable to deploy/find Horizon.  To make sure that the change was the issue, I then went and created a THIRD fresh VM and ran it without the change, and it deployed successfully.</div>
<div><br>
</div>
<div>Is this expected?</div>
<div><br>
</div>
<div>To duplicate:</div>
<div><br>
</div>
<div><span id="gmail-docs-internal-guid-63c1d28c-7fff-21b7-786f-e8bdd4d8c787">
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">sudo -i</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">mkdir -p
</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(0,153,38); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">/root/</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">deploy
 && cd </span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(221,17,68); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">"$_"</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">git clone
</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(221,17,68); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">https:</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(153,153,136); background-color:rgb(247,247,247); font-style:italic; vertical-align:baseline; white-space:pre-wrap">//<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__opendev.org_airship_treasuremap_&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=L2WcX1Ge33cpIHXX6krAgw&m=i7XiFhmUk7_iab0NprdyhgeYbBuzyviytv6_co_GVYs&s=wE686gobeMCRbv5J_45OiKOp9F1UR9O0UiPofZlHnZY&e=" target="_blank" rel="noopener noreferrer">opendev.org/airship/treasuremap/</a></span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">cd
</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(0,153,38); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">/root/</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">deploy</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(0,153,38); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">/treasuremap/</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">tools</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(0,153,38); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">/deployment/</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">aiab/</span></p>
<div><span><br>
</span></div>
Then<br>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">Edit :~/deploy/treasuremap/site/aiab/software/config/common-software-config.yaml</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap"><br>
</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">---</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">schema: pegleg/CommonSoftwareConfig/v1</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">metadata:</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">  schema: metadata/Document/v1</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">  name: common-software-config</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">  layeringDefinition:</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">    abstract: false</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">    layer: site</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">  storagePolicy: cleartext</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">data:</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">  osh:</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">    region_name:
</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); font-weight:700; vertical-align:baseline; white-space:pre-wrap">ThisIsMyRegion</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">...</span></p>
<br>
Then<br>
<span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">./airship-</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); font-weight:700; vertical-align:baseline; white-space:pre-wrap">in</span><span style="font-size:10pt; font-family:Consolas,sans-serif; color:rgb(51,51,51); background-color:rgb(247,247,247); vertical-align:baseline; white-space:pre-wrap">-a-bottle.sh</span></span><br>
</div>
<div><br>
</div>
<div>If someone can recommend a value that I could successfully change as a demonstration, I would really appreciate it.</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>----  Nick</div>
</div>
</div>
</div>
</div>
</body>
</html>