Commit Graph

30 Commits

Author SHA1 Message Date
Alexander Noskov 8e9da29988 Move deployment scripts to treasuremap
Change-Id: Ie516b6f9f608198e904fa33227c12c55181a3561
2020-02-13 16:07:43 +00:00
Sirajudeen b96b0f0bd5 [pegleg] - set passphrase and salt to pegleg
Setting PEGLEG_PASSPHRASE and PEGLEG_SALT to pegleg container
to use it for encryption/decryption.

Change-Id: I2c5c01fb0ef7366dbc35d4f8730ac1aa9ca63db1
2020-01-27 17:37:50 +00:00
Sreejith Punnapuzha 87113219ed Switch set -x to set -e to disable output
This ps changes set -x to set -e in config.sh so that all the
commands will not throw in output

Change-Id: I08d2e56ea300509a3f579c888bfe6f1bd69deefd
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
2019-12-05 15:17:17 -06:00
Alexander Noskov d7d345fd24 Add missing "${GATE_MANIFEST}" for jq in config.sh
Change-Id: Ie37876b51dffa6cb9c49071726858fb0c1b40b0a
2019-10-23 17:51:24 -05:00
Scott Hussey 7ef2e8b988 (multinode) Make workspace persist reboot
- Move the default temp location to /var/tmp so that gate
  workspace directories persist across reboots

Change-Id: Ic11d163c3aba36a08f42bd1739003446aed3a0ce
2019-10-17 17:53:18 -05:00
Nishant Kumar 2b67ffaefb (gating) Add shellcheck linter for multinode
- Add a shellcheck linter for the scripts in the multinode
  framework

- Update all scripting to comply with shellcheck

- Move linting job to Ubuntu Bionic as the multinode gate now
  requires Bionic versions of libvirt

Change-Id: Ibee645331421e1e6cecd4e3daa8e9c321dce5523
2019-10-14 15:26:15 +00:00
Scott Hussey d950efcf23 (multinode) Network configuration by JSON
- Support configuration of the network and VM
  interface configuration via JSON.

Change-Id: I994e00f493145ed0ada6d4ba4e5735fd5753c127
2019-10-11 20:50:48 +00:00
Zuul a7e6a8937a Merge "(multinode) Make disk configuration configurable" 2019-10-11 20:19:18 +00:00
Egorov, Stanislav 7f23d87584 Uplift default hyperkube version
Change-Id: I4960f22dca0f575e7708a0e59dc6d33e17c2104a
2019-10-04 10:29:49 -07:00
Scott Hussey b85c7e1621 (multinode) Make disk configuration configurable
- This makes the disk configuration for VMs configurable
  to support various configurations.

Change-Id: I94c5ce369f16bd142c9653e88d412299c8327a31
2019-09-30 10:07:02 -05:00
Scott Hussey e77526c478 (multinode) Besteffort to disable brnetfilter
- Create the besteffort utility function to run a command
  outside of set -e

- Use besteffort to disable brnetfilter so the gate survives
  when the kernel module isn't loaded.

Change-Id: Ic79aff8cce357d02715a305664ca700e54822627
2019-07-12 07:00:23 -05:00
Egorov, Stanislav (se6518) 22cbd89a6d Extract hyperkube before promenade
Prepare hyperkube binary before running promenade container.
This is to simplify procedure when using hyperkube image.

Change-Id: I04dfdef1247e7d1701e673e53132e6a9208d3c64
2019-06-27 15:32:02 +00:00
Egorov, Stanislav (se6518) 95d6266046 Support for new hyperkube source in promenade
New source is Docker image that can be used to exctract hyperkube binary.
It can be done by running Docker container inside Promenade container
and copy binary to mounted volume.

Change-Id: Ie79ff4b349e6321e7a335359b2c461dac783b431
2019-06-03 20:57:03 +00:00
Sirajudeen 1a5706b8fa Multinode support for promenade encryption
Change-Id: Ie0a458008870cdfc8f6606c4d91c4f0cd7f36681
2019-04-17 15:50:09 +00:00
Hemanth Nakkina 94e8f75930 Add seccomp profile on genesis node in multinode gate
The bootactions which will be deployed via Drydock on nodes need
to be performed on Genesis node as well. This should be done as
part of pre-genesis setup before genesis.sh is executed. This
commit deals with adding seccomp profile to genesis node as part
of pre-genesis setup.

Change-Id: I5ec6a66266181f0dc96161b9a7d9635db6df715a
2019-04-04 07:55:08 +05:30
Dimitrios Markou 5b435d6526 Add bgp peering in virtual airship
Simulate a bgp router by using quagga and make
calico bird to peer with it.

