summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-09-20Merge "Replace jinja for with filter expression in helm deploy call"Michal Ptacek1-2/+2
2019-09-11Removing unused debian datalistMichal Ptacek1-22/+0
Formely used by appc-ansible-server in Casablanca Change-Id: I8043f8338f84c09212386c7924770d6df27024ed Issue-ID: OOM-2098 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-09-06Add ability to put dockerdata-nfs on root diskMichal Zegan3-1/+18
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>
2019-09-06Make kubernetes nodes to be placed on different computesMichal Zegan3-0/+18
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>
2019-09-06Change the way how volume map is constructedMichal Zegan2-11/+34
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>
2019-09-04Merge changes from topic "OOM-2042"Michal Ptacek30-0/+932
* 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
2019-09-04Merge "Add configurable etcd storage feature"Michal Zegan4-0/+63
2019-09-04Merge "Move help script to tools"Michal Zegan1-0/+0
2019-09-04Merge "package.py - Enable adding AUX images in to packages"Michal Zegan1-18/+47
2019-09-04Merge "Skip annoying message if config.json not exists"Michal Zegan1-1/+1
2019-09-04Merge "Adding proper npm logout"Michal Zegan1-0/+1
2019-09-04Change the way of providing docker login passwordTomáš Levora1-1/+1
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>
2019-09-04Add ansible configuration fileMichal Zegan1-0/+18
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>
2019-09-04Add cicdansible playbookMichal Zegan1-0/+36
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>
2019-09-04Add onap installation roleMichal Zegan5-0/+94
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>
2019-09-04Add onap instance configuration roleMichal Zegan4-0/+44
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>
2019-09-04Add ansible role to deploy onap infrastructure on openstackMichal Zegan7-0/+153
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>
2019-09-04Add floating ip fact retrieval moduleMichal Zegan1-0/+61
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>
2019-09-04Add inventory for cicdansible playbookMichal Zegan5-0/+113
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>
2019-09-04Add heat template to deploy onap infrastructureMichal Zegan5-0/+411
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>
2019-09-04Adding proper npm logoutTomáš Levora1-0/+1
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>
2019-08-30package.py - Enable adding AUX images in to packagesMateusz Pilat1-18/+47
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
2019-08-27Skip annoying message if config.json not existsTomáš Levora1-1/+1
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>
2019-08-23Add configurable etcd storage featurePetr Ospalý4-0/+63
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>
2019-08-22Add the .gitignore for cicdansibleMichal Zegan1-0/+2
Adds the .gitignore file for the ansible playbook. Change-Id: If6e52f55e045ccccd164992108d1977c2a46a413 Issue-ID: OOM-2042 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-08-22Merge "Add helm redeploy tool"Michal Ptacek1-0/+537
2019-08-16Move help script to toolsPetr Ospalý1-0/+0
Change-Id: I03d1c65d05df534aecff5c6d08cfbdf97705dbdf Issue-ID: OOM-1984 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-08-16Add helm redeploy toolPetr Ospalý1-0/+537
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>
2019-08-16Merge "Removing deprecated packaging script"Michal Ptacek4-360/+5
2019-07-24Add support for multiple lists in nexus blob buildTomáš Levora1-25/+78
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>
2019-07-17Merge "Rewrite build_nexus_blob script to use functions"Michal Zegan1-65/+86
2019-07-15Add .gitreviewCédric Ollivier1-0/+4
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
2019-07-15Merge "Remove kubectl install from prepare-rke"Michal Ptacek2-6/+3
2019-07-15Merge "Fix build guide/script regarding python versioning"Michal Ptacek3-3/+3
2019-07-15Merge "Update INFO.yaml file"Michal Ptacek1-0/+72
2019-07-12Remove kubectl install from prepare-rkeMichal Zegan2-6/+3
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>
2019-07-12Removing deprecated packaging scriptTomáš Levora4-360/+5
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>
2019-07-12Replace jinja for with filter expression in helm deploy callMichal Zegan1-2/+2
This replaces jinja for constructions used to add helm arguments with jinja filter usage. Change-Id: Ia47635466f4a9251d1f33a42080d3538fc52587d Issue-ID: OOM-1911 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-07-12Update INFO.yaml fileJessica Wagantall1-0/+72
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>
2019-07-11Removing deprecated OOM patching scriptMichal Ptacek1-70/+0
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>
2019-07-11Fix build guide/script regarding python versioningBartek Grzybowski3-3/+3
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>
2019-07-11Rewrite build_nexus_blob script to use functionsTomáš Levora1-65/+86
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>
2019-07-10Merge "Fix docker user settings backup"Michal Ptacek1-5/+5
2019-07-10Merge "Adding generating of docker images list"Michal Ptacek1-0/+22
2019-07-10Merge "Final doc tuning for Dublin branch"Michal Ptacek3-24/+31
2019-07-10Merge "Removing duplicates from onap list"Michal Ptacek1-22/+0
2019-07-10Final doc tuning for Dublin branchMichal Ptacek3-24/+31
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>
2019-07-10Merge "Verify dependencies for build_nexus_blob.sh are installed"Michal Ptacek1-2/+19
2019-07-10Merge changes Iee382756,I473f022cMichal Ptacek5-3/+6
* changes: Allow overriding docker version in prepare-docker-dind Specify source ip for rancher agent
2019-07-10Merge "Use cluster_ip for rancher server url"Michal Ptacek2-2/+1