summaryrefslogtreecommitdiffstats
path: root/docs/submodules/oom
AgeCommit message (Collapse)AuthorFilesLines
2019-06-12Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to f78d3e59c6e317935eb15a2a22e3dfe118ad3213 - Merge "Fixing mso-simulator patching" - Fixing mso-simulator patching Original patch did not work as /etc/hosts file is administrated by kubernetes. That msosimulator.sh is also sourced into configMap and wrongly transferred back to shell script. This patch is providing smarter way for patching /etc/hosts file which is still needed. Change-Id: I52595f7bd5231893621e08a2fd355bdb57057222 Issue-ID: OOM-1869 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-12Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 66965fca9def6007465aacc2fed220690229c9c5 - Set version for MarkupSafe to 0.23 As MarkupSafe>=1.0 is not found in Nexus, fixing version to 0.23 which is the last version possible to use with Jinja 2.10.1 Jinja 2.10.1 is required by flask 1.0.3 installed in mso-simulator container in oof-oof-cmso-service Relates to OOM-1869 Issue-ID: OOM-1920 Change-Id: I02d5fb01db12aa2a3a55df4be65817e22b589c32 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-07Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 3cd75cd8d71f471a0217f525bb8e4ed5315266a8 - Merge "Replace 'with_items' loop statements with 'loop' keyword" - Replace 'with_items' loop statements with 'loop' keyword As of Ansible 2.5 'loop' keyword is a recommended way for looping statements instead of 'with_dict'. Change-Id: I19e00cc27e13955e2056840fd4ce99841bc824ad Issue-ID: OOM-1887 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-07Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to e910a0b67efcf06bcba81bc9acaa3052e7e399f4 - Merge "Add cleanup stage to 'nginx' role test" - Add cleanup stage to 'nginx' role test Change-Id: Idddc421d33698c08b19cc63f4e203d0964341462 Issue-ID: OOM-1913 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-07Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 3ef63f580a6fcf697c4f28ca55f27239f564dc53 - Merge "Add role level tests for 'nginx' role" - Add role level tests for 'nginx' role Introduce full role level test coverage for 'nginx' role. Change-Id: I7c634775433a2336e43cdfc73d4698d5e2933f0e Issue-ID: OOM-1913 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-06-07Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 07c27d8fda62647e3a37297d8000394c3435cc5c - Merge "Use the original playbook in play-resources tests" - Use the original playbook in play-resources tests This commit includes the original resources.yml playbook by using import_playbook. Some modifications were needed mostly because of the way import_playbook works. Also moved the setup role call to prepare. Change-Id: I8745d5e43fd2050d47970c7d19bbbc4db8a5847f Issue-ID: OOM-1912 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-06Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 317508947b99dc766cf806febfb3dcfcd3cfd5f4 - Merge "Fix docker search" - Fix docker search Change-Id: I4dec01c0a2369b22c50cc9198f2355cbd5f87f82 Issue-ID: OOM-1905 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-06-05Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to bd95633cb7a2e4f8c66b60a5a88fecee6026c01c - Fixing dns not working for other containers issue If host networking is not used for dns container, dns wont work for other infra containers. This is unintentionally removed in https://gerrit.onap.org/r/#/c/oom/offline-installer/+/87422/ Change-Id: I07ce6874e7baedadbdbbcf0913f1d683e19f93cd Issue-ID: OOM-1866 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-05Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to da4b64ee9c8b13f5a634d79318e3027f78abc5b1 - Merge changes I6421b55d,Icdb55918 * changes: Wrapping-up download refactorisation Adding rpm data list - Wrapping-up download refactorisation This commit is making required adaptations mainly in BuildGuide and removing deprecated old version of download scripts. Change-Id: I6421b55d116831dc3b47c7630e91d361d56414c8 Issue-ID: OOM-1803 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com> - Adding rpm data list This list contains full record of all needed rpms. We decided to enlist full list including versions to have full control over what will be installed and what was verified. Goal is to avoid issues about different dependencies coming later. It is expected that major change will cause download to fail which will work as early detection of problems. Change-Id: Icdb55918dc20660c2c835d0e759b3eb5bad1f2fd Issue-ID: OOM-1803 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-05Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to a102564231d69771e67f7e516fb6bc23cf9d0ce0 - Merge "Add molecule tests for kubectl role" - Add molecule tests for kubectl role This commit adds molecule tests for kubectl role. That includes verification for kubectl to be installed and runnable. Change-Id: I4cb0679ed6826555a6d1f6cff4542ae52869f404 Issue-ID: OOM-1908 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to c07a4d7fc0f25e9cfea300cbce8fc624ad922384 - Merge "Add prepare-kubectl role" - Add prepare-kubectl role This role is used to prepare for kubectl role tests. It may also be used when any other test needs installed kubectl, for example when verifying kubernetes cluster setup. Both cases are a bit different. Change-Id: Ie7a065c571d94f40cfd64c3eba78af3e84b3f08a Issue-ID: OOM-1908 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to a2001d11fe5a880f6ad2aa19989c75f2eb1e66e9 - Merge "Add tests for helm role" - Add tests for helm role This adds molecule tests for the helm role. Change-Id: I5be27992062ca9039c141318bc54ce85ce35526b Issue-ID: OOM-1909 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 093b48e4e697cc8db57c4b2a287f74db2a729aff - Merge "Add prepare-helm role" - Add prepare-helm role This role downloads helm and places it in resources dir. It is needed for testing helm role. Change-Id: Ic7357f96d654a51592c332e4b61b0fe46a39270a Issue-ID: OOM-1909 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 70e8bfada11bfaf866936af28523613b21ce3d59 - Merge "Remove the prepare-docker test role" - Remove the prepare-docker test role This removed the unused prepare-docker role. The dind version is now the only one used. Change-Id: Ic7c1c46ae06d931de7abac1f225675c8d6bf7dbd Issue-ID: OOM-1902 Issue-ID: OOM-1862 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to d3cb6429d6d3cdcd625906e702140a51fc146847 - Merge "Add base download script" - Add base download script This script is supposed to be used for convenience when downloading data from multiple lists at once. Issue-ID: OOM-1803 Change-Id: I4031ed3650f7880883e299b43c79e6bfd08c886c Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-06-05Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to c8601f0659f90fc2ca390de6d5d7682d1af190f0 - Merge "Remove cleanup-rancher test role" - Remove cleanup-rancher test role This role is not used by rancher tests anymore. Issue-ID: OOM-1902 Change-Id: I989c41dfbf6dec8054befad87ac367bbf1afbc02 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 5930a9e5a262c0c84833bcf33b3533e603b28f9c - Merge "Remove cleanup-containers test role" - Remove cleanup-containers test role This removes cleanup-containers test role, that is not used by any tests after dind changes. Change-Id: I2244257de1faa2b268e9d2f74d286c19de99fab0 Issue-ID: OOM-1902 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-05Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 16294b10526ff85f0701cdfd5a8238fbbbd314f4 - Merge "Removing rancher simulations from nginx" - Removing rancher simulations from nginx For Dublin/RKE we don't need to simulate those 2 domains, they were needed in Casablanca for rancher git repos. Change-Id: I66a2615284150c4b466994b0906bbe3e215793d5 Issue-ID: OOM-1800 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-06-05Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to be3df7facde9edca0b64226e541e21e945bf5da1 - Merge "Adapting to Dublin realase" - Adapting to Dublin realase In Dublin: First project has taken ownership of own helm charts, oom repository must be obtained with subrepositories. By default no applications are enabled, introducing a way to submit more override files in to installer Issue-ID: OOM-1861 Signed-off-by: root <m.pilat@partner.samsung.com> Change-Id: I1724de6b87bd0e9d17df4d0f55615a3f1c439d40
2019-06-04Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 2a50615f814c28dd78e30b5b40e4636d4f6b7dfd - Remove the cleanup-directories test role This role is no longer needed after removing it's usage from the nfs role. Issue-ID: OOM-1902 Change-Id: I3f4d27e769c9edc3caef1b0d85a61f071e3a3b2f Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 863c0ad7fd25c06efce969fedac85887b1fb7e73 - Remove cleanup from play-resources When play-resources does not use bindmounting, there is no need to manually clean up resource files. That makes it possible to remove cleanup.yml all together. This is in preparation to remove the othervise unneeded cleanup-directories role. Change-Id: Id6c05700e8cd2e9c8f91a3cfdf46022b170e1e1e Issue-ID: OOM-1902 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 05bd819cfac6ac1412a66c5a88650fb2fc8b93bd - Do not use bindmounts for nfs tests This commit removes bindmounting of host directories to containers in play-resources tests. It seems that it is unneeded, and it is enough to just create anonymous volumes instead of cluttering host filesystem. This is one part of a preparation for removing the cleanup-directories role that won't be needed anymore. Note: similar changes were made to the nfs role tests, for the same reasons, but cleanup-directories is not used there Change-Id: Ib33543427d72b4bc7ede532e5eb9a5023931f1fe Issue-ID: OOM-1902 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to df7d7cc1294c6ea1fcab2ed4ac2ee7c375b29651 - Merge "Add molecule tests for rke role" - Add molecule tests for rke role This change adds molecule tests for the rke role, and modifies the rke role itself to be more idempotent/to pass linter. Note that this molecule test case uses a separate role to install docker in containers, that runs docker daemon inside of them instead of using host docker. Issue-ID: OOM-1778 Change-Id: I875f3ff2ab961e5428acee5a02287a8d2d6e9969 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-06-04Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 8636d184d6c07df9ef74941a0d4343d61b95c5d4 - Merge changes from topic "tags" * changes: Remove tag support from nexus blob build script Fixing some typos in usage in build_nexus_blob.sh - Remove tag support from nexus blob build script Remove tag support from build script for Nexus blob to simplify the configuration and the be align with lists naming for Dublin as described in OOM-1881 Issue-ID: OOM-1882 Change-Id: I009fa35830b44454530a7b7e565d23d99af99df8 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> - Fixing some typos in usage in build_nexus_blob.sh Issue-ID: OOM-1848 Change-Id: I7c1ccd75083274a262d65b0da0b184fcd1f0eeef Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-04Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 362d1c802b36c500158b47e2845630d953fd1536 - Merge "Updating list of docker images for ONAP" - Updating list of docker images for ONAP Updating list of docker images for Dublin ONAP deployment Issue-ID: OOM-1800 Change-Id: If8c1aa1e1bd058a0e0c84987d87bcbe676e14101 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-03Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 40800576cd1b677f04f8529c53fe8ec16ab473bc - Merge "Updating PIP packages list for Dublin" - Updating PIP packages list for Dublin Removing some leftover Issue-ID: OOM-1800 Change-Id: I6e07b89a1fc2b0d8cfc29e7acc3a71204e9f0372 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-03Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to a19df9c35160639b6f81cf1fe5d3902dacbc79e7 - Merge changes from topic "collector" * changes: Fixing bug in docker-images-collector.sh Add comment to automatically generated docker list Remove tag parameter from docker-image-collector.sh - Fixing bug in docker-images-collector.sh Some images from oom/kubernetes/common/ were not correctly collected by creating_data/docker-images-collector.sh script Issue-ID: OOM-1886 Change-Id: I044ca8a26353da44cd6f8e94fcb822570c954b49 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> - Add comment to automatically generated docker list Add comment to docker image list generated by docker-images-collector.sh to reffer to commit id in case of ONAP or to project in other cases Issue-ID: OOM-1884 Change-Id: I7ff32fae84db3476495eb2e560c3bf61e41e2ddb Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> - Remove tag parameter from docker-image-collector.sh Removing tag parameter from docker-image-collector.sh as it's not necessary as described in OOM-1881 Issue-ID: OOM-1885 Change-Id: Id83b396c4b994cfa659c518e3f03e704a84d65f0 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-06-03Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 82052ddde7b2896c05c7b930d8e09d582025f0b3 - Merge changes from topic "OOM-1806" * changes: Add doc for new healthcheck feature in helm_deployment_status.py Make healthcheck script output unbuffered Support running healthcheck in any mode supported Always show healthcheck output if it was run Support SSL certificate based authentication to kube API Add Kubernetes class to track API connection settings - Add doc for new healthcheck feature in helm_deployment_status.py A description of new --health-mode option for helm_deployment_status.py script was added to InstallGuide.rst. Change-Id: I8dd93e86eee9ade2c279f3124e01e7312e1baee5 Issue-ID: OOM-1806 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> - Make healthcheck script output unbuffered A subprocess.Popen object is created instead of convenience check_output() routine usage to allow unbuffered reading stdout from asynchronously running subprocess. Change-Id: I0dca13d6ac5d533d0ef19ddc5713830c57b37175 Issue-ID: OOM-1806 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> - Support running healthcheck in any mode supported So far it was only possible to run health checking script with a default option of 'health'. This patch allows passing through to healtcheck script any mode that it supports via --health-mode runtime option. Change-Id: Ic0145e5b4a1f17d64867287538dd63b850d86feb Issue-ID: OOM-1806 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> - Always show healthcheck output if it was run This patch changes the default behavior of showing healthcheck script results. So far output was printed only in increased verbosity mode but the proper action should be to print it whenever it was called. A bug in exec_healthcheck() routine is also fixed (subprocess.check_output() returns byte string, not an object with 'output' attribute). Change-Id: Ifd7294de9bed321123f74977f881999ce69cf878 Issue-ID: OOM-1806 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> - Support SSL certificate based authentication to kube API With this change script by default connects to kube API performing SSL authentication with certificates that it tries to read from kube config. A flag of '--no-ssl-auth' is provided to disable this behaviour. Change-Id: Ibc1ea21c0c9f3c4a298b5bfef35d916652b598d4 Issue-ID: OOM-1806 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> - Add Kubernetes class to track API connection settings This patch moves get_resources() routine into Kubernetes class. It's object now holds all needed API connection properties and tracks it's state to avoid passing these settings through intermediary functions all the way down to actual API calling routine. Additional checks are added in get_resources() to produce more meaningfull debug info in case of connection failure. Change-Id: Ia50fa086d22466c0fbed9eb677d2dc52709bef9f Issue-ID: OOM-1806 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-05-30Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to f45f73f749fffb301d825ec53fae2878c505980d - Merge "Add Molecule tests for 'dns' role" - Add Molecule tests for 'dns' role This commit supplements 'Molecule test for infrastructure playbook' with role level tests. Change-Id: I14cdeedf1c80c0ee06bacf0a391ee1d7ccd6df55 Issue-ID: OOM-1841 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-05-30Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 293ad25456bb37dbd6827d26f87e495a2b7f1b85 - Merge "Make molecule tests for certificates independent from docker role" - Make molecule tests for certificates independent from docker role Currently molecule tests for certificates role call the docker role just to make one handler available. It actually breaks best practices of unit testing, the docker role shouldn't be called nor tested in unit test of certificates role. This commit makes certificates role independent by just creating fake handlers. Change-Id: Iec7934c7c1f4e9b37ff523e1d86a3beaaa88bdcf Issue-ID: OOM-1864 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-05-30Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to bddfaebbfab17f78fc5bfa2e7302584373d44523 - Merge "Modify docker role to use dind" - Modify docker role to use dind This modifies the docker role to use dind. Note that it now uses pepare-docker-dind role, but *disables* start of docker. Change-Id: I55ac8d1f69531ba7496c34f990818b894a7d02a5 Issue-ID: OOM-1864 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-05-30Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 1827d9c464e55037d4de159ea8461fd660cd37fa - Merge "prepare-docker-dind: make docker start optional" - prepare-docker-dind: make docker start optional This change makes it possible to disable docker start after prepare-docker-dind role executes. Needed for docker role that wants to start docker by itself. Note that the docker role also tries to install docker by itself, and prepare-docker-dind does the same. The reason is that it makes it possible to fix the version of installed docker. Change-Id: I7487bc46b316c0e6c782b22d8e24afea35c3c2d5 Issue-ID: OOM-1863 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-05-30Update git submodulesMichal Zegan1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to a83ae84c589effcd690180347294ceaa677c2c7b - Modify rancher molecule tests to use dind This change modifies molecule tests of rancher role to use prepare-docker-dind. Also: - it modifies prepare-common role to retrieve cluster_ip of the actual node in question, - it fixes the rancher role itself to work at all by removing auto_remove. It has been tested by running molecule converge. Change-Id: I7af4e9998feedd5f8fc3df8215e03c1b0485529c Issue-ID: OOM-1864 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-05-30Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 7e5ddf0b3e0f23bf499b3311340253485d06fc33 - Merge "Add prepare-docker-dind role" - Add prepare-docker-dind role This change adds the prepare-docker-dind role intended to be used in tests to install docker on test containers. Contrary to the prepare-docker role it arranges for docker daemon to be launched inside of the test containers instead of using/polluting a test host. It is a prerequisite to the rke role molecule tests. Change-Id: I6be270758b01f7e9c4fa09aebcc32930c0977ea3 Issue-ID: OOM-1778 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-05-30Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to b78bbf8e835cf9bd3f1b73bea1d7d67680f451fc - Changing patchfile naming convention Its not needed to preserve onap release version in patch naming. Change-Id: I8dfaa56d3a74cd5227523c3acd5e31fa540a75a2 Issue-ID: OOM-1869 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-05-29Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 6fdcd7d9bd8b4395180d8cbd6c6aa936e50dba76 - Merge changes from topic "OOM-1816" * changes: Molecule test for infrastructure playbook. Add the prepare-package-repository role Add prepare-nexus role Add prepare-nginx role Add the prepare-dns role Add prepare-vncserver role Allow unsafe writes when modifying resolv.conf Add nexus_come_up_wait_retries variable to nexus role Remove docker restart condition from docker role - Molecule test for infrastructure playbook. These tests execute the whole infrastructure playbook. Issue-ID: OOM-1816 Change-Id: I793191e05cb0b527c3da6d820c1916231e69d865 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add the prepare-package-repository role This role may be used by infra playbook tests. It downloads docker rpm packages and their dependencies to disk and creates a simulated offline rpm repository that can then be used to test installation of packages. Change-Id: Ia1a1bed1b124e036219ccc12c4650ce446955f01 Issue-ID: OOM-1816 Signed-off-by: Michal Zegan <m.zegan@samsung.com> Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> - Add prepare-nexus role This role can be used by nexus role/infra playbook tests. It downloads and archives the nexus image used by these tests. It also archives some example docker images that can be used to test runtime image pushing. Change-Id: I027dd5dda60ab0abba7701cb038f6552a72e3599 Issue-ID: OOM-1816 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add prepare-nginx role This role can be used by nginx role/infra playbook tests. It builds and archives the nginx docker image used by these tests. Change-Id: I51052f4d587926be0331203fffd0bbd69a7dc58d Issue-ID: OOM-1816 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add the prepare-dns role This role can be used by infra playbook or dns role tests to download the dnsmasq docker images used during test. Change-Id: I05d9ccd1f2ac3d635c032b43078ca9a2179cb547 Issue-ID: OOM-1818 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add prepare-vncserver role This role is used by infra playbook tests introduced in a follow up commit and it downloads the docker vncserver image used during testing. This role may also be useful for vncserver role tests. Change-Id: Ib9fc8041519d716207f2c1887f68fb29faab911f Issue-ID: OOM-1816 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Allow unsafe writes when modifying resolv.conf The package-repository role edits /etc/resolv.conf. Ansible modifies files atomically to prevent data loss on crash, but that does not work in docker containers because /etc/resolv.conf is bind-mounted. Allow ansible to fall back to non atomic writes in such cases. This makes it unnecessary to hack around this. Change-Id: I066205322de5cc06569e6ea3aa38885d3834f9cd Issue-ID: OOM-1816 Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Add nexus_come_up_wait_retries variable to nexus role This variable is used to set the number of retries when waiting for nexus to be running. It may occassionally be useful to increase it on slower test environments. Change-Id: Id34106dd8f9a8b2b1949b80adb22fbec3df71e23 Issue-ID: OOM-1816 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com> - Remove docker restart condition from docker role Docker role doesn't trigger docker restart when run in docker container (e.g. molecule). Remove the condition, as in dind case docker in container works same way as docker out of container. Change-Id: I8c80a09baccd76c78f2cbb8e474044351fd9b3d3 Issue-ID: OOM-1816 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-05-29Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 5b5c804c08cb49f03685cc3602f5eda1999185f2 - Merge "Add support for extra helm install arguments" - Add support for extra helm install arguments Change-Id: Ie0b4e812acf6fba4e4b8f082533ab2f998456095 Issue-ID: OOM-1877 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-05-29Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 2bc174cdce000e011f43c6eab579bb539df5f033 - Merge "Updating PIP packages list for Dublin" - Updating PIP packages list for Dublin Issue-ID: OOM-1800 Change-Id: I3a7a58534c2b7f8fa8f338b6fc65f6ef6fd11523 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-29Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to d93b67d0dc46c9c7a43807de5ca4106d7e3e32dc - Merge "Adding source identification for docker data list" - Adding source identification for docker data list Important to know what source commit was taken for this example docker images data list we took for validation. Change-Id: Idafb60e1d965bb896d3794677de0d702081bbfa5 Issue-ID: OOM-1800 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-05-29Update git submodulesSamuli Silvius1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 86555b392d1c6ab96b3ebb39cb1e8b7326cd7eb5 - Merge "Fixing access permissions for docker image list" - Fixing access permissions for docker image list chmod from 775 to 664 Issue-ID: OOM-1800 Change-Id: I0f459a246bc636d696f4bbc32cca6e27ca37db80 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-29Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to fff4f53c26495d75682e3d80c4dc0a8686f5e0c7 - Add needed pypi patching for oof OOF component recently introduced new internet dependency and it's downloading flask and requests pip packages. This patch is needed for fixing this in offline platform. Change-Id: I5bb707bf13af30f6df5cfd42cee75e2d1839821e Issue-ID: OPTFRA-509 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-05-28Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 1a6a0793f5dbefb226ebcfb1e2a542ae2272ff9b - Merge "Modify build_nexus_blob.sh to accept more input parameters" - Modify build_nexus_blob.sh to accept more input parameters In order to connect nexus build blob with dynamically generated input files Issue-ID: OOM-1848 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: Ifd1218b69e0b341fd929a5d4cda96cea17153f12
2019-05-28Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 3b9b88c574fa0bc082af591f7fba9e4d30fcb55b - Merge "Adding list of docker images for ONAP" - Adding list of docker images for ONAP Adding initial list of docker images for Dublin ONAP deployment Issue-ID: OOM-1800 Change-Id: I887ff6a5f8688fe9353d3562a9892606ae169072 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-27Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 64f9fd984b1c426b196780ccc3d9b414dbb7bb8b - Merge "Updating NPM list for Dublin" - Updating NPM list for Dublin Issue-ID: OOM-1800 Change-Id: Iff7389dbc95e4aec501b0c53e9276869eb1e2e38 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-27Update git submodulesTomáš Levora1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to fd1f0e7ae62891060f44c9561a69b31a6a63e63e - Fix wrong path to backup files In the Nexus build script were incomplete paths to backup files what is fixed by this patch Issue-ID: OOM-1875 Change-Id: I86e3f157d6f142f87013c18c79fb58e52cad42f9 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-05-27Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 1299f5c30a659afcbb7ba87e69bee063da42ab6c - Merge "Adjusting patching file for Dublin" - Adjusting patching file for Dublin some oom helm charts patching from Casablanca is not needed, this is the rest we need to keep eye on. Change-Id: I0011d2bfdb4552c08745822989f830969f46ab9a Issue-ID: OOM-1869 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-05-27Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 413de38631898a4792b01a6bbe1eee95a49573c5 - Merge "Updating git datalist for Dublin" - Updating git datalist for Dublin This seems to be the only required git repo from the original list. Its hard to automate such data list creation. Plan is to get rid of git repos from offline installer completely. Change-Id: I00b2089ad90060af23b41a8c4abdda6ec80b3608 Issue-ID: OOM-1800 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-05-27Update git submodulesPetr Ospalý1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to 130dd181af4f4ac4016f35d76dad18562463b8a4 - Add list of docker images for rke Change-Id: I322cce3dd073844bb7cb0772877873b4e24fe09f Issue-ID: OOM-1778 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-05-26Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to cc16a3d5cca645bdfb8af177c85ab06efe97c27b - Merge "Make RKE the default cluster deployment tool" - Make RKE the default cluster deployment tool This change substitutes rancher_kubernetes.yml for rke.yml in site.yml making the RKE default deployment mechanism for kubernetes cluster. Change-Id: Ie1a0cb1eb94a3c5e8efd5c2c7e682c0292bc9152 Issue-ID: OOM-1873 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-05-24Update git submodulesMichal Ptacek1-0/+0
* Update docs/submodules/oom/offline-installer.git from branch 'master' to aaf39b1e4cc736fa6f192d46549afaab303c350d - Merge changes from topic "data-download" * changes: Improve download of npm packages Improve download of http files Improve download of rpm Improve download of git repositories Improve docker image download script - Improve download of npm packages Issue-ID: OOM-1803 Change-Id: I332d7ef6ad628a08b5c9279d65b9d7286f06ee97 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com> - Improve download of http files Issue-ID: OOM-1803 Change-Id: If2aeb1aa4fab27641511a6300832ccd7be95e846 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com> - Improve download of rpm Issue-ID: OOM-1803 Change-Id: I8a6df03a5ede68968e9ccdf8d4de3f9f17d91963 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com> - Improve download of git repositories Issue-ID: OOM-1803 Change-Id: I167f66f3cb6b96d9e21c5ffbd0cf0eb33ef4932e Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com> - Improve docker image download script This is part of the series of changes that will improve download scripts. Issue-ID: OOM-1803 Change-Id: I6606762f8e05c25132257e5612997418a9d6d701 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>