Change-Id: I6c8770ba48e24d2994cfe615905602ba4b92c207
Signed-off-by: Dimitrios Markou <dimitrios.markou@att.com>
2019-03-25 20:12:48 +00:00
Zuul 730d1f3f6e Merge "Cert/key related improvements to gate-multinode" 2019-03-18 18:19:51 +00:00
SKELS, KASPARS (ks3019) 2eb94c51ab Cert/key related improvements to gate-multinode
* Adds new config option GATE_SSH_KEYS to enable user provided SSH key-pair.
  This applies to both virtmgr and access to virtual nodes

* Adds new config option USE_EXISTING_SECRETS to use already existing
  manifests for certificates and SSH key files

Change-Id: Ic77c7f5cc526dacc137dfe5b97b8fa32e728324e
2019-03-12 21:39:23 +00:00
Scott Hussey da681cac78 Cache registry image source config
- Allow the source for the cache registry image be tunable
  by env params.

Change-Id: I9cd973317071f24bf820a79fa3b1ac87ea301e19
2019-03-12 21:22:51 +00:00
Sirajudeen 9e74248aee [pegleg] - Used the latest pegleg verion.
Updated the cli format to match the latest version of pegleg
OLD Pegleg CLI format:
    pegleg -v site -p /workspace/primary_repo -a /workspace/auxillary_repo1 -a /workspace/auxillary_repo2  collect -s /collect site_data

NEW Pegleg CLI format:
    pegleg -v site -r /workspace/primary_repo collect -s /collect site_data

Change-Id: I23cff261c206c29b3b02869f38fee5273dc53503
2019-03-12 11:48:48 -07:00
Kaspars Skels abf676210b Add support for NTP in gate-multinode
This allows configuring NTP pools/servers for nodes
bootstrap-ed by gate-multinode.

Change-Id: I0f29f16d3d7d2a44e0e01732b74032068b03e1a3
2019-02-18 13:24:43 -06:00
Kaspars Skels e6586077b9 Run shipyard from build VM (instead of Genesis)
Change-Id: I63126cbeaf95050f82bae2d1c6e8a7b3e49ed5b8
2019-02-15 16:28:54 +00:00
Kaspars Skels 5613857ade Fix rabbitmq and pin CLIs to match versions.yaml
Change-Id: I53e5bdbf5db0ae950912847367c1f3e7520ee8e8
2019-02-04 16:07:03 -06:00
Kaspars Skels 44551fe7cf Enable verbose output for shipyard load stage
Change-Id: Ieebf68903e9d22848ea457b7d080de8337905868
2019-01-30 00:41:47 -06:00
Scott Hussey 0517272333 Make the gate more configurable
Updates to make the gate more configurable

Change-Id: I9080267a869cae757b67a9603f99fbdacc78b9e3
2018-12-11 17:30:33 -06:00
Scott Hussey b857672967 Support maas mobility
- The MAAS and Drydock charts are moving to use ingress
  rather than node ports. Update versions and chart overrides
  to support this.

Change-Id: I9a630f1edad9129719748b848a693e012baf9b37
2018-09-25 15:56:07 +00:00
Scott Hussey a3a17920f7 Add wrapper utilities for post-genesis
- Add some scripts to use Airship CLIs in the environment after
      genesis.

Change-Id: I0f1e537eb5e83bd0773206b61edc0b740bb2e080
2018-09-24 18:31:34 +00:00
Scott Hussey c2191420df Pin to Pegleg
Until the site definitions in AIAB support the new
git format, pin to a working image for Pegleg.

Change-Id: Ic79cc9070ba8ea7cc5baeed92fe77821819d1617
2018-09-13 20:16:04 -05:00
Scott Hussey b987b2b52f Emulate external DNS for ingress
Ingress requires external DNS or host header
forging. For a better gate test, run a external
DNS resolver for Ingress entries.

Change-Id: I6558230b7fa9f3145c472eb437177d90b7b52835
2018-09-06 21:48:39 +00:00
Scott Hussey 4624804f80 Definition for virtual site deployment
- Create a site definition to support a full site deployment
  workflow using VMs

Multi-Nodes Gate

Enable multi-node gate for Airship using core Airship
components.

Deployment will be driven by Shipyard.

We will re-use and adapt the source codes from the Promenade
g2 Gate [1].

[1] https://github.com/openstack/airship-promenade/tree/master/tools/g2

Change-Id: I41e79f5f26311fa179a2e5c121aa815caa05cfcd
2018-07-30 14:12:54 +00:00