Hi Nick,
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.
I think simple visible things could be updating pod replicas or logging levels of OpenStack components to start with.
For example Heat
You may add replica part to the site manifests (borrowed from type)
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)
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)
Kindly, Kaspars
From: Nick Chase [nchase@mirantis.com]
Sent: Thursday, October 03, 2019 10:35 PM
To: airship-discuss@lists.airshipit.org
Subject: [Airship-discuss] [airship-discuss] Error when changing simple parameters for AIAB?
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/
deploy/treasuremap/site/aiab/software/config/common-software-config.yaml
to change the region name:
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.
Is this expected?
To duplicate:
sudo -i
mkdir -p
/root/deploy
&& cd "$_"
git clone
https://opendev.org/airship/treasuremap/
cd
/root/deploy/treasuremap/tools/deployment/aiab/
Then
Edit :~/deploy/treasuremap/site/aiab/software/config/common-software-config.yaml
---
schema: pegleg/CommonSoftwareConfig/v1
metadata:
schema: metadata/Document/v1
name: common-software-config
layeringDefinition:
abstract: false
layer: site
storagePolicy: cleartext
data:
osh:
region_name:
ThisIsMyRegion
...
Then
./airship-in-a-bottle.sh
If someone can recommend a value that I could successfully change as a demonstration, I would really appreciate it.
Thanks!
---- Nick