aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-minimal-onap
AgeCommit message (Collapse)AuthorFilesLines
2020-02-21Fix YAML files linter errors for duplicated keysBartek Grzybowski1-1/+0
Change-Id: I77bcf667d4a639b001258d026f2633fce2bfb0e6 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-05Use ONAP core deployment type override in minimal Vagrant environmentPawel Wieczorek2-18/+22
Core deployment type is a subset of previously used minimal override to make ONAP deployment even lighter on resources. It has been merged in OOM as: d7c495eeeaa3c24d355b9214bc7d0e59be9dd70e (Change-Id: Ibaec41f088f11f7fb4e7c476f742d12d29c5740b). This patch also updates documentation on resources required by this setup and adds example usage of Operator's tools. Issue-ID: ONAPARC-551 Change-Id: Ifdb1d158311ba3ed0b5cf407d07ce028d1a0162f Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Add minimal Vagrant environment actual quickstart documentationPawel Wieczorek1-0/+24
Issue-ID: ONAPARC-551 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com> Change-Id: I0e308d4486dfaa51e54bf69f79b85243766c397a
2020-01-29Make cluster removal fail softlyPawel Wieczorek1-1/+1
VM destruction ("vagrant destroy") failed in case RKE cluster had not been set up properly. Initial intention for this trigger was to leave Control and Worker VMs provisioned even if Operator VM is destroyed. Issue-ID: ONAPARC-551 Change-Id: I2b47c539e2517a7c72675924731a0186d1ae25c0 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Increase minimal Worker storage sizePawel Wieczorek1-5/+45
At least 40GiB disk is required for Worker VM to store all necessary Docker images, otherwise it runs out of storage. VM resize can be done only during its creation (see "machine_virtual_size" [1]). VM data hashes no longer fitted in single lines nicely, hence they were broken into several lines. [1] https://github.com/vagrant-libvirt/vagrant-libvirt#domain-specific-options Issue-ID: ONAPARC-551 Change-Id: Ib267fd8097b51f53565e0c8f3be7c86c2b3c68ad Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Modify minimal Vagrant environment resourcesPawel Wieczorek2-7/+7
Previously allocated resources were underestimated. Devstack resources will remain lowered until core ONAP instance is stabilized. Issue-ID: ONAPARC-551 Change-Id: Id4eb6b2318b71b162f6a1ed6208482ebeb31fe5a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Increase inline provisioners configurabilityPawel Wieczorek1-5/+10
Scripts "get_oom" and "deploy_onap" are more useful if an additional parameter is accepted: external repository and deployment override, respectively. These parameteres will make testing easier and allow improving this setup quicker. Previous behaviour stays as it was using default argument values. Changes in their invocations were meant to make ad-hoc modifications more explicit. SSH configuration from host machine is synchronized in case additional access rights are necessary. Issue-ID: ONAPARC-551 Change-Id: I585586f721457388ab30b089f2c25c4ad88ad4d3 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Ignore reverse-SSHFS mountpoint from file synchronizationPawel Wieczorek1-1/+1
This patch intends to avoid attempts to synchronize files to the VM that have been mounted from it. Issue-ID: ONAPARC-551 Change-Id: Ida9b13c5f109d3a05dd35e68f17e7898f23750c5 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-29Add reverse-SSHFS-based file synchronization documentationPawel Wieczorek1-0/+8
Issue-ID: ONAPARC-551 Change-Id: Ic22d32998ad0fc29867116827679e4c4181ba596 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-16Add reverse-SSHFS-based file synchronization from Operator's machinePawel Wieczorek2-0/+6
This patch also introduces (almost) empty directory to the repository as a mountpoint for the synchronized files. Additional flag ("nonempty") is passed upon mounting directory to ignore the sole file there ("operator/.gitignore"). Issue-ID: ONAPARC-551 Change-Id: I9187325a08cccb98b7335fcb320c2004ed26e7f3 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-15Add minimal Vagrant environment development documentationPawel Wieczorek1-0/+20
Issue-ID: ONAPARC-551 Change-Id: I1a6f6b998df755734a9c32fbe86473a72a45aae0 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-13Add minimal Vagrant environment usage documentationPawel Wieczorek1-1/+14
This patch also clarifies which virtual machines are created within this Vagrant environment. Issue-ID: ONAPARC-551 Change-Id: I2ece1bbf77b147c74f745ddfb26bf80143ac95ab Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-01-10Ensure Helm directory presence prior its first usePawel Wieczorek1-1/+1
It is required for plugins that are installed by copying sources to the Helm directory. Issue-ID: INT-1405 Change-Id: I4ed2708f4af1d745b7e1ffc687ae9674682c374d Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Add minimal Vagrant environment quickstart documentationPawel Wieczorek1-0/+61
Issue-ID: ONAPARC-537 Change-Id: I86f5db6331980bf7d7ea4074d6e0bbcc84843d3c Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Deploy minimal ONAPPawel Wieczorek2-1/+31
This patch prepares operator's environment for ONAP deployment (by exporting environmental variables for use in helm override file). It also fixes post-setup message regarding additional provisioning steps. Issue-ID: ONAPARC-537 Change-Id: I18815578ddc46a2d5ef31d6cf44b42f9a5d3950d Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Prepare cluster for helm-based deploymentsPawel Wieczorek1-0/+27
This patch adds missing client tools ("make" for helm charts generation on operator's machine) as well as the server side: local helm repo and K8s service account. Issue-ID: ONAPARC-537 Change-Id: I34bd5c9422dd1a5be0a1f235be3ee9598cc988c0 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Increase resources for K8s worker nodePawel Wieczorek1-14/+14
This patch also changes how resources are assigned to local infrastructure nodes due to increasing number of specific cases. Issue-ID: ONAPARC-537 Change-Id: I914b40508ab388b99d5f124ab1369b152a8ca765 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Add helm provisioners (downloading and setting up with OOM plugins)Pawel Wieczorek2-0/+58
Issue-ID: ONAPARC-537 Change-Id: I3b3d731ae016c78b3e00841157c69aded14635e2 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Add Devstack machine and its provisioningPawel Wieczorek2-5/+34
Issue-ID: ONAPARC-537 Change-Id: If725843c3e5ee47724a98d70611cbde464b9debc Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Adjust provisioning tools pathsPawel Wieczorek1-10/+10
Issue-ID: ONAPARC-537 Change-Id: I6aeab5db440d35187db84bf6d2525fd61a8737c4 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-18Import Vagrant environment from test/security/k8sPawel Wieczorek11-0/+437
Infrastructure mockup has been previously set up for CIS guidelines checking. Empty Kubernetes cluster was sufficient for that purpose. It will be adjusted to satisfy minimal ONAP requirements and should eventually supersede previous testing environment. Issue-ID: ONAPARC-537 Change-Id: Iada29d86642b8a5513e9d1bbd895db2094ad12b9 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2019-12-16Describe purpose of minimal Vagrant environmentPawel Wieczorek1-0/+23
Issue-ID: ONAPARC-537 Change-Id: I75e843794fa43af51e1a2674abede1394a384d15 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>