summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-10-03Merge "Add more info to generated blob data"Bartek Grzybowski1-1/+7
2019-10-02Fixing invalid hostname filled by ci-installerTomáš Levora1-3/+3
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>
2019-10-01Updating pip packages to newer versionsTomáš Levora1-5/+5
As there are some issues with elder versions of some pip packages, this list contains actual versions Issue-ID: OOM-2118 Change-Id: I12503480fab8b53c6f0e21aa7fba8d2dd8a3d779 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-10-01Update INFO.yamlBartek Grzybowski1-4/+6
Change-Id: I0fd5683089aa1c08e07ac1ab282517e915169d4c Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> Issue-ID: CIMAN-134
2019-09-26Merge changes from topic "OOM-2112"Michal Ptacek3-3/+11
* changes: Make cicdansible to set external ip Use external_ip to populate the node address Add external_ip variable
2019-09-20Add more info to generated blob dataTomáš Levora1-1/+7
Changed the way of storing nexus image information to nexus.ver in built blob Added information about OOM commit from which was the used onap docker images list generated Added information about oom/offline-installer commit used to build the nexus blob Example of the resulting nexus.ver in the nexus_data: nexus_image=sonatype/nexus3:3.15.2 nexus_image_digest=sha256:5d3600fd5cf27c3a789e7d4a3ce9448086d73a4247a118d8cdcdbabb1aff4ff7 used_image_list0=custom_docker_images.list used_image_list1=onap_docker_images.list used_image_list2=rke_docker_images.list oom_repo_commit=106dbc9a0224a3259f1eaf24d4bcc8571ed591ab installer_repo_commit=574255919970ffaf506c08d3eeaea8d6d7656236 Issue-ID: OOM-1969 Change-Id: Id824f97079fbd578cdc7af1ad959e95a52fe1d2c Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
2019-09-20Merge "Replace jinja for with filter expression in helm deploy call"Michal Ptacek1-2/+2
2019-09-16Make cicdansible to set external ipMichal Zegan1-0/+4
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>
2019-09-16Use external_ip to populate the node addressMichal Zegan1-2/+2
Use the new external_ip inventory variable to populate node address. Note that cluster_ip is still used if external_ip has not been set. This makes it possible to connect to kubernetes apiserver using the external_ip without disabling ssl cert verification. As an added bonus, the inventory hostname is now used as the node name to make node names more predictable. Change-Id: I3cc25c488d68f2f858a5eb3438d96285fa7517ca Issue-ID: OOM-2112 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2019-09-16Add external_ip variableMichal Zegan1-1/+5
Adds the external_ip variable that can be used to set ip different from cluster_ip, like public/floating/elastic ip, that can be used to externally communicate with kubernetes nodes. Mainly useful for the control plane and communication with api server. Change-Id: Ie840bff4b8479081b7397a42935c9db53db1bf4f Issue-ID: OOM-2112 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
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>