summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-04Merge "Dont crash patching on missing chart file"Michal Ptacek1-11/+25
2019-03-04Merge "Rename casablanca patch file"Petr Ospalý3-2/+2
2019-03-04Merge changes from topic 'infra'Petr Ospalý3-9/+8
* changes: Save docker images based on list Fixed path to list for git repos download
2019-03-04Merge "Create setup role"Michal Ptacek3-24/+37
2019-02-28Dont crash patching on missing chart fileMichal Ptacek1-11/+25
In some deployments not all chart files might be present. We should not fail if some components are not deployed. Issue-ID: OOM-1691 Change-Id: I6a0ae05e753a2de6301ee0188022a958868776ad Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-28Rename casablanca patch fileMilan Verespej3-2/+2
Since there is no difference in patching between 3.0.0 and 3.0.1 release there name of patchfile that includes this tag is unnecessary and confusing. Issue-ID: OOM-1687 Change-Id: I751398f15c38dab83e36ed0b8f555533497291f8 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-28Save docker images based on listTomáš Levora2-7/+6
Save all docker images to tarballs based on list instead of saving all local registry to prevent not necessary images in the package Issue-ID: OOM-1683 Change-Id: Iaf4e092ff124f753d50be876d6ab564c7f349ddc Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-28Fixed path to list for git repos downloadTomáš Levora2-2/+2
Added missing part of file name for correct dowload of git repositories Issue-ID: OOM-1684 Change-Id: Ic8235a04ea12e13ca7e4165734bd15a81f7c8578 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-27Merge "Add download of missing dependency python-docker"Tomáš Levora1-0/+4
2019-02-26Create setup roleSamuli Silvius3-24/+37
Creating setup role and moving functionality from setup playbook into new role. This will make roles easier to test and make it easier to implement other OS support later. Issue-ID: OOM-1663 Change-Id: If8b93066997c2442c0b94cb2a95fb535d9560b2b Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-26Add support for ONAP documentation projectPetr Ospalý5-0/+14
Provided the mandatory doc structure: docs/ index.rst ... Added a couple of .gitignore for better testing and development. Change-Id: I722806681e4844e0ea915006bc7de6018d3073d7 Issue-ID: OOM-1672 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-02-21Fixed an issue in RST formatTomáš Levora1-7/+12
Fixed errors in tables mainly with blocks arround lines 321 and 324 causing troubles with correct interpretation Issue-ID: OOM-1613 Change-Id: Ia265a5d5f85412ac237c790fec32fb62f0dfba07 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-20Merge "Adding updated list files for ONAP 3.0.1"Petr Ospalý10-25/+2551
2019-02-19Add Installation guide for the offline-installerPetr Ospalý1-0/+421
Change-Id: I033755e0c9b2d5305b360e15b608a68f6f99d6ca Issue-ID: OOM-1630 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-02-18Merge "Fix site.yml playbook by removing the setup.yml"Samuli Silvius1-2/+10
2019-02-15Merge "Fix for malformed certificate issue"Michal Ptacek1-1/+1
2019-02-15Fix for malformed certificate issueMichal Ptacek1-1/+1
Without this patch certificate is distributed in malformed shape and leads to policy-drools pod not working Issue-ID: OOM-1662 Change-Id: I1e5f51c6aa7857a9347d2d8ef8d523508d094df0 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-15Fix site.yml playbook by removing the setup.ymlPetr Ospalý1-2/+10
setup.yml is an optional playbook which may be replaced by other means of securing the passwordless login Change-Id: Ia64eee6351e9cabc638149b5ed668885058aef89 Issue-ID: OOM-1661 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-02-15Adding updated list files for ONAP 3.0.1Tomáš Levora10-25/+2551
This change is adding updated resources lists for offline-installer for the tag onap_3.0.1 It's fixing some issues messed by wrongly done rebase in a previous patch and sets some default values Issue-ID: OOM-1615 Change-Id: I58001860d4accdf89cacd315d1af81240aee1303 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-14Conditional login update after aux_data_path setMichal Ptacek2-0/+2
After setting-up of default value for aux_data_path some of the conditional logic must be updated. Issue-ID: OOM-1659 Change-Id: I0472c2e848f9215186b8aa11557165f606cac9d4 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-14package script do not fail on errorSamuli Silvius1-2/+3
Make build/package.sh script to fail on all errors. Issue-ID: OOM-1660 Change-Id: I3537c719740d4476c07dce284922e352460ae52e Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-14Merge "Fix typo in helm plugins path"Michal Ptacek1-1/+1
2019-02-14Add download of missing dependency python-dockerTomáš Levora1-0/+4
Fixing a bug with missing python-docker package in local RHEL repository for offline-installer Issue-ID: OOM-1657 Change-Id: I42152f8acf81afcd825bd79378c5a8a8a803d047 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-14Fix wrong value for booleanMilan Verespej1-1/+1
Issue-ID: OOM-1629 Change-Id: I80ea6e72c9e5dbe3fdc63db0d177f541c749c58e Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-14Fix typo in helm plugins pathMilan Verespej1-1/+1
Issue-ID: OOM-1638 Change-Id: I00607f4861d153dc73f9ce516d9bd3b9c490a9cc Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-14Fix nfs on nodes does not install nfs packagesMilan Verespej3-2/+11
Issue-ID: OOM-1640 Change-Id: Ieb8d736e543d58facb9a84c3366c5b15418e17d2 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-13Merge changes Idcc4c510,I81261f51,Ica9fc768,I7b5d135aMichal Ptacek7-290/+237
* changes: More default values and simplify onap config Clarify packaging variables documentation Helm install optional and default values Helm charts dir commenting causes / dir copying
2019-02-13Merge "Master playbook for installation"Michal Ptacek1-0/+12
2019-02-13Merge "Updated list of http files for Casablanca"Petr Ospalý2-5/+5
2019-02-13More default values and simplify onap configSamuli Silvius5-122/+47
Populate more default values for ansible all.yml configuration to make it simpler by default for user. Removed project_configuration variable as it caused just confusion. Replaced that mostly by using app_name variable. According to above changed simplified actual configuration config/application_configuration.yml used to install onap. Mostly removed repeation of comments. Also updated ansible/application/README.md that was not updated for a while. Issue-ID: OOM-1633 Change-Id: Idcc4c510b64bb61edd874d0e0616cdb41938f2d3 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-12Master playbook for installationSamuli Silvius1-0/+12
Create site.yml playbook as default way to run whole offline installer installation. It's mainly a document for a user about the intended order of the playbooks to run. Issue-ID: OOM-1645 Change-Id: I54640bf7d926c7c80be9bdb542683f0ba70a633f Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-12Clarify packaging variables documentationSamuli Silvius4-155/+138
For the user package.sh/package.conf is a bit confusing and variables are not well named nor documented. Binary definition can be also simplified by providing just single directory to take binaries from. Corresponding variable documentation on installer side (ansible code) is also confusing and missing relation to packaging variables This commit aims on improving that documentation. Issue-ID: OOM-1633 Change-Id: I81261f51d393f434eac26c4a46624388671bd36b Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-12Helm install optional and default valuesSamuli Silvius4-21/+58
Make Helm applicaton installation optional by allowing user not to provide Helm charts. Then only empty Kubernetes cluster will be installed. Provide some reasonable default values for Helm charts configuration variables both in package script and ansible installer itself. User provided Helm charts configuration must be in sync with packaging and installer, provided some clarifying comments for that. Issue-ID: OOM-1629 Change-Id: Ica9fc76856cb50c9d636bea99a326736736c7a56 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-12Helm charts dir commenting causes / dir copyingSamuli Silvius2-6/+8
HELM_CHARTS_DIR in package.conf is unnecessarily mandatory. When commenting out this variable, packaging script copies machine's root directory content into package. This commit will make HELM_CHARTS_DIR optional and its existence is checked in package.sh script. Issue-ID: OOM-1626 Change-Id: I7b5d135ab130a28491e7223b66f26b50ccce5fca Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-11Change helm plugin install to copy moduleMilan Verespej4-19/+25
Since helm plugin install command is not the most suitable for Ansible and it basically just creates link to plugin original location this change is using Ansible's copy module instead. Plugin is copied from install server because copy module doesn't support recursive directory copying with remote_src option. Issue-ID: OOM-1638 Change-Id: I9e9dcd8d33f8917296f576c2b34c0c576c9c126c Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-11Merge "Fix simulated_hosts template"Michal Ptacek1-1/+1
2019-02-08Configuration file option for packagingSamuli Silvius1-12/+23
At the moment configuration file for the package.sh script is fixed by name and location package.conf in the same dir as the script. Allow user to give configuration file as parameter for the script. Issue-ID: OOM-1627 Change-Id: I8b728996ead73a48b88bbbf364ec913217cbd8d6 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-02-08Updated list of http files for CasablancaTomáš Levora2-5/+5
Renamed to use prefix for Casablanca 3.0.0 and updated some blueprints required. Updated download script accordingly Issue-ID: OOM-1615 Change-Id: I65add45a383f5f7d849e360ec6e65dd65cd501e7 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-08Merge "Use git format of patches"Tomáš Levora2-168/+219
2019-02-08Merge "Adding PyPI repository and packages to Nexus"Michal Ptacek2-3/+35
2019-02-07Adding PyPI repository and packages to NexusTomáš Levora2-3/+35
This update for building of Nexus repository for offline installer adds autoconfiguration of pipy repository and uploading pypi packages to it based on related list Issue-ID: OOM-1619 Change-Id: Id49aad2936e7e56848500c47a43a16f1f58db8e3 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-07Create APT repositoryTomáš Levora3-13/+50
Adding creation of APT repository for resources Issue-ID: OOM-1619 Change-Id: I2d4f14dfcbf2508d31bbc105828853c01733bb3e Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-07Create offline data lists to cover CasablancaTomáš Levora18-336/+476
Adding casablanca related data lists and changing the lists naming rule Modifying related download scripts accordingly Adding parameters for project version to download scripts to be able to use version specific lists Removing download-oom.sh as it should be done in helm charts preparation and patching steps Moving additional build related stuff to build directory Adding missing tags Issue-ID: OOM-1615 Change-Id: Ic5902f646a1f0f40ba615562f8d9b1a43cf8480b Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-02-07Fix simulated_hosts templateMichal Zegan1-1/+1
This fixes simulated_hosts template to use cluster_ip instead of ansible_host as source of infra ip. Change-Id: I02e205c031d94442b3a3debeee8baebaedc7180d Issue-ID: OOM-1637 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-02-06Use git format of patchesMilan Verespej2-168/+219
To avoid dependency on patch utility and to have standardized look of patch file this change uses git-format and git-apply to patch charts. Change-Id: I1c63334619bf6091b5ab50a4eebfadb3c28a2616 Issue-ID: OOM-1634 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-06Fix sdnc/appc-ansible-server not runningMilan Verespej3-2/+45
These pods are installing packages from apt and pypi repositroies during runtime. This change creates patch and makes necessary modifications for packages being installed from offline repositories. Change-Id: Id71f40f94c8641ad0c9d1ba4c87d3daea70c828e Issue-ID: OOM-1619 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
2019-02-06Inserting our root certificate into policy podsMichal Ptacek2-0/+286
This commits introduced another bunch of patches for OOM charts we need in Casablanca to be able to get our certificate trusted by policy pods which are collecting maven artifacts from our nexus during runtime. Change-Id: I8289b155970e57059bccb5dfe09231e28bf27a32 Issue-ID: OOM-1609 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-06Extract certificate to cloudify-managerMichal Ptacek2-0/+39
DCAE bootstraping require that bootstrap/cloudify-manager pods has to trust our certificate. We are mounting path to this certificate to respective pod. Change-Id: Ie2ea796851e6def52d4ec556c9d5b19633e8a743 Issue-ID: OOM-1618 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-06Setting-up NPM registry for dgbuilderMichal Ptacek5-616/+225
This commit is showing-up how OOM patches must be handled in casablanca release. In Dublin we would like to avoid this completely OOM-1610 so here we are just reproducing the same logic which was already implemented in Beijing for bash offline installer. In general it works in a way that OOM charts are patched during offline platform build and values are configured in install time using pre-install application role/hook. Change-Id: I1a2425ef63edd6bc08dcecf0fcae7fd6e553d0ed Issue-ID: OOM-1616 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-02-05Merge "Fixing missing clause for enabling helm deploy"Michal Ptacek2-3/+13