Ironic uses SQLite as database. SQLite does not support ALTER which is used
in alembic migration.
Change-Id: I3495f7eae9a9e22175052005314e82ab280bfdf2
Closes: #235
* New name for gating site is 'test-site'
* Renamed 'test-bootstrap' type. New name is 'gating'.
* Moved BareMetalHost and its settings from ephemeral function to
shared directory within the site
Change-Id: I510e74c1a553bb2b1f84e66f8e4a7796640b59cc
PS [1] delivered a change to add apache running
sushy-emulator as wsgi backend. This allows us
to have a deployment that looks like a real BMC.
This PS switches gate test to use basic auth and
https on port (8443).
[1]:https://review.opendev.org/#/c/719320/
Relates-To: #136
Change-Id: I7d12bea92cb2c10954cdf1018898d352618c6694
This updates the Kustomize dependency for airshipctl to
api/v0.3.1, which is the oldest version which will support the
Replacement Transformer plugin.
Some changes were needed to accomodate the fact that various apis
that airshipctl was relying on were moved to kustomize-insternal
packages, namely:
- Integrated with the krusty.Kustomizer to drive kustomization
- Removed the custom plugin loader which leveraged the Unknown type
- Worked around NoFieldError becoming private, inc. removing a test
As a follow on we'll need to re-integrate plugin functionality somehow.
Also, in this release Kustomize has implemented support for the
"config.kubernetes.io/local-config" annotation, which we'd planned
to use to to avoid deploying some documents to the Kubernetes API.
It turns out the semantics are different than we anticipated;
Kustomize also fails to return these docs via document *selection*.
Therefore, this change reverts to an earlier approach which uses
a custom airshipit.org/deploy-k8s label.
Change-Id: I7022e12464ea7b6a3ca8609f99f3699bf8da0edd
There are personal authorized user keys in the ephemeral userData, but
cloud init already configures password auth. This change removes the
unnecessary keys.
Change-Id: I0054e0dd87dee2dbdbb74cbfe6084e586db4720b
Signed-off-by: Drew Walters <andrew.walters@att.com>
This PS makes the ironic deployment a bit simpler by removing
mariadb and using sqllite instead. It also fixes the path of the
ironic inspector db to get it to persist pod restarts.
Change-Id: I522774597ff921449e86e2742131e5a51d60d559
Signed-off-by: Pete Birley <pete@port.direct>
This PS simply removes some duplicate keys in the ironic deployment
template.
Change-Id: Ib51fd05bf8c0be3b03b9265c90f341ac04000d76
Signed-off-by: Pete Birley <pete@port.direct>
By default every document is to be deployed to kubernetes however
some documents may need to be skipped, because they serve only
informational purposes and have no consumers in kubernetes cluster
Change-Id: If2ea5659acb319c15cf3f55e9f3d9e86dc647e9f
Relates-To: #130
Closes: #130
This change removes the dependencies on arbitrary 1.16 SHAs in favor of
depending on a tagged 1.17 version of various kubernetes packages.
Change-Id: I5c99e431b1d1b27502aeb0ad13b4a84c25011420
Metal3 supports only network_data.json (converted to yaml) format.
Ephemeral node should also be configured using this format
Relates-To: #120
Change-Id: I46380a0fd708c0bc260d355545b27fd007885de6
Cluster API function documents are handled by its community and should be
used as an external dependency for Airship document model. This change
will bring CAPI manifests maintenance to Cluster API git repo tag
management inside of an appropriate functions
Change-Id: I31acb3de7f3ae339ab0b9a48a37df09eb694bdb7
Relates-To: #104
Relates-To: #121
Also this commit, adds condition to setup testbundle, that ignores
directories
Commit adds new set of functions that allow easy selection of
documents from bundle for different modules.
Relates-To: #61
Closes: #61
Change-Id: I6011203a1f573cbb847e9f57c04aa60bf8278ef1
Add NewBundleByPath function, that would return bundle built from
the specified path argument
Add CurrentContextEntryPoint method of the config
object, that would allow easily get kustomize root path based on
clusterType and phase. You can also leave phase arg empty string,
which would try to return bundle for all phases
Introduce changes to config pakage objects:
- Manifest:
SubPath: this is relative path to the root of the repository that
contains directories with sites (SiteNames)
PrimaryRepositoryName: this is a string that must correspond to a key
of the Repositories map of manifest object, which is used to derive
primary repository
Repositories object is a map, map keys correspond to names of the
directories where `document pull` command will download repositories
defined in manifest prepended by manifest.TargetPath.
Introduce new config method CurrentContextEntryPoint(), method takes
TargetPath, PrimaryRepo.URL, SubPath, and clusterType and phase
constructs a path to the entry point out of which the DocumentBundle
should be build, and returns it to the caller. After that caller can
build a bundle out of it, the bundle will contain documents relevant to
particular cluster-type and phase.
All objects that depend on bundle interface are updated to use the
CurrentContextEntryPoint() method of the config object
Relates-To: #99
Closes: #99
Change-Id: I99320c4cb626841d46f4c298b583e9af90b1dce4
Since value of imagePullPolicy key is a one word string it can be easily
overridden by strategicMerge
Change-Id: I3d78765ce3fb277bc7825639746b734f655efcf0
Command will deploy initial inftrastructure that is identified by
airshipctl document module, bundle interface, documents will be fitered
based on label and annotation, which will indicate that it belongs to
initial infrastructure.
After the documents are identified, they will be labeled
indicating that these resources are deployed by initinfra, if flag
`prune` is specified, resources that have initinfra annotation and
deployedBy initinfra label, but are not part of the documents supplied
by bundle interface will be deleted. If user wants to avoid pruning of
some resources he can remove label deployBy manually from the kubernetes
resources that should not prunned.
Change-Id: I143835291d449be420bfcb2944ba7eaec37c3411