Age | Commit message (Collapse) | Author | Files | Lines |
|
As a part of change merged recently in 271cf3ffc2977f9e4
support for OOM plugins was introduced however it was
never used. This commit is fixing this and introducing
helm deploy option if plugin exists.
Change-Id: Ifb77ce2098ea28f822e5e15ddf2736f0c83b946c
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
Issue-ID: OOM-1589
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
|
|
|
|
|
|
Proprietary plugins can be used along with helm, in addition
to that building of local helm repository can be achieved by
using different target or list of targets.
Change-Id: If421133b9cc8bcfa47c3e7c14e6712520231e39c
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Issue-ID: OOM-1589
|
|
Inside the build_ansible_image.sh is a variable (label for docker image)
which is set to git commit hash. This is fine but you can just copy
and move ansible directory elsewhere out of git and this script breaks
because of this.
This change preserve previous functionality but only if the script
is run inside a git repository otherwise it will skip setting the
label for the built docker image.
Change-Id: I23f828542efddde21d1c96116de7b20272ef23ef
Issue-ID: OOM-1575
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
pip-19.0 fails to build with the option --no-cache-dir
Change-Id: I6494c6c6b4dc49d4fbd2ce657ed9824c5b3847e3
Issue-ID: OOM-1607
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
|
|
|
|
|
|
|
|
Variable for creating nfs mount for onap nodes was
in wrong group_vars file which caused the error because
variable was undefined for hosts that needed it.
This change moves this variable to correct file.
Change-Id: If177fb23d90b8a32d70dd774dde2dfbfc697980a
Issue-ID: OOM-1588
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
|
|
If there is no demand for docker images to be inserted into nexus
during runtime, runtime_images might be empty and this will
cause unhandled error with trying to insert undefined images
Change-Id: I77147b64a3d288922eec5db7e7ce422ba2ed8c12
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Issue-ID: OOM-1587
|
|
This fixes adding of dns address to
/etc/docker/daemon.json to always use infra's ip address
instead of possibly using it's hostname.
Also similar change is done in handling of
/etc/resolv.conf in infrastructure.yml.
Ip address is specified by the "cluster_ip" variable placed on a host.
Inventory specifies ip for everything except resource server (just for consistency).
Change-Id: I2baa3f4c7d69b8dff109b5f8ae984134caf2af7d
Issue-ID: OOM-1573
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Rancher server version is hardcoded to 1.6.14 used in Beijing
deployment. This limits flexibility to use it for future
versions of ONAP deployments.
This change adds possibility to choose version of rancher server via
variable in group_vars/infrastructure.yml and setting its default
value to version used by Casablanca release.
Change-Id: I3a38a882386ce6adcba77780ee79a7cedfe98e4e
Issue-ID: OOM-1584
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
|
|
Ansible could not write to the log because the ansible is run inside
a chroot env. and on read-only fs - this is solved by adding new rw mount.
Change-Id: I874063ad99948a55f9227d5e7eae05d3eaabe535
Issue-ID: OOM-1575
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
This reverts commit a22f6b34a424d0ce25be7e560d8072a2e84e3ab8.
This commit was merged by mistake.
Change-Id: Ic73bfd8e9d97c3a23629cba69047cc0edefb9cd0
Issue-ID: OOM-1573
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
WIP
This solves the problem with domain name without dropping the ansible_host.
Ansible_host is just resolved to the ip. By using the ping command we can
avoid another dependencies.
Change-Id: Ic1963d3af6a8bdd68089ac8b599731e35475d81f
Issue-ID: OOM-1573
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
In this commit I tried to follow a behaviour of docker. If mounted
path does not exist then it will handle it as a directory - it
creates it and the mountpoint is expected to be a directory also.
If the mounted path is a plain file it will do file bind mounting.
The mountpoint must be a plain file.
Change-Id: Ie8b29442c8ebb8da389ba6c9a152a49d8cf6e9be
Issue-ID: OOM-1575
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
|
|
This fixes adding of dns address to
/etc/docker/daemon.json to always use infra's ip address
instead of possibly using it's hostname.
It is done by replacing usage of "ansible_host" by
"ansible_default_ipv4.address" fact.
Change-Id: If6a29f3bf11ece7f883b099a1ab503341859cb90
Issue-ID: OOM-1573
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This will change in a future commit to be little more flexible.
As of now it fixes some usage when host system has defined
some custom resolving which are needed.
Change-Id: Ifea2ba087982006c0a399d1b225d7ab13f7e94da
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
It can be used to distribution of a project via tars.
What is part of the package is defined in package.conf
Issue-ID: OOM-1551
Change-Id: I8f5509bfb37d5cad510c0c151d49f6944fc6511c
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
Looks like this one was a bit out of date, updating it...
Change-Id: I7734fc5ccdba001d3c409244cd1625453ab232ed
Issue-ID: OOM-1551
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
|
|
|
|
|
|
|
|
this ansible role contains application specific tasks, it is
written in generic way and different helm charts can be used as
application. In addition operator can provide proprietary pre_install
and post_install hooks.
Change-Id: Ibe4b330e5a725dde41aca9f6a59d702cfaba6f52
Issue-ID: OOM-1551
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
|
|
main documentation for ansible offline installer
Change-Id: I4e2cebf26a1720600dfed1a4b4c83a68a85426ed
Issue-ID: OOM-1551
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
|
|
Adding role to simulate domain names for offline installation from
private nexus repositories
Issue-ID: OOM-1551
Change-Id: Ia3fe274e95ef078332627af9229195bd6e9a667d
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Adding ansible role for installation of docker and its setup
Issue-ID: OOM-1551
Change-Id: I49bca8eab46a2750cd627cbf709bed6744c88df5
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Adding role to disable firewall to prevent any issue with communication
during the installation
Change-Id: I2390f0bc5062933e6a8bf4dcbc0b255b283f993d
Issue-ID: OOM-1551
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This script can run ansible playbook inside the docker
container or (default) in the chroot environment.
Change-Id: I713d6d76a4e20fc365a0ac7f47482004608354f6
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
The application specific stuff should be in the
directory application - look at the README.md there
Change-Id: I59d103246d0f54ea329a04d43479c4f31952b902
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
This role adds helm install handling to ansible installer
Change-Id: I31f62a815822f5375cc7e5b138bec27e359127b0
Issue-ID: OOM-1551
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
As the orchestration manager is used the rancher project
Change-Id: I178bfc8edc7f381dd735e3b19ac34f3cf6efdf53
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
It will make arrangements to make offline
installation possible - especially:
dns handling
nexus repository
package installation
Issue-ID: OOM-1551
Change-Id: I3c60efd413f558454d63d4e79948bcc421f7bcd1
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
Change-Id: I2b0190dc25f341fafa3b1cbf978c764c675280d4
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|