aboutsummaryrefslogtreecommitdiffstats
path: root/deployment
AgeCommit message (Collapse)AuthorFilesLines
2020-11-02Update rke config for windriver deploymentmrichomme1-1/+4
Issue-ID: INT-1763 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: Idde89623869a98ba625a1ee7ffd09596fbb9b62d
2020-10-02optimize size and time using "--no-cache-dir"Pratik Raj1-1/+1
Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages by pip don't cached on system . This is a best practise which make sure to fetch ftom repo instead of using local cached one . Further , in case of Docker Containers , by restricing caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: INT-1616 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: Id3e28faf35f36258362323b4a96bcf0f3f95726b Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-09-23Set up and tear down test environment properlyPawel Wieczorek8-16/+44
Two issues were detected during testing deployment locally: - incomplete provisioning if set up from scratch [1], - leaving DevStack in unknown state if test failed. [1] https://www.vagrantup.com/docs/cli/up#provision-with-x-y-z Issue-ID: INT-1601 Change-Id: Ie553ba71a2b56789736ab822f1f1a2e4043f4935 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-31update policy staging imagesjhh2-16/+10
Issue-ID: POLICY-2794 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id9ee90bf303f77c1e6db91ae2ce6a7166934c64d
2020-08-24update policy staging imagesjhh1-11/+7
Issue-ID: POLICY-2794 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2d4cffc3350a28ed17ec3aedafd78691c1e11808
2020-08-10Drop using symlinks for documentation markup renderingPawel Wieczorek8-135/+131
Keeping only symlinks as the markup indicator does not trigger CI on relevant patches changing documentation contents (there's no change in symlink). This can be resolved by dropping symlinks usage entirely. Sphinx and RTD aren't going anywhere anytime soon. To make sure all symlinks were replaced following one-liner was used: $ find . -type l -name "*.rst" -exec readlink -e {} \; \ | xargs -I% git mv -f %{,.rst} which finds all the symlinks in the repo with "*.rst" suffix, then reads which file they link to and finally replaces given symlink with that file. This solution was suggested by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1672 Change-Id: I120e216b0b48032bb7b80c23cad799cd6f7cca53 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-10Replace deprecated "with_items" with loopsPawel Wieczorek7-9/+7
As of Ansible 2.5+, the recommended way to perform loops is to use the new "loop" keyword instead of "with_*" style loops [1]. This issue was reported by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> [1] https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html Issue-ID: INT-1601 Change-Id: Icf9079fc5c22ac034631397ea46d2b03fb4298ab Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-07Add versions of tools used during verificationPawel Wieczorek3-6/+6
Issue-ID: INT-1601 Change-Id: I3ff59402627e679a6a5dcdb5a64f2d04d1df09cf Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-08-06Manual revert of kubernetes version in rke scriptsmrichomme1-1/+1
- 1.15.11 not supported - 1.15.3 is OK on Nokia lab - OOM reco is 1.15.x up to frankfurt Impossible to revert through gerrit Do it manually Issue-ID: INT-1677 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I67f8f65aab4d77f8c341b10c195c86a2f8be8901
2020-08-05Update Kubernetes rke versionmrichomme1-1/+1
it remained in 1.15.3 on windriver lab It shall be 1.15.11 Issue-ID: INT-1677 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I889cb52ec4d41929b56ae8416584d73430a5bd59 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-07-30Use external volumes for OpenStack virtual machinesPawel Wieczorek3-0/+10
This allows easier storage quota changes (without the need to modify flavors). Issue-ID: INT-1601 Change-Id: I0fe7557ff6f23eb0e29314ee0d4819893583a294 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add hosts configuration for Service Mesh ONAPPawel Wieczorek2-0/+54
Added configuration resembles set of instances already in use for Service Mesh Proof-of-Concept purposes. Floating IPs were disabled on Worker and NFS nodes to limit resource usage. Issue-ID: INT-1601 Change-Id: Ie575c37344da21e71a8e0803e2e5bd2db18d9290 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Make Vagrant-based environment safe defaultsPawel Wieczorek2-19/+20
Having a symlink instead of actual file allows having less changes between upstream repository and on-premise deployment. This patch does not affect development environment in any way. Issue-ID: INT-1601 Change-Id: I489c7ce7084d48ba03962e44d64f56c316bcc56a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add separate NICs to access OpenStack virtual machinesPawel Wieczorek2-0/+4
Dedicated network interface is recommended for accessing OpenStack guest instances [1]. With current Vagrant-based environment "eth2" interface is expected to be assigned as additional NIC (with "eth0" for Vagrant host network and "eth1" for Ansible management network). [1] https://docs.openstack.org/devstack/latest/networking.html Issue-ID: INT-1601 Change-Id: I3798f94db476eef77d02e6f8f7e078fc4b4e7622 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Ansible roles for OpenStack security groupsPawel Wieczorek14-0/+85
Additional OpenStack security group and its rules are required to allow traffic to virtual machines created on DevStack. Virtual machines will be accessible from 172.24.4.0/24 network (default public IP pool). Issue-ID: INT-1601 Change-Id: I902f64f542197e329e21790f98662d2e408d4bb6 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Ansible roles for OpenStack hostsPawel Wieczorek21-1/+156
Key pair is generated upon host creation and removed after the host is destroyed. This patch is based on previous work by: Krzysztof Opasiak <k.opasiak@samsung.com> Issue-ID: INT-1601 Change-Id: I9acd0b68a3ee79a0d710c40e0a1cc8470dfacce5 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Ansible roles for OpenStack networkPawel Wieczorek19-1/+171
This patch also adds Vagrant provisioners for creating and destroying OpenStack infrastructure. These are set to never run (unless explicitly called by the operator) because DevStack instance on a separate machine might not be ready to provide OpenStack API. This patch is based on previous work by: Krzysztof Opasiak <k.opasiak@samsung.com> Test harness is based on blog post [1] by: Chris Morgan <me@chrismorgan.info> [1] https://chrismorgan.info/blog/make-and-git-diff-test-harness Issue-ID: INT-1601 Change-Id: I031ca7a5a43cca0258dc0dc9e0339182c431898a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Add Vagrant-based development environmentPawel Wieczorek5-0/+154
Development guide ("HACKING") is subject to change based on gathered feedback. Issue-ID: INT-1601 Change-Id: I8988c8a6e85d215485666690e0c281412a1ce869 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-30Introduce ONAP CI Lab infrastructure setup guidePawel Wieczorek3-0/+48
This patch adds requirements to the parent README file. This will be changed to ".. include" directive once these READMEs are ready to be added to the Integration documentation. Issue-ID: INT-1601 Change-Id: I5bc2aba03689ea2547e713491a62947a54558095 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-07-29Introduce ONAP CI Lab setup guidePawel Wieczorek3-0/+26
This patch adds information on expected results from following the guide. It will be used for Service Mesh lab purposes. Issue-ID: INT-1601 Change-Id: I26decb9d785270b3c580bd0ce3cc97262c9a171a Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2020-06-08Update helm and kubectl versionsBrian Freeman1-2/+2
Issue-ID: OOM-2331 Change-Id: Ie97218cd7df55c6819f1bb01db52a140870f641a Signed-off-by: Brian Freeman <bf1936@att.com>
2020-05-22add uuid image overridejhh1-0/+5
Issue-ID: INT-1599 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6b5f14c6abf594d7947d08939476358cf16f35e8
2020-05-07Add policy and sdc staging images overridesjhh2-0/+32
Issue-ID: INT-1585 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia2682bc293ea403b56d3f4d27d6a1c219e6e90eb
2020-04-23[INT] updating aks install w/ master passstark, steven9-14/+28
- Also updating openstack cli to py3 to fix import issues Issue-ID: INT-1557 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I99cbc68614e0fcc8fd0572fd7c44c7cd431b215b
2020-04-14Fix integration markdown errors for lintermrichomme3-52/+29
Issue-ID: INT-1523 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I2be0865395b12e1f277834b0c096f5d183cb5056 Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-04-02Update SO and VID docker versionMarco Platania1-11/+11
Issue-ID: INT-1462 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: I49d3fc837e58c9e2f8b879c04c84317e8bd320ba
2020-04-01Update SDC and Portal docker image versionMarco Platania1-12/+12
Issue-ID: INT-1462 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Ib50de36def25dd4b4330c8a5bcccf453b767efe8
2020-03-27Set SKIP_LINT=TRUE to speed up installationMarco Platania1-1/+1
Issue-ID: OOM-2335 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: I803781947a9fe84e153cdbd6f94d9f21b8bcdb6f
2020-03-25corrected the hardcoded DB pod-namesandreasgeissler1-3/+3
Issue-ID: INT-1484 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: I7f1670a79db751087f722a1196e2de23448f7a2a
2020-03-24misnaming of pap componentjhh1-1/+1
Issue-ID: POLICY-2296 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3addd7de51fa2ca4b1e76e95a9f0e91d1e1ca3e9 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-03-13Update image versions in integration overrideMarco Platania1-18/+17
Issue-ID: INT-1462 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Ib14e88d854bc36c7ca16997a1f26d232bcd97ce4
2020-03-02Fix JSON files linter issues in deploymentBartek Grzybowski2-40/+59
This is needed prior to adding job for JSON files linting in CI. Change-Id: I122783267f75b385f9f2ceee6381eb7331aadaf5 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-28Update integration-overrideMarco Platania1-2/+6
Issue-ID: INT-1462 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Ia9774f37b8b5288d4cdf59cd5457c6f1ad318f6c
2020-02-25Update docker image versions in override fileMarco Platania1-26/+31
Issue-ID: INT-1414 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: I1132f9d4938338868eac75f8a092de9e560950ae
2020-02-21Fix YAML linter indentation errors in yaml filesBartek Grzybowski3-126/+126
Change-Id: I5548de0d7afb0e249ab8b6dbc93c102a2a2ac648 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-21Fix YAML files linter errors for superfluous spaces/new linesBartek Grzybowski3-4/+1
Change-Id: Id2b6b0966e07104b32c98053de04bd359dfef803 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-21Fix YAML files linter errors for trailing-spaces ruleBartek Grzybowski1-1/+1
Fixed files that had trailing spaces. Change-Id: I40782bc3a934846372653a0086f1c1fe50bc02c3 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: INT-1451
2020-02-14[INT-1437] : Incorrect characters causing issuesDarraghEgan1-84/+85
The policy section in the file ~/integration/deployment/heat/onap-rke/staging-image-override.yaml has the wrong space characters/tabs that is causing some issues for parsing the yaml file. Issue-ID: INT-1437 Signed-off-by: DarraghEgan <darragh.egan@est.tech> Change-Id: I5cc683e12e4bca29f8740ad6b43b2ee8a8414fa1
2020-02-11Fix invalid dash character for verbose flagBin Yang1-2/+2
Change-Id: I0c816265c88e28a2f32e5c53afae51c18aa14b10 Issue-ID: INT-1217 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-02-07[VVP] parameterizing devstack branch for installstark, steven6-18/+18
- Also modifying default storage class override logic Issue-ID: INT-1424 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: If8981f3a59437e21617edb30a6bca06ee6fa36a2
2020-01-29Update APPC image tagMarco Platania1-2/+2
Issue-ID: INT-1414 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Id532a57a1be0207cca90a9c2b3c111f191f0062e
2020-01-23[INT] updating devstack install to use py3stark, steven1-1/+4
- also fixing nova.conf post-config section Issue-ID: INT-1419 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I9d4cfdf3d386a693e27c869a1326a80572a12323
2020-01-16Update docker images in integration overrideMarco Platania1-21/+21
Issue-ID: INT-1414 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: Iabc25330dd803bedcaa8c321b5ff45619782884e
2019-12-11add k8s ip variableBrian Freeman1-0/+1
Issue-ID: PORTAL-782 Change-Id: If5418a0445a322c5c6b88237bdfab38826f3c988 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-12-11Add AAI section to image override fileMarco Platania1-0/+19
Issue-ID: INT-1217 Signed-off-by: Marco Platania <platania@research.att.com> Change-Id: I4c4ba5bdc24b4e2594bdc2b3d1d272c1c3a6c3bb
2019-12-11update staging overrideBrian Freeman1-1/+1
Issue-ID: INT-1217 Change-Id: I3c740af530e990dc1e74746c7ecc33f1101e7b1c Signed-off-by: Brian Freeman <bf1936@att.com>
2019-12-09[INT] various updates to AKS deployment scriptsstark, steven21-36/+247
- Adding support for pluggable post-install scripts. See README. - Adding pre_install check to validate the correct software is installed before attempting deployment. - Updating AKS deploy command line to support azure cli 2.0.75. Issue-ID: INT-1398 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I1ff819e96a3f34c88580e90e8d6f2b79979a7a61
2019-12-04Fix cds image refBrian Freeman1-2/+2
Issue-ID: INT-1217 Change-Id: I3a12608189a0489ecd19585fca157f03db13d4fa Signed-off-by: Brian Freeman <bf1936@att.com>
2019-11-18Added missing parameters for cleanup.sh callandreasgeissler1-2/+2
Fixed trailing space Issue-ID: INT-1368 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: I72e6fc1133a16cb2cd33e44666f11f9919620bbe
2019-11-14Fix verbose flagBrian Freeman1-2/+2
Issue-ID: INT-1217 Change-Id: I231786a0f58475920e339d201824859d9932e037 Signed-off-by: Brian Freeman <bf1936@att.com>