Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I1216cb0fc2f47f29ef7f3880a03f4e6a3dfd3ec4
Issue-ID: OOM-1879
Signed-off-by: eronkeo <ronan.keogh@est.tech>
(cherry picked from commit 507bda29594ce40ed66830183ec5647f39031299)
|
|
In this new doc we are summarizing all relevant steps we had to
pass in order to get vFirewall demo working in our offline platform.
It is collecting information from various sources so it can be
interesting reading also for people trying vFWCL on online deployments.
Change-Id: Ided64eba7d3f0163447ebc514690832cfb3c2f94
Issue-ID: OOM-1805
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
|
|
|
|
This commit reverts removal of 'ignore_unreachable'
option in 'cleanup.yml' for 'nfs' role tests in
96a4baf. It's needed for cleanup stage to succeed
if called prior to 'create' stage (default 'test'
matrix behaviour)
Change-Id: I9177fb950786f05a55c45a0089fb3632503f14f5
Issue-ID: OOM-1809
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
|
|
- Adding missing artifacts into onap_3.0.x-http_files.list
- Some fine-tuning of examples in DOCs
Issue-ID: OOM-1805
Change-Id: Ic5a55590a9fa9a244c43aff6a63554aefaea6cc5
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
|
|
|
|
Review should also execute molecule tests for ansible/test/play-xxx when anything in /ansible/test has been changed
Change-Id: I9a106a1c141b1053db6ac892e2dcecd4e646fd5b
Issue-ID: OOM-1801
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
|
|
Fixing download and saving scripts to be able to ignore empty or 00D
ending lines in lists
Issue-ID: OOM-1818
Change-Id: I55ef1dfbea628f8c1d4b19745536e629a2dbe0c9
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Removed requirement for configuration file with a lot of necessary
inputs from user
Removed dependency resolution for RHEL systems
Added interconnect with the whole offline-installer build process from
list generating to packaging
Removed creating of nexus_data tarball
Small improvements of the process
Issue-ID: OOM-1704
Change-Id: Idd34e1a6bf160ec40413db16138c849334d9ca44
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
|
|
|
|
|
|
script to detect what tests are supposed to be executed for a given change
Change-Id: I8e392e5d67bb56ab7653d4a5176a3b8df1dc72c9
Issue-ID: OOM-1801
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
|
|
|
|
Updated docker image list based on Casablanca MR 3.0.2-ONAP
Issue-ID: OOM-1802
Change-Id: I748d5c2d69c0158b89beecb8d3a5ac49262196d4
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
|
|
-it in docker run does not work well with jenkins
Change-Id: Ic1bfedfb64e0a862aa9d49b5615048b9eccf9670
Issue-ID: OOM-1833
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
|
|
Docker-ce version should be aligned with Docker release
installed on target platform
(see build/creating_data/create-rhel-repo.sh)
This patch also optimizes package installation process
in Molecule tests.
Change-Id: I3f0cb7cd36a3f91027b2be43a925e54167d9c6d0
Issue-ID: OOM-1815
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
ansible/test/images/docker/build-all.sh works only if executed under folder where script is located.
Change-Id: Ic91656656788a48bdd12cb8003e875011a71cbe3
Issue-ID: OOM-1829
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
|
|
Rancher role test do remove rancher/agent and rancher/server
containers at 'cleanup' stage but Rancher Agent spawned
containers are left orphaned. This patch adds tasks to
remove them.
This patch also adds custom ansible module for listing
docker containers (as of ansible 2.7.10 no upstream module
provides that feature, even new docker_container_info info
module in ansible's devel branch doesn't have it)
Change-Id: I6325dc81063b55b70136280273f8f6138c7a0375
Issue-ID: OOM-1811
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Some minor documentation updates to address
invalid paths and some duplicate and missing references
in the nexus_build.conf file template.
Added 3.0.2-ONAP refference
Change-Id: I466b6ac740388d56f1b3fb7b9d8771412262a9b5
Issue-ID: OOM-1826
Signed-off-by: eronkeo <ronan.keogh@est.tech>
|
|
|
|
|
|
* changes:
Add support for resetting the admin password
Add support for rancher authentication
Refactor rancher1_api module
Add support for rancher 1.6 API
|
|
The module rancher1_api can now reset an admin password of the default
admin account (account_id: '1a1') and keep local authentication enabled.
By default the authentication is not enabled, because the ansible
module rancher_k8s_environment.py is not idempotent and it would need to
be rewritten.
Change-Id: Ib432537651b91216c32438ec1233dba3602e3faf
Issue-ID: OOM-1734
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
This commit adds a new mode to the rancher1_api module, which enables
the rancher local authentication (username/password).
There is an already predefined rancher admin user called 'admin' and
that is the account, which this mode modifies. Due to the complex
API and the fact that rancher 1.6 is soon to be obsoleted, this module
is going the simpler route and it is just editing this default admin
account instead of creating a completely arbitrary username/password
credentials. For that reason is using the 'account_id', which is unique
for all accounts and the default admin account of rancher has '1a1'.
As of now this module cannot handle changed password once the auth. is
enabled.
Change-Id: Iea8923c71bdb82267c966a00d62f0f43eb5adb76
Issue-ID: OOM-1734
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
Replace VNC server docker image based on CentOS
(consol/centos-icewm-vnc:1.4.0) by the one based on
Ubuntu (consol/centos-icewm-vnc:1.4.0) - Ubuntu based image is smaller
and the VNC server does not work in the current CentOS based image.
Solves OOM-1819
Issue-ID: OOM-1821
Change-Id: I9e06ab8bfccb11ae8950717db5339062704a31f9
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
|
|
|
|
|
|
New docker image list based on Casablanca MR 3.0.2-ONAP
Issue-ID: OOM-1802
Change-Id: Ic521cae2003299e1431c71750de9c603f07f9675
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Moved 'file' package installation from Molecule's
'prepare' stage to Dockerfile to shorten the test
invocation.
Change-Id: Icbb805c54a4fd42003d0cde037fa56208bd6008a
Issue-ID: OOM-1809
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Molecule Docker was not running when built by the root user
Issue-ID: OOM-1808
Change-Id: I27c3ecb6d5670ac1c447acba688b25e10d5a5a4d
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
|
|
Reducing list of NPMs needed for offline deployment based on download
stats from Nexus repository from running environment
Issue-ID: OOM-1709
Change-Id: I402c4802210a63ed90ab97f7bcbfe79852b7e92e
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Cleaning up of nfs mounts should only happen
on clients, not on server itself.
Explicit declaration of 'cleanup' stage playbook
not needed as it's in the default location.
Change-Id: I54e00220048f01160c15fc9631ae62586596114c
Issue-ID: OOM-1809
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This rewrite enables to add easier more features supported by the rancher
API. The initial idea of a simple get and set through the JSON REST API
is not feasible. To achieve something with the API one may have to setup
more options on different URLs and in a particular order. For this reason
the module comes with the mechanism of "modes", which is a wrapper around
some feature in the rancher and which can require multiple steps to do.
Rancher1_api module could also support "raw" mode where the user will not
be limited by a few implemented modes in the module, but he can craft all
requests by hand - but due to the fact that such thing can be done easily
with just curl command and ansible shell module, there is no benefit in
doing so. Especially when rancher 1.6 is already obsoleted within the ONAP.
The useful value of this module is to give the user a simple means to set
something in the rancher and hide all the boilerplate from him via a mode.
- Original logic was rewritten to utilize the "mode" mechanism.
- New module structure is also easier to test outside of ansible.
Issue-ID: OOM-1681
Change-Id: I0e7932199df9ec1acd80af545060199867ad17fa
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
- New ansible module to handle rancher API
- Setting up of the cattle db and log related options
to achieve lower space usage.
As of this moment it does what was intended:
- it setups new values for db and log related options
- it can be used for any other setting options
Change-Id: I25048469df0cb035cc6eac39740210cdfa175ada
Issue-ID: OOM-1681
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
|
|
This commit improves the nfs role by
using cluster_ip variable instead of ansible_host for getting
nfs client/server address, and
using /etc/exports.d instead of /etc/exports for
exporting nfs filesystem.
Also, this commit fixes other
issues in molecule found along the way.
Change-Id: Ibd4ea5d4fd937116e2dc9e1b6f85c3e019f62e17
Issue-ID: OOM-1770
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Issue-ID: OOM-1775
Change-Id: I6ea11db932cd77e03909e4c72acc4b92a544eb4b
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
Change-Id: I2cfee4ef44b1aa0ddff0b5d93712390988846c90
Issue-ID: OOM-1710
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Add ci-molecule.sh script to work as an interface
towards CI pipe for running Molecule tests.
Issue-ID: OOM-1749
Change-Id: Ib6e74d9b03b569a172a606f4db41b707602bf279
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
On Centos7.6 /dev/loop* device nodes are
created dynamically upon alocation (by default
there is no /dev/loop<N> device nodes) - this
has effect of failing to allocate those in
Docker container, even when run in privileged
mode.
Change-Id: If2c852de3a74ea7fe1df9f5c863f184b9bc13acb
Issue-ID: OOM-1774
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Add own Dockerfile and build script for creating
customized molecule runner image from Molecule image
provided by https://quay.io/repository/ansible/molecule.
Customization enables running of molecule container with
current host's user to avoid root owned files bloating
to developer's machine.
Add wrapper script molecule.sh to utilize custom image
and suitable for testing offline-installer roles.
Issue-ID: OOM-1768
Change-Id: I14ed75decb8fa637c044675543de56f1c0796271
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
Issue-ID: OOM-1762
Change-Id: Ic13d7ec775a52ad95fc0388e8b84ea8ab7367666
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
Issue-ID: OOM-1759
Change-Id: I9e1ee7f248147b3f7229625c7a20fa84e8e67aac
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
|
|
|
|
|
|
|