Age | Commit message (Collapse) | Author | Files | Lines |
|
Issue-ID: OOM-2798
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: Ia3733154b9ee016b390a4810ab0918b3528ed662
(cherry picked from commit 1a7f62f10daa34d2967ad15bd40162feeb58e4c7)
|
|
This change allows setting custom dns resolvers on control node
and all k8s hosts.
Change-Id: I49db6e5d5d3b5be5082adc73810eb282dce14eed
Issue-ID: OOM-2650
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This facility allows setting custom docker registry mirror on k8s
hosts in Docker global config.
Change-Id: I01d02bdbabf2bed0b5b55819ae22770dd52de771
Issue-ID: OOM-2650
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Created copy of inventory template due to set var of Python interpreter.
Python interpreter cannot be set in ansible.cfg file due to bug:
https://github.com/ansible/ansible/issues/45852
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I9683a2a764e8c6696a39625a6ddc40cda20f9333
|
|
"[[ ]]" is a bash specific command that doesn't work in
dash which is Ubuntu's default shell.
Change-Id: Idd09c2e1e8c409503b12756141632527ab91b5ec
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-1671
|
|
Cloud-init runs runcmd module with default OS shell which
evaluates to dash for Ubuntu and which in turn doesn't support
'pipefile' option. This makes cloud-init fail the module on
Ubuntu OS. In runcmd script there are no pipes so it's safe
to remove it from shell opts.
Change-Id: I0402fbfe13fe528832e64d107c1bc07bb5516fc2
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-1671
|
|
Change onap network cidr to /16 due to robot hardcoded config.
Adding onap network id to configuration at installation part.
Adding optional connection to demo usecases network at deploy step
Update patch scripts for specify network and kubernetes namespace
Enable config_drive parameter at openstack instances deploying to get openstack metadata
Issue-ID: OOM-1996
Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com>
Change-Id: I4403e8ca0f385060ac815372ffd91eda60026ddb
|
|
|
|
Issue-ID: OOM-2128
Change-Id: I5b25007b0521596083f539be296291adc21bb1d8
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
ci-installer filled hostname containing underscore what is invalid
Issue-ID: OOM-2119
Change-Id: I26dfa7115ba9e700715e0fae441c21a26fde3382
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Make cicdansible to set external_ip correctly using floating ips.
Change-Id: I3791ee670806c7008073389e43dec5e887abfda9
Issue-ID: OOM-2112
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Modify the heat template so that it becomes possible to
skip volume creation for dockerdata-nfs.
This feature can be toggled at will. It is useful for the cases
where /dockerdata-nfs needs to be fast, but there are no ssd volumes available.
Of course, large enough ephemeral disks are needed, around
60 gb.
Change-Id: I37e29e7cf7273d1d4a6e896ec017d9ef8177b1d0
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Modify the heat template so that kubernetes node
instances are not placed on the same compute nodes, but each on a different node.
This is called anti-affinity.
Change-Id: I16cad7cc2f503130bae80be3820c477890214594
Issue-ID: OOM-2042
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This commit modifies volume handling in heat template in cicdansible.
Namely, it simplifies the generation of node to volume list mapping and makes it
more readable and understandable, and also
more flexible, because now parts of it could be
conditionalized. This is required for a followup commit.
Change-Id: I204aefd819f40050a2cb9e6a031dfb2c62da1f48
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This commit adds the ansible configuration file, that configures
pretty logging and, handling of connections and inventory, etc to
make the playbook nicer to use.
Change-Id: Ibf9eded62f87d338b4b215e8b0b37d80ec86b219
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This playbook runs the cicdansible roles on hosts defined, statically
or dynamically, in the inventory.
It deploys onap infrastructure on openstack, then installs onap.
Change-Id: Idf618ff137c1adbad8f9b2f1bf878eaa9f20465d
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This role generates offline installer parameters and inventory, downloads
offline installer sw package, and initiates onap installation, waiting
for it to finish.
Change-Id: I5c79d9732b8d77f57278f5009f4e5089377fc2cf
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This change adds a role that configures
deployed onap infrastructure instances. This role is generic
and not openstack dependent.
This role configures instances to reach each other by name, to mutually
authenticate with the given ssh keys, etc. This
mainly makes it easier for developers to do troubleshooting, and
allows offline installer to work smoothly.
Change-Id: I26750b0a8a69f56297f0a5f7ff491463ed2e9e32
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This role deploys the onap infrastructure on open stack
using the heat template, passing it needed
parameters from inventory. It also formats and mounts
all cinder volumes attached to the instances, so that they can be utilized.
Change-Id: I0cb13a5b55bd31445acaa2f7c1db80a925daa5cb
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This change adds the ansible module that retrieves facts about floating ips,
that is missing from the ansible core modules.
This module is used to translate floating ips into their resource
identifiers before using heat template.
Change-Id: I7a8756eff30b33f82dade2f35227ff241a8c5972
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This change adds the basic inventory file and group_vars used when running
cicdansible playbook to deploy onap on openstack.
This inventory contains only instances that must be present, other inventory
entries are dynamically registered during install.
Also, it delegates to group_vars for things like floating ip
addresses.
group_vars contains default settings for the playbook, and especially the
all.yml must be modified for the environment to be deployed.
Change-Id: Ia93e6b98841d7edc45699b44b2479af6daff6c4f
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This change adds a heat template that
deploys empty onap infrastructure on open stack.
Infrastructure consists of an installer instance + infra instance +
specified number of kubernetes nodes.
All instances are empty after creation, and live in the internal network with
cidr 10.1.0.0/24.
They are isolated by security groups in order not to have
external network access except possibly the intranet, but
it is possible to enable internet access if required.
Change-Id: I70024e1e2344ed75f443f03b2239b460a71d0151
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Adds the .gitignore file for the ansible playbook.
Change-Id: If6e52f55e045ccccd164992108d1977c2a46a413
Issue-ID: OOM-2042
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|