Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
* changes:
Add ansible configuration file
Add cicdansible playbook
Add onap installation role
Add onap instance configuration role
Add ansible role to deploy onap infrastructure on openstack
Add floating ip fact retrieval module
Add inventory for cicdansible playbook
Add heat template to deploy onap infrastructure
Add the .gitignore for cicdansible
|
|
|
|
|
|
|
|
|
|
|
|
As --password is insecure way, changing to recommended way using
--password-stdin instead
Issue-ID: OOM-2087
Change-Id: Ibe1799e9de63476540288b84726260f712d12616
Signed-off-by: Tomáš Levora <t.levora@partner.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>
|
|
Adding npm logout to prevent authentification issues with newer versions
of npm at repeated execution
Issue-ID: OOM-2086
Change-Id: Icb7d70ef1b7c2037dd9e392693b2c51cf8c60f25
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Make possible to add custom images in to aux package + add versioning to package info and file names. Issue-ID: OOM-2078
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Change-Id: Ibe141f386b2534aa59c6a3a31052e454b3a79e6b
|
|
Preventing messages showing in case of non existing config.json file
Issue-ID: OOM-2077
Change-Id: Ifb38495d93934b2015893d2c1fc62ec4d480171b
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Plus the option to have etcd on tmpfs (volatile storage) for little
bigger (maybe) speed (NOT FOR PRODUCTION DEPLOYMENT!).
Issue-ID: OOM-2058
Change-Id: I0bbfc4fbae7f6b46e2fae49656437cd6748efd49
Signed-off-by: Petr Ospalý <p.ospaly@partner.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>
|
|
|
|
Change-Id: I03d1c65d05df534aecff5c6d08cfbdf97705dbdf
Issue-ID: OOM-1984
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
Simple script to try to redeploy failed charts or explicitly desired
chart(s).
It supports override files for helm - but please, beware that helm or
more specifically the onap helm plugin (deploy.sh) is not capable of
handling whitespace in filenames so I don't support that in the script
either (I made a version which does but it is no use if helm will break
anyway).
Change-Id: I69bf0672a64c45e30d4e4239da561647d00637a7
Issue-ID: OOM-1984
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
|
|
Because of separated lists for onap, rke or rancher adding possibility
to pass multiple lists to build_nexus_blob.sh as parameters
Issue-ID: OOM-1890
Change-Id: Ib5aa8489b612dfd6099116695b4ccc3be49a82bd
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
|
|
It eases configuring remote via git-review -s
Issue-ID: DOC-505
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I2f82f8797669d1bf9e0bbefcbb345ce4e463a60a
|
|
|
|
|
|
|
|
This is needed because prepare-kubectl role can do just the same.
Also fixed rke tests to match.
Change-Id: I808df650a5f755e09c26d13db62ecfc1504a317c
Issue-ID: OOM-1907
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Removing packaging script written in BASH and its configuration as
it's function was replaced by new python script build/package.py
Issue-ID: OOM-1932
Change-Id: Id48c2ef69d64012c456661358106703eab7d85c3
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Update missing information blocks and
indentation to pass verify job.
Change-Id: I41c96af4109df516fea771d1b0681bc2bff156d6
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
Logic of that script was included into redesigned packaging.
Issue-ID: OOM-1932
Change-Id: I7fe6e69ae3abb52213d0ebd192e0df882aab49ed
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
|
|
Specify minimal docker release in build/requirements.txt
and build/download/requirements.txt, not a fixed one.
Change interpreter for build/package.py as it's Python 3
compliant.
Change-Id: I4352aa957371ce85bdea021101ed2f5994f9eedb
Issue-ID: OOM-1979
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Rewrite build_nexus_blob.sh script to functions for better future
maintenance and better possibility to add new features
Issue-ID: OOM-1977
Change-Id: I697462efbbeddbe3d89aec47ae7fcfff9f4147b7
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
|
|
|
|
|
|
|
|
This commit is doing just some small polishing of documentation
before creating Dublin branch for the offline installer.
Issue-ID: OOM-1870
Change-Id: I969b15400eb8064d6d097caa0f712fbf7ec5277a
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
|
|
|
|
* changes:
Allow overriding docker version in prepare-docker-dind
Specify source ip for rancher agent
|
|
|
|
Fixing docker user settings backup and restore in build_nexus_blob.sh
Issue-ID: OOM-1968
Change-Id: I3f97cb7d0c16cce083388a87aef443ab805ca0e5
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
Adding a note to BuildGuide with the possibility to generate docker
images list based on actual OOM repository
Issue-ID: OOM-1965
Change-Id: I93c9f754f6bd135396eedefeba22c8be6f77388d
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
|
|
Download does not support python2 so shebang
could cause problem.
This commit fixes that or removes shebang where
not necessary.
Issue-ID: OOM-1964
Change-Id: I443f5ef61b9bddfddba66d858d8f65c5ceacd90a
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
|