summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-04u/fuel: Bump & rebase for cinder supportAlexandru Avadanii21-90/+23
Change-Id: Ie116967d0dd909f1901e2099485795316a706ad7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-01p/fuel: Fix opnfv user missing _paramAlexandru Avadanii1-9/+10
While at it, also use proper mechanism to fetch _param:opnfv* in opnfv/adduser.sls. Change-Id: Ic74e14f609bc1648b30d04f38ac3cca4a6d0850e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-01p/fuel: Add opnfv user to all machines in the deploymentCharalampos Kominos1-0/+87
Change-Id: I665b7498ade9fbd5b8c45d584a165673f1dc80d8 Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
2017-09-01u/fuel: Bump & rebase for VCP RAM increaseAlexandru Avadanii4-12/+12
Change-Id: Id3914c3d53b1c757107d347679e6667be95df5d3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-30u/fuel: Bump & rebase for salt scripts new repoAlexandru Avadanii10-94/+28
While at it, drop patch that removes UCA repo in ODL scenario and replace it with a patch that extends arch list for UCA repo for arm64. JIRA: ARMBAND-304 Change-Id: Icd8e4cf8288c3e42915244f40d261ff463f60452 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-30p/fuel: Fix hardcoded mgmt IP in os_cacert pathAlexandru Avadanii1-1/+13
Change-Id: I55f5397fc84ce60c67dc23d01dd54111e0babe3d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-30u/fuel: Bump & rebase for seedng arg order fixAlexandru Avadanii2-2/+2
JIRA: FUEL-282 Change-Id: Ica3133c967c906b3c2ab3a8e0ecc49aff11cdb10 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29u/fuel: Bump for virtual POD reclass typo fixAlexandru Avadanii1-0/+0
Change-Id: Ia42c2ea8bb4869a368589215d2e559c1e562ed5d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29patches: Bring back copyright headersAlexandru Avadanii25-1/+193
JIRA: ARMBAND-301 Change-Id: Ib03abb3bdf36d2471a78e957e068124f4abef239 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29Makefile: Implement `make patches-copyright`Alexandru Avadanii2-0/+17
JIRA: ARMBAND-301 Change-Id: Ib2fe43d3a4be627831768419486226ed2484ddae Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29armband-fuel-config.mk: Disable remote trackingAlexandru Avadanii2-1/+1
While at it, bump Fuel@OPNFV submodule to most recent commit. Change-Id: I06de83211babcaa3ab0eec9a9d83521f73f38c99 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29p/fuel: Rebase after wrap of common virtual configAlexandru Avadanii7-330/+102
Change-Id: I1fd6e63385cfa158b35fa544e1cbb65b6d858c34 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29p/fuel: Rebase after seedng salt virt fix upstreamAlexandru Avadanii4-65/+13
Change-Id: I34b7ba7e8ab8cf134452f99493049fa22d83fd22 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29p/fuel: Fix seedng salt-bootstrap arg orderAlexandru Avadanii1-3/+4
Change-Id: Iaa7c14a73a7e3d01d8bffb939c755f582d565b26 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29p/fuel: lib.sh: Reuse /tmp/mcp.rsa if presentAlexandru Avadanii1-0/+25
Change-Id: Ia46097b3a0e5bb155e8a2e979aaf9eea50f6bcfb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29p/fuel: Fix patch context for patches.listAlexandru Avadanii2-5/+2
Change-Id: I9512b3d34e9b5facd532a283a081d7d463b3208e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29p/fuel: states: maas: Retry linux state if no respAlexandru Avadanii1-0/+23
Change-Id: I5bcfba9fc9536ae388e8e4b13e0826f7f2106613 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-29p/fuel: Rebase for seedng Salt version fixAlexandru Avadanii3-17/+68
Change-Id: I4beacbb8f64da80e7a8a374cc4db3d470edf79cd Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-28p/fuel: UEFI: Rework Ubuntu boot entry cleanupAlexandru Avadanii2-41/+52
JIRA: ARMBAND-287 Change-Id: Ib4a5d1c1bebe8fe09696fcb1cb882f42679d6738 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-28p/fuel: Rebase for os cacertAlexandru Avadanii14-86/+44
While rebasing, drop batch apply of linux.network state for VCP nodes, as it does not fix the underlying problem and only introduces extra delay. Reverts commits: 4f1bfdd Change-Id: I365b029aa2855334e295907cdde623b1717fc69a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-25p/fuel: baremetal: odl: Drop UCA repoAlexandru Avadanii1-0/+26
Change-Id: Ie5ff1608a66657ccdb5b06eceb950d95b1d571a4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-25p/fuel: Update armband state for baremetal supportCharalampos Kominos1-16/+25
Change-Id: I328866c7a9ef1c5c1c242f1ba8cf553bd1b94c7b Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-24p/fuel: Skip configuration of hugepages for aarch64Charalampos Kominos1-0/+88
Change-Id: If4d2fb7bd6984d9840158d24de43c894b9598b5f
2017-08-24p/fuel: states: maas: Batch apply linux stateAlexandru Avadanii4-10/+14
Change-Id: I62f96c93b67c79732dc8737ff5746475eb5259a6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-24p/fuel: Bring in Opendaylight supportAlexandru Avadanii5-8/+600
Change-Id: I3d3e729447a4d8e79fce486a7fc68f8f72675e3c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-24p/fuel: Rebase after MaaS retry got upstreamAlexandru Avadanii9-295/+16
Change-Id: I321fcb4aa77ebcb4595a9468c2257fef8b9a8ed6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-24states/maas: rm Ubuntu boot entry on EFI systemsAlexandru Avadanii1-0/+41
MaaS relies on IPMI to set boot order to PXE first; however on systems with buggy firmware or without full IPMI support, that fails, leading to booting Ubuntu from hard disk instead. Work around this by clearing any previous Ubuntu boot entry from board flash via `efibootmgr`. Change-Id: I531d4bcb9f8d45740764f0dbab8fda49fbffac7e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-24salt-master: Increase command timeout to 15sAlexandru Avadanii1-0/+38
Change-Id: I85221e65823780063b127298264a0087b59ac8a4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-23p/fuel: ci/deploy.sh, states: bash debug, no errAlexandru Avadanii1-0/+111
Change-Id: Ie860aace8cab1a48dea7a567dc941cf80305d181 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-23p/fuel: MaaS: commissioning/deployment retryAlexandru Avadanii1-0/+168
Change-Id: Ic4aa514e773d2963ad4a45b5be475e17b22885b4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-23Fix cmp reclass model: remove external_nicAlexandru Avadanii1-15/+28
Change-Id: I098fc04a6d87b163033618a18c58f7ae246c68d6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-23p/fuel: Rebase after authorized_keys fix upstreamAlexandru Avadanii14-80/+4
Change-Id: Id53c2513b52d05a44dffda0fda40f8df259e226b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-23p/fuel: states: maas: Remove retries for salt.virtAlexandru Avadanii1-5/+4
salt.virt always returns a non-zero status due to pillar parsing issues. Until we fix this, drop retries which cause an infinite loop. Change-Id: I451e0d4d054a19ac912ac29e1c37f49fcd96c17d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-22p/fuel: states: maas: mcp.rsa.pub authorized keyGuillermo Herrero1-0/+32
Change-Id: Ifc1fafa0075d7032ee7d7e1e1d84759ab5baea76 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com:w Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com>
2017-08-22p/fuel: Re-parametrize Openstack public netAlexandru Avadanii3-29/+66
Instead of passing public net via local_env, deduce its range based on compute external IPs. Change-Id: Ib736921c1d0f4002ea33677e7d794fd3e22001ba Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-22p/fuel: Rebase: openstack_ha upstream syncAlexandru Avadanii8-309/+73
Change-Id: I87a2259ddcbc3ab69cde7a3f3e78a79dc907a5d9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-22p/fuel: states: maas: Retry linux state on VCP VMsAlexandru Avadanii1-0/+22
Change-Id: I9577383b743730cc821eb68a1f159b426b29f6b4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-22baremetal: HA: Standalone openstack_ha stateAlexandru Avadanii1-0/+86
TODO: - re-check states; - investigate tenant telemetry support; - re-check prx node config; Change-Id: Iff53537b9e78696dd16c2339996f2bd3771074aa Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-21reclass: baremetal: openstack: Fix eth assignmentAlexandru Avadanii2-41/+199
Change-Id: I3a4ce93f36c5a01481601a1f38b562c7ca0a6650 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-21salt: virt: seedng: Add AArch64 supportAlexandru Avadanii8-7/+143
Change-Id: I8642701586296ae171d702bb4b6ad0f9bef36c9e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-21p/fuel: Upstream: MaaS: break infinite loopsAlexandru Avadanii1-67/+0
Change-Id: I4acde80c82de4b53b15157a096911296a55997fe Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-21salt: virt: Extend libvirt_domainAlexandru Avadanii2-0/+295
Extend salt virt modelling capabilities with support for: - hw_firmware_type; - virt_machine_model; - cpu_model; This requires extending/patching: - libvirt_domain.jinja template (part of salt package, handled via armband.libvirt_domain_template new state); - _modules/virtng.py custom module; - salt/control/virt.sls; The new support is leveraged via our reclass model with AArch64 specific values. Change-Id: I34bdb235cb7765ecdde365761dbd2c942f699039 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-20p/fuel: Use "libvirt" unix_sock_groupAlexandru Avadanii1-0/+50
Change-Id: I75819b90751ce3189c360f1d1478670c07b64144 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-20maas: Refactor boot resources infinite loopsAlexandru Avadanii2-12/+88
Change-Id: I4c1322e2ddd96ec5a1f4b11ece60b635f7e043c5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-20p/fuel: Rebase for MaaS dynamic fabric supportAlexandru Avadanii5-11/+11
Change-Id: Ia5bab57d6081790ac431eab9c9b5abfb2b9cd853 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-19p/fuel: Rebase after MaaS API port added upstreamAlexandru Avadanii5-9/+9
Change-Id: I1371d3a0ee2aeb0a620a1c087ec34990accaae16 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-18p/fuel: Rebase after salt control image updateAlexandru Avadanii5-10/+10
Change-Id: I362ae48d576b14c87188e88599e0a0542028dcb2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-18salt.sh: Add "arm64" to bootstrap arch conditionAlexandru Avadanii1-4/+18
Upstream commit [1] broke Salt bootstrap on AArch64, by introducing an architecture condition that is too strict to allow Debian package installation (even if we provide our own repo). Add "arm64" to the list of supported architectures. This needs to be done on the fly, as the bootstrap script is fetched using `curl` from <salt-master-setup.sh>, which is also fetched dynamically using `svn export`. [1] https://github.com/saltstack/salt-bootstrap/commit/caa6d7d Change-Id: I2ff5d56e4d3072a1afe31ab0a400b0b83e2b34a8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-17ci/deploy.sh: Fix opt parse for local_env sourcingAlexandru Avadanii1-1/+1
Previously, we only accounted for the arguments we were interested in (l:lab, p:pod), which failed in case other (valid) arguments were passed first. Accept all arguments Fuel's <ci/deploy.sh> accepts, so lab/pod are read no matter where they are placed in the command string. Change-Id: I9125a5e70d19b7e1ca905b2572f3c8ceda13025b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-17Baremetal support for MCP on AArch64Alexandru Avadanii10-6/+751
NOTE: Armband moves MaaS IPs to x.y.z.2 (from x.y.z.3) due to address overlap with IPMI static IPs residing in the same range. Change-Id: I2fc9539afe921d2704e7f5ff615ccd86d0914b7b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>