summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-03[docker] compose: Switch ip_range to ipv4_addressAlexandru Avadanii3-9/+11
Explicitly set the ipv4_address for each network instead of relying on ip_range allocation, which seems to fail / not be picked up. While at it, use docker-compose 1.22 or newer to bypass slow Docker network creation with 'macvlan' driver [1]. [1] https://github.com/docker/compose/issues/5248 Change-Id: Ic31851522576ebb2407d869b7c3ed7bd06951922 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 904183e275ca6b2aa6cad11a330fc060d5379b3e)
2018-12-01[state] maas: Retry first state apply on mas01Alexandru Avadanii1-1/+1
Change-Id: I6d2fab853b25d2f235e27c83a355ebc2c520771c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 20dcc03e2acd0d143723c3c319f73c19d894718c)
2018-12-01[patch] docker: Explicitly install python-futuresAlexandru Avadanii1-4/+5
For x86_64, the Saltstack bootstrapping scripts fetch a custom build of `python-tornado` DEB package, which being arch-specific won't be picked up on AArch64 (and a similar version from Ubuntu Xenial repos will be used instead). Although the Ubuntu package works just fine, it lacks a hard dependency on `python-futures`, which became mandatory in Salt 2017.7.8, see [1]. Explicitly install `python-futures` inside cfg01 Docker container during build, which will be a no-op on x86_64 and fix the issue on AArch64. [1] https://github.com/saltstack/salt/issues/50220 Change-Id: Ie4aad064572788c0852aaf398f21437b456becbe Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit cee4e0ca227509ea8386934a15f748b8077f4e18)
2018-11-29[docker] build: Allow cache invalidationAlexandru Avadanii5-24/+87
While at it, fix emoji issues with latest virtualenv [1]. JIRA: FUEL-398 [1] https://github.com/pypa/pipenv/issues/3223 Change-Id: Ice5937222bf75c1ddadc6b9f1994635bc10faf57 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit f03a33bc58135acc7e4420efaaf34c26a32d6142)
2018-11-28Merge "[cfg01] Honor idf.net_config.mgmt.ip-range" into stable/gambiaAlexandru Avadanii2-3/+2
2018-11-28Merge "[vcp] kvm: Re-apply sysctl settings after libvirt" into stable/gambiaAlexandru Avadanii1-1/+1
2018-11-27Merge "submodule: Bump salt-formula-maas" into stable/gambiaAlexandru Avadanii7-4/+50
2018-11-23[cfg01] Honor idf.net_config.mgmt.ip-rangeAlexandru Avadanii2-3/+2
Previously, cfg01 mgmt address did not consider the `ip-range` param, leading to a mismatching `cfg01` entry in /etc/hosts on cluster nodes. Change-Id: If6f605f4b2817c3751074bef60ebde298bc74b7d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 9521ac10cb9cd22e6e1ab7c04d8882318ce8ba35)
2018-11-23Merge "[patch] Set ignore_overwritten_missing_references" into stable/gambiaAlexandru Avadanii1-0/+34
2018-11-21submodule: Bump salt-formula-maasAlexandru Avadanii7-4/+50
* bump salt-formula-maas git submodule; * sync AArch64 initial salt config with the x86_64 default config; * bump Pharos git submodule to sync `power_pass` MaaS configuration paramater naming; Change-Id: Ic59dd8becb6d83a9e67004c38d51681c88c4be7c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 4c3c9c9a321d724e137f61e23509b6734ac836b7)
2018-11-21Merge "[baremetal] cmp: Support per-node PXE/admin iface" into stable/gambiaAlexandru Avadanii3-2/+3
2018-11-21[vcp] kvm: Re-apply sysctl settings after libvirtAlexandru Avadanii1-1/+1
libvirt postinstall script configures `virbr0` by default, which we later remove & disable. However, on network creation, libvirt also enables ip_forward, so re-run kernel.sls to force it to 0 without a reboot. Change-Id: Ie27fbf995c10ad9cd0fa0c28c29bd88161f04fd7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit dc2e7381046ef617d1bf1af2261e9e84627bb8c4)
2018-11-21[patch] Set ignore_overwritten_missing_referencesAlexandru Avadanii1-0/+34
Workaround broken configuration default option in `reclass` [1]. [1] https://github.com/salt-formulas/reclass/issues/77 Change-Id: I8a6e1d9fcd20f32e2c9edff59f6b538dc94008fb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 57f11cf2d7ae13c7ccf42b12b5e54a5953a3c8ec)
2018-11-19[baremetal] cmp: Support per-node PXE/admin ifaceAlexandru Avadanii3-2/+3
intel-pod18 has different network interfaces on its compute nodes, requiring support for per-node PXE/admin NIC name override, instead of assumming all computes use the same NIC naming. Change-Id: I2b2e5ec6745601576ead898370241b743c963e3d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit de76e69ed608c8b631349c4733defc2f749858f7)
2018-11-16[ha] kvm: Disable ip_forwardAlexandru Avadanii1-0/+2
kvm nodes should not try to route traffic. This also silences some bogus 'martian packet' warnings about prx public VIP reaching br-ex. Change-Id: I608a561d292be3042d20fcbe48b2f5c816c4e8bf Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 83e62e848c607dfa6fa7be52a34ede8a4572500e)
2018-11-13Revert "Conform configs to updated Redis v5.0 package"Michael Polenchuk2-2/+2
This reverts commit 7c5c2a8353177a393f72d244470e34f23c46c3e8. The package of Redis v5.0 has been removed from repository. Change-Id: Ic9449314e9e177435878542eecbe5f4a8b848549 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 107c270af5d07302f73fd07f68c167acde2180f9)
2018-11-09Conform configs to updated Redis v5.0 packageopnfv-7.0.0Michael Polenchuk5-7/+25
Also disable transparent hugepages on telemetry hosted nodes to avoid latency and memory usage issues with Redis. Change-Id: I3c7a0be6edbc51141f5d79d7368583afacef9025 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-11-08[docs] Fix/update broken linksAlexandru Avadanii3-11/+11
Change-Id: I2859bfbde40664cece5984b148ffe9c0a9a0a81b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 819c64f2b3d78b3c857b0dc390cad70a7d573266)
2018-11-07Merge "[docs] Add PXE/admin DHCP warning" into stable/gambiaAlexandru Avadanii2-15/+10
2018-11-07[docs] Add odl-ovs-noha scenario docsMichael Polenchuk3-0/+55
Change-Id: I67a1af46e1d392f3bd6042f4b7d122e30b6e8f99 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 06d3098783a1fe679cb81fffc982b2335a273ef0)
2018-11-07[docs] Add PXE/admin DHCP warningAlexandru Avadanii2-15/+10
While at it, fix pdflatex build by replacing a warning with a note, since warnings inside tables leads to breakage with `pdflatex`. Change-Id: I2edbb2c12b579e6581fb32294d12b760270dc13d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit f517ccab0e2aa761ecbb5f6d2359255e338b0070)
2018-11-07Merge "submodule: Bump Pharos for arm PODs updates" into stable/gambiaAlexandru Avadanii1-0/+0
2018-11-07Update release dateCristina Pauna1-1/+1
Change-Id: I9a5750b0ed0ce81030902cc794c137433099cc3e Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> (cherry picked from commit 612916f3129737ec7ac51964df0c281b474d46e0)
2018-11-07Merge "Set Docs Version to Gambia" into stable/gambiaAlexandru Avadanii1-0/+2
2018-11-06submodule: Bump Pharos for arm PODs updatesAlexandru Avadanii1-0/+0
Change-Id: I8fdc24130b3887defc2d7b53f94530f71b28aa02 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit bcb2e095f9c5d83f22701882d5411dab40a06399)
2018-11-06Merge "[docs] Refresh for Gambia release" into stable/gambiaAlexandru Avadanii60-1640/+2590
2018-11-06[opendaylight] Update SQLAlchemy libraryMichael Polenchuk6-0/+21
To conform to the changes in networking-odl driver: https://review.openstack.org/604755 Change-Id: I6aaefe9d6d4f26652464f82b7c7e45694387c8af Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit aa0ccb8daea30e290cf5824e639ddd153f2da3fe)
2018-11-06[docs] Refresh for Gambia releaseAlexandru Avadanii60-1640/+2590
- s/Fuel@OPNFV/OPNFV Fuel/g; - added README files for ci/scenarios/patches directories; - refresh & simplify cluster overview diagrams; - unify labels across docs; - fix TOC numbering; - remove local labs PDF/IDF files, as they are merely duplicates of Pharos files included as a git submodule; JIRA: FUEL-397 Change-Id: I87f61938eeb67f13fd9205d5226a30f02e55d267 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 170d2d1c195d001d6ca786364aaf3c10e714ae36)
2018-11-05Specify barbican endpoint for glance serviceMichael Polenchuk2-0/+4
By default castellan key manager gets public endpoint of barbican service which isn't preferable in terms of cluster ops, so specify internal endpoint explicitly. Change-Id: Ie686ceb936132143743af18fcb4960ea15a8b93c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-11-02Set Docs Version to GambiaTrevor Bramwell1-0/+2
The default version and release to OPNFV documentation is 'latest'. Even though these docs come from the stable branch, setting this to 'Gambia' makes it clearer when reading the docs which version you're looking at. Change-Id: Ie1ef418de7e6dedb624f770cb7e4a5a820f2c1ce Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-31Merge "Add odl bgpvpn noha scenario to fuel" into stable/gambiaAlexandru Avadanii10-1/+154
2018-10-31Merge "[submodule] Bump pharos git repo for pod changes" into stable/gambiaAlexandru Avadanii4-3/+3
2018-10-31[submodule] Bump pharos git repo for pod changesGuillermo Herrero4-3/+3
stable/gambia specific changes: - align reclass parameter naming after [1]; - include ODL public IP definition from [2], preparing for ODL BGPVPN scenario integration; [1] https://gerrit.opnfv.org/gerrit/#/c/63023/ [2] https://gerrit.opnfv.org/gerrit/#/c/63273/ Change-Id: I698d97f3dbf8cdbe7002c5e4b02ac1a51dacdbfb Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit ec817180eece7be6e161e4633e08f41ea94cb903)
2018-10-31[ha] Add barbican to nginx on proxy nodesDelia Popescu1-0/+1
JIRA: FUEL-395 Change-Id: I8bd3a8e914828548e2ded0915770550ce3673897 Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit 01bbce8b3fbfb01a6a1412d0864d49b6f1cb01c1)
2018-10-30Add odl bgpvpn noha scenario to fuelStamatis Katsaounis10-1/+154
JIRA: FUEL-393 This patch adds support of os-odl-bgvpn-noha scenario to fuel installer. Change-Id: I4e053e38aac70023b0a81f9a41b415c7a1aae3af Depends-On: I57288bbb42f4c75af19f3807f8f15b44482c066c Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com> (cherry picked from commit 7f41e5fde88df7c312175a90c536550763d4c271)
2018-10-29Merge "Enable IPv6 on compute nodes for noha and ha" into stable/gambiaAlexandru Avadanii2-1/+6
2018-10-25Enable IPv6 on entire cluster by defaultMichael Polenchuk6-23/+1
IPv6 has been enabled back by commenting out the cis-3-3-3 yaml/class source in linux service reclass. Change-Id: Ia8f4e2ddbb98f9316e6ce5136badbb14ecb277c5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-10-16Enable IPv6 on compute nodes for noha and haDelia Popescu2-1/+6
Change-Id: I46c89e3005aefea8ccbeb4779efe513bf2be84e8 Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit d730e4b011a5770ef29655028638b490fe34a339)
2018-10-12Set volume device name to sdcDelia Popescu2-2/+2
Functest is now using scsi volume type for fuel Set correct volume device name for functest volume tests JIRA: ARMBAND-402 Change-Id: I2265901eeb624a395388f6ce8afae226b129c5be Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit f7f3623807c6ff914b28e89b157e3c9e3578d507)
2018-10-02[license] Cleanup duplicate LICENSE filesAlexandru Avadanii8-101/+706
github.com auto-detects the licensing terms if and only if the root directory contains a single license file. To leverage this, distinguish via main README file between: - main fuel repository license (apache-2.0); - documentation license (cc-by-4.0); - 3rd party licenses (non-exhaustive list for 3rd party projects); While at it, add missing license headers to docs auxiliary files. Change-Id: I7bd25573b0c2b8d16881c7ae72198f5981683c08 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 650b54aeead7eee047ed17eacb4bc401c936a0aa)
2018-10-01Merge "[INFO] Add Cristina as committer" into stable/gambiaCristina Pauna1-0/+4
2018-09-28[cleanup] Remove obsolete prototypesAlexandru Avadanii2-447/+0
Tacker POC is replaced by the full os-odl-sfc-noha scenario. Change-Id: Ic0648d55e08ccf84244ac286b65fca2656d04a2d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit b7383cda9b6ffdaf6dd8bb07dc74e1c8a7046dbd)
2018-09-27[deploy] Use qemu:///system for virt-inst tooAlexandru Avadanii2-2/+2
Make sure `virsh` and `virt-install` use the same connection URI. Fixes: e49ffac1 Change-Id: I437f063ce9936804248b7cf09f6ecfef6417f387 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit c034acca79007040c9e1b3e7ad22b166f6ff4d7a)
2018-09-26[INFO] Add Cristina as committerAlexandru Avadanii1-0/+4
Change-Id: Id9262040daa037fa715c41dc44258f62ffe3f78f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 42b2d2ac66fa27079a993baf3ea19748f2cfb273)
2018-09-26[ha] Fix missing aodh_version paramAlexandru Avadanii3-2/+3
_param:aodh_version was lost during a recent refactor, bring it back. While at it, also make chown in entrypoint.sh recursive to prepare for non-sudo deployments. Fixes: c0de0902 Change-Id: I41b225c4a3f15269aa156a1c33412206beff6ee9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 6bb830d62451e608cca959e5cb00cd383c8cf01d)
2018-09-26[reclass] Consolidate all passwordsGuillermo Herrero9-87/+66
JIRA: FUEL-378 Change-Id: I00832d697d83c374628fa9d759c125e0b6ca64cf Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com> (cherry picked from commit c0de0902fdb9c15033ae830b31bfcade8eb1c3ec)
2018-09-26[ovn] Enable metadata agentMichael Polenchuk5-1/+13
Change-Id: I9ef3a1dd570abf90b222609af350565d385326c8 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 637e149c0af5ef96612846bf9f0b3482ce11fc5b)
2018-09-26[reclass] Ensure pxe_admin_address is set for allAlexandru Avadanii2-1/+3
Some nodes did not rely on the _param:pxe_admin_address internal reclass param, although all of them do have an IP address in the PXE/admin network segment. Ensure all nodes define this param, so we can query all nodes with: $ salt '*' pillar.item _param:pxe_admin_address JIRA: FUEL-394 Change-Id: I7575934752c8b459c52af8a8c98c2b0327756428 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit a20ca2d8aaf550e1a1766768a2f4403a795d9e12)
2018-09-26[lib.sh] Split into multiple files for readabilityAlexandru Avadanii6-616/+676
lib.sh got pretty big over time, making it hard to maintain. Since most of the functions defined now in lib.sh are only required during build/deploy and not in state files, move them to a new file. While at it, prepare for running build/deploy as non-root and set a default connection string for virsh instead of using user specific config in ~/.config/libvirt/libvirt.conf, which caused end user experience issues in the past. Change-Id: Id8c2a8139e4bfdb99af2b0fad73b911ffa18ebea Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit e49ffac10dc059b9133586ae4991446f5a5915de)
2018-09-26Merge "[AArch64] noha: Add armband repo prio" into stable/gambiaAlexandru Avadanii1-0/+9