Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/oom/offline-installer.git from branch 'master'
to f2f06700b7b9ad99c9c182fc01ee5cc0782ead78
- Merge "Fix missing import in helm_deployment_status.py"
- Fix missing import in helm_deployment_status.py
After recent changes a regression emerged due to
not properly imported 'subprocess' module 'check_output'
function.
Predefined list of available healthcheck modes is also
removed to allow passing any mode that will be supported
in future by healthcheck script.
Change-Id: I2dc681da079f75449f9f2456249d51b3c859f434
Issue-ID: OOM-1806
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
* Update docs/submodules/oom/offline-installer.git from branch 'master'
to 7b2dca8234db9a8b0f57ffc3e0b4f9e680370b32
- Merge changes from topic "OOM-1810"
* changes:
Add verification tests for 'chrony' role
Setup 'cluster_ip' fact for infra host in 'chrony' role tests
- Add verification tests for 'chrony' role
Testinfra tests are added for Molecule verifier.
Change-Id: Id044cdc5535af97ce3ac48da034a9a6a1ca8cbd3
Issue-ID: OOM-1810
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
- Setup 'cluster_ip' fact for infra host in 'chrony' role tests
This patch sets up a missing 'cluster_ip' fact for
infrastructure host without which 'server' directive was
set up improperly in chrony.conf on 'node' host.
Change-Id: I3d98788b7eb54bf984d165a50072f51fd85c08fb
Issue-ID: OOM-1810
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
* Update docs/submodules/oom/offline-installer.git from branch 'master'
to 9ece7533e7463c7d162e27496a40d3447304475f
- Merge changes from topic "OOM-1910"
* changes:
Clean application role mocked artifacts directories
Add custom patch role scenario to 'application' role
- Clean application role mocked artifacts directories
Directories created by Molecule tests were left in
files tree and not cleaned up. This patch adds a task
to shred them after test invocation.
Change-Id: If745cfc45de2f73db5be1696a16a185ff2a625bf
Issue-ID: OOM-1910
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
- Add custom patch role scenario to 'application' role
This adds test case for when application_pre_install_role
and application_post_install_role are set to custom role;
by default they are empty.
Code condition coverage is increased.
Change-Id: I14e59e15cf3ead0459374b5777f8ee03fe75d7bd
Issue-ID: OOM-1910
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
* Update docs/submodules/oom/offline-installer.git from branch 'master'
to 0a16f1267c3bd1c33def62861e6e1726097f239a
- Merge changes from topic "OOM-1915"
* changes:
Update 'busybox' and 'haproxy' docker images path in tests
Add role level tests for 'nexus' role
Improve 'nexus' role testability
- Update 'busybox' and 'haproxy' docker images path in tests
At some point names of busybox and haproxy images
have changed in nexus3.onap.org registry. This patch
updates those names in testing framework.
Change-Id: Iaad4976118bfcd708f2b8fccb8df61f6059ac1f4
Issue-ID: OOM-1915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
- Add role level tests for 'nexus' role
Change-Id: If8decc241614e4fe802352cc783b59f8d7ec70b4
Issue-ID: OOM-1915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
- Improve 'nexus' role testability
A change needed by related commit to allow building
a custom nexus url.
Change-Id: Iaa7e1d10d9621871e71863c77722cd635b7e1e4d
Issue-ID: OOM-1915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
* Update docs/submodules/oom/offline-installer.git from branch 'master'
to cf81ff7da21aed314f2dfc74fc6cd04d7354bdf1
- Merge "Fix issue with yaml.load in docker collector"
- Fix issue with yaml.load in docker collector
docker-images-collector.sh script uses yaml.load python function in
deprecated way and it is a potential security risk
https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
Issue-ID: OOM-1897
Change-Id: Ie30e60b4ede2c87a02b7bbe76e0695f91dc207c6
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
* Update docs/submodules/oom/offline-installer.git from branch 'master'
to 0c3aeee286896377c3464dfea54364ccd0807ca8
- Merge "Add directory remove on failed cloning"
- Add directory remove on failed cloning
While downloading git repositories there was no removing
of created destination directory which could led to false
detection of downloaded repository.
This script adds directory remove in such case plus fixes
some minor typos in logging and help strings.
Issue-ID: OOM-1803
Change-Id: Iec672bc8248e7b2daee06717985e11f7e05aa5be
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
|
|
* Update docs/submodules/oom/offline-installer.git from branch 'master'
to d0f762031304bda04faea0873518054156b79d8a
- Add data list for bin utils
Since bin utils can be downloaded as simple http file
this script remove previous shell script and changes
documentation to add necessary steps.
Issue-ID: OOM-1803
Change-Id: I4ced011ce47302349f9e7db74d0ef7f0fe9c4fa0
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
|
|
* Update docs/submodules/oom/offline-installer.git from branch 'master'
to d85b2d76b0b2b1913222da4454d820c3dea2c154
- Add pypi packages downloading python script
Issue-ID: OOM-1803
Change-Id: I5470bad5ad862362976b56350c931929ee4b69d6
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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
|