armband.git
7 years agou/fuel: Bump & rebase for infinite loop removal 41/45841/1
Alexandru Avadanii [Thu, 19 Oct 2017 15:35:40 +0000 (17:35 +0200)]
u/fuel: Bump & rebase for infinite loop removal

Change-Id: Ia3d12bceae483571e1b1c91e2d0150c12b55b73b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for cmp network fix 23/45723/1
Alexandru Avadanii [Thu, 19 Oct 2017 03:49:46 +0000 (05:49 +0200)]
u/fuel: Bump & rebase for cmp network fix

Change-Id: I2d445a78ee6d25b826afe3c42d433b9c4af3d09d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump for maas state online nodes check 03/45703/1
Alexandru Avadanii [Thu, 19 Oct 2017 01:56:37 +0000 (03:56 +0200)]
u/fuel: Bump for maas state online nodes check

Change-Id: I22f572fe3067e15f1ca91481fe60fef5329ee48a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for PDF-based network config 47/45647/1
Alexandru Avadanii [Wed, 18 Oct 2017 23:15:15 +0000 (01:15 +0200)]
u/fuel: Bump & rebase for PDF-based network config

Change-Id: If970bbc8735d38542a90b2cbdbb2523ae644a29c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoREADME: Convert from markdown to RST 19/45619/1
Alexandru Avadanii [Wed, 18 Oct 2017 19:11:40 +0000 (21:11 +0200)]
README: Convert from markdown to RST

Change-Id: I80d3bea1a97382f778c33e5bae4226cca869179b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMerge "u/fuel: Bump & rebase for reclass class order fix"
Alexandru Avadanii [Wed, 18 Oct 2017 16:25:26 +0000 (16:25 +0000)]
Merge "u/fuel: Bump & rebase for reclass class order fix"

7 years agoMerge "u/fuel: Bump & rebase for state break & retry"
Alexandru Avadanii [Wed, 18 Oct 2017 16:24:37 +0000 (16:24 +0000)]
Merge "u/fuel: Bump & rebase for state break & retry"

7 years agou/fuel: Bump & rebase for reclass class order fix 33/45533/1
Alexandru Avadanii [Wed, 18 Oct 2017 13:43:21 +0000 (15:43 +0200)]
u/fuel: Bump & rebase for reclass class order fix

Change-Id: I4b4ac26225363a4217e1b81b6086dd88dbb9acea
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for state break & retry 47/45347/3
Alexandru Avadanii [Tue, 17 Oct 2017 14:06:14 +0000 (16:06 +0200)]
u/fuel: Bump & rebase for state break & retry

While at it, return true for all armband states that apply patches
which are also providing a post-patching file hash.

Change-Id: I303a2e142a8a9925f6630b53891ddc7bb0399453
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoUpdate release date in documentation 25/45525/1
Cristina Pauna [Wed, 18 Oct 2017 12:08:48 +0000 (15:08 +0300)]
Update release date in documentation

Change-Id: I294b2ccb9e43f90aa3745fe040a7c956f910b816
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
7 years agoMerge "reclass: system: Pin Armband apt-mk to nightly ver"
Alexandru Avadanii [Sun, 15 Oct 2017 21:14:12 +0000 (21:14 +0000)]
Merge "reclass: system: Pin Armband apt-mk to nightly ver"

7 years agoreclass: system: Pin Armband apt-mk to nightly ver 45/45145/1
Alexandru Avadanii [Sun, 15 Oct 2017 16:27:58 +0000 (18:27 +0200)]
reclass: system: Pin Armband apt-mk to nightly ver

Recently, Mirantis apt-mk repos were changed upstream from using the
'nightly' dist to 'stable'. However, Armband only provides the
'nightly' dist for now, so hardcode our repo definitions to that.

Change-Id: I43b7531905b1bbe2a79a3fb2215dea9c35932b7c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for common reclass rework 43/45143/1
Alexandru Avadanii [Sun, 15 Oct 2017 14:23:49 +0000 (16:23 +0200)]
u/fuel: Bump & rebase for common reclass rework

Change-Id: Id7d125b746e97d6e186a7890a4c2f599e24a186c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for VCP state split 15/45115/1
Alexandru Avadanii [Fri, 13 Oct 2017 21:28:38 +0000 (23:28 +0200)]
u/fuel: Bump & rebase for VCP state split

Change-Id: I6f0367d75ea831de78ced480ea73d1cd10680b80

7 years agoUpdate the armband documentation 93/44993/1
Cristina Pauna [Fri, 13 Oct 2017 08:19:00 +0000 (11:19 +0300)]
Update the armband documentation

Since the x86 and arm documentation for Fuel is now common, I just
copied the documentation made in fuel project as is.

JIRA: ARMBAND-293

Change-Id: I6bfd26c9c911829ae556db0388bb16310d8280ba
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
7 years agoAArch64 NIC adaptation patch 69/44569/2
Guillermo Herrero [Mon, 9 Oct 2017 12:54:36 +0000 (14:54 +0200)]
AArch64 NIC adaptation patch

AArch64 NIC adaptation for dual NIC boards with traffic separation
 -kvm nodes: added second trunk_nic
 -compute nodes: removed third external_nic

Change-Id: I874094075ab01c7fe21af26602a7366a371cec28
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
7 years agou/fuel: Bump & rebase for ODL Nitrogen 77/44477/1
Alexandru Avadanii [Fri, 6 Oct 2017 17:09:48 +0000 (19:09 +0200)]
u/fuel: Bump & rebase for ODL Nitrogen

Change-Id: I69688a0bf657564d440fc6d4d93f3f7c16818a90
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoci/deploy.sh: Drop local_env support 97/44297/2
Alexandru Avadanii [Thu, 5 Oct 2017 01:46:54 +0000 (03:46 +0200)]
ci/deploy.sh: Drop local_env support

While at it, fix shellcheck warnings in deploy wrapper.

Change-Id: I2ddd272afe7ec16d6c594295a257eb98ee5bf5ce
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump for jump bridge configuration rework 87/44287/1
Alexandru Avadanii [Wed, 4 Oct 2017 22:57:45 +0000 (00:57 +0200)]
u/fuel: Bump for jump bridge configuration rework

Change-Id: I23100e3fd9854cd1ffd52961a0260d3c23875dd1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump for second neutron formula fixup 39/44239/1
Alexandru Avadanii [Wed, 4 Oct 2017 15:38:39 +0000 (17:38 +0200)]
u/fuel: Bump for second neutron formula fixup

Change-Id: I52cb9720a452c4fa7b71a9135de700f5c601132d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump for salt-formula-neutron fixup 85/43985/1
Alexandru Avadanii [Mon, 2 Oct 2017 23:43:38 +0000 (01:43 +0200)]
u/fuel: Bump for salt-formula-neutron fixup

Change-Id: Id9859eeb526822355948833ca1ce067594931321
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for Salt version sync 45/43945/1
Alexandru Avadanii [Mon, 2 Oct 2017 19:23:58 +0000 (21:23 +0200)]
u/fuel: Bump & rebase for Salt version sync

Change-Id: I5641802152c4e9dc6cec3218848921be5179e815
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for MaaS missing inc fixup 83/43383/1
Alexandru Avadanii [Thu, 28 Sep 2017 03:27:48 +0000 (05:27 +0200)]
u/fuel: Bump & rebase for MaaS missing inc fixup

Change-Id: I041d51eeebfe77aee9a519584f6cfb6f7b740e93
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for full PDF support 01/43201/2
Alexandru Avadanii [Tue, 26 Sep 2017 16:22:06 +0000 (18:22 +0200)]
u/fuel: Bump & rebase for full PDF support

Change-Id: I7ae833b429c018345d0ab061877d27e3183b3dc7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for yamllint cleanup 05/43105/3
Alexandru Avadanii [Tue, 26 Sep 2017 03:27:51 +0000 (05:27 +0200)]
u/fuel: Bump & rebase for yamllint cleanup

Change-Id: I1144c523596feb64251f08375501cdb73a0d76f6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump for linux/map.jinja fix 01/43101/1
Alexandru Avadanii [Tue, 26 Sep 2017 02:44:21 +0000 (04:44 +0200)]
u/fuel: Bump for linux/map.jinja fix

Change-Id: I751c89fd38047fcf2bf06594db0482ee478e39d1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for PDF-compatible reclass 29/42429/8
Alexandru Avadanii [Tue, 19 Sep 2017 14:36:43 +0000 (16:36 +0200)]
u/fuel: Bump & rebase for PDF-compatible reclass

JIRA: ARMBAND-292

Change-Id: I913ac6ec20cd34573c0e91989d7fd49a79abafaa
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoFixed Hash of patch file for nova-libvirt-ACPI-AAVMF 25/42525/12
Charalampos Kominos [Wed, 20 Sep 2017 13:59:35 +0000 (15:59 +0200)]
Fixed Hash of patch file for nova-libvirt-ACPI-AAVMF

JIRA: ARMBAND-312

Change-Id: I77b9d38dd7e18bf464e30bfabce3111ac47e8bd7
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
7 years agop/fuel: edit libvirt.py with correct arch values 73/42273/2
Charalampos Kominos [Mon, 18 Sep 2017 14:20:09 +0000 (16:20 +0200)]
p/fuel: edit libvirt.py with correct arch values

On AArch64 systems, ACPI should only be added to the domain XML
by nova via libvirt driver when guest UEFI (AAVMF) is used.

Change-Id: I462303b196366ddaa132b2a2ed6fe4af0e8e5f95

7 years agoMerge "p/fuel: armband state: ACPI depends on AAVMF"
Alexandru Avadanii [Fri, 15 Sep 2017 21:33:37 +0000 (21:33 +0000)]
Merge "p/fuel: armband state: ACPI depends on AAVMF"

7 years agou/fuel: Track Fuel@OPNFV stable/euphrates branch 89/42089/1
Alexandru Avadanii [Fri, 15 Sep 2017 19:53:11 +0000 (21:53 +0200)]
u/fuel: Track Fuel@OPNFV stable/euphrates branch

Change-Id: Ifcbaaf2cef9b6320a89593d4a1250e8b291ea7f2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: armband state: ACPI depends on AAVMF 85/42085/1
Alexandru Avadanii [Fri, 15 Sep 2017 18:53:53 +0000 (20:53 +0200)]
p/fuel: armband state: ACPI depends on AAVMF

On AArch64 systems, ACPI should only be added to the domain XML
by nova via libvirt driver when guest UEFI (AAVMF) is used.

Change-Id: I395e65a5790615c926eb86f754ff7b7f8feac26a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoRemove build instruction from documentation 67/42067/2
Cristina Pauna [Fri, 15 Sep 2017 12:12:45 +0000 (15:12 +0300)]
Remove build instruction from documentation

Fuel/MCP no longer packages the installer in an iso, therefore
these building instructions are obsolete.

JIRA:ARMBAND-293

Change-Id: I18e5a7beb41656f0c6b61dccbe5609530e2b70b6
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
7 years agou/fuel: Bump & rebase for runtime parametrization 67/41767/2
Alexandru Avadanii [Tue, 12 Sep 2017 17:55:00 +0000 (19:55 +0200)]
u/fuel: Bump & rebase for runtime parametrization

While at it, move opnfv user required reclass parameters to newly
added <all-mcp-ocata-common/opnfv/init.yml>.

Change-Id: Ic614e9e9db4e3ae74b8c08bc34be5fc732c2aae4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for mcpcontrol CIDR change 97/41597/1
Alexandru Avadanii [Mon, 11 Sep 2017 22:01:58 +0000 (00:01 +0200)]
u/fuel: Bump & rebase for mcpcontrol CIDR change

Stop overriding MaaS IP in mcpcontrol, keep same value as Fuel@OPNFV
has (10.20.0.3).

Change-Id: I4789aef378204fdbcf53355c62a9a289b200987c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for multiarch reclass 81/41581/2
Alexandru Avadanii [Mon, 11 Sep 2017 18:17:20 +0000 (20:17 +0200)]
u/fuel: Bump & rebase for multiarch reclass

Change-Id: I3de41645b7424195b9c8d5884a7c9de1fabf68cb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for mcp.rsa relocation 15/41415/3
Alexandru Avadanii [Fri, 8 Sep 2017 16:58:30 +0000 (18:58 +0200)]
u/fuel: Bump & rebase for mcp.rsa relocation

mcp.rsa will now be available in /var/lib/opnfv/mcp.rsa.

JIRA: FUEL-280

Change-Id: I933c669ddde495f0decba2fcc7fc8d9818a24620
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agocleanup: Let SSH_KEY propagate, drop build script 61/41361/1
Alexandru Avadanii [Fri, 8 Sep 2017 02:50:09 +0000 (04:50 +0200)]
cleanup: Let SSH_KEY propagate, drop build script

Now that releng SSH_KEY and Fuel's SSH_KEY vars are aligned, let
Jenkins parameter propagate to <ci/deploy.sh>.
While touching CI scripts, drop obsolete <ci/build.sh>.

JIRA: ARMBAND-295

Change-Id: I616343c60abcd96370f7048bf7b23c6fefc9bcac
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: virt: Add missing params for telemetry VM 57/41357/1
Alexandru Avadanii [Fri, 8 Sep 2017 02:38:57 +0000 (04:38 +0200)]
p/fuel: virt: Add missing params for telemetry VM

mdb0* VCP VMs were missing the AArch64 specific parameters in the
reclass mode, which enable guest UEFI & co.
This led to mdb0* VMs not being able to start.

Change-Id: I2325e4ae1bd1a44c060c2fe39d4038efd62b708f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for ODL scenario rename 27/41327/2
Alexandru Avadanii [Thu, 7 Sep 2017 17:38:32 +0000 (19:38 +0200)]
u/fuel: Bump & rebase for ODL scenario rename

JIRA: FUEL-279

Change-Id: Iba38553873f511eaac1fe77cd5d1d4e990340e52
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for mongodb init 47/41247/1
Alexandru Avadanii [Thu, 7 Sep 2017 01:08:47 +0000 (03:08 +0200)]
u/fuel: Bump & rebase for mongodb init

Change-Id: I6195930d1c66477a88824456fd1b8e457b84da47
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agocleanup: Remove obsolete ln to clean_cache.sh 89/41089/1
Alexandru Avadanii [Tue, 5 Sep 2017 18:23:50 +0000 (20:23 +0200)]
cleanup: Remove obsolete ln to clean_cache.sh

JIRA: ARMBAND-295

Change-Id: I91cc087a622de7666cd812435668575fd0fe77f8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for aodh & ceilometer 85/41085/1
Alexandru Avadanii [Tue, 5 Sep 2017 17:35:25 +0000 (19:35 +0200)]
u/fuel: Bump & rebase for aodh & ceilometer

Change-Id: I8cae89864e8e2d3bd56b4c7f16638fc742cde748
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for envsubst fix 25/41025/1
Alexandru Avadanii [Mon, 4 Sep 2017 21:21:44 +0000 (23:21 +0200)]
u/fuel: Bump & rebase for envsubst fix

Change-Id: Ib766ce11464bd546d41dd5992527e91fdcbbb95e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for cinder support 11/41011/1
Alexandru Avadanii [Mon, 4 Sep 2017 16:48:04 +0000 (18:48 +0200)]
u/fuel: Bump & rebase for cinder support

Change-Id: Ie116967d0dd909f1901e2099485795316a706ad7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Fix opnfv user missing _param 67/40867/1
Alexandru Avadanii [Fri, 1 Sep 2017 17:19:16 +0000 (19:19 +0200)]
p/fuel: Fix opnfv user missing _param

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>
7 years agop/fuel: Add opnfv user to all machines in the deployment 95/39895/18
Charalampos Kominos [Tue, 22 Aug 2017 17:42:29 +0000 (19:42 +0200)]
p/fuel: Add opnfv user to all machines in the deployment

Change-Id: I665b7498ade9fbd5b8c45d584a165673f1dc80d8
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
7 years agou/fuel: Bump & rebase for VCP RAM increase 95/40795/1
Alexandru Avadanii [Thu, 31 Aug 2017 22:10:43 +0000 (00:10 +0200)]
u/fuel: Bump & rebase for VCP RAM increase

Change-Id: Id3914c3d53b1c757107d347679e6667be95df5d3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for salt scripts new repo 11/40711/2
Alexandru Avadanii [Wed, 30 Aug 2017 20:06:23 +0000 (22:06 +0200)]
u/fuel: Bump & rebase for salt scripts new repo

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>
7 years agop/fuel: Fix hardcoded mgmt IP in os_cacert path 39/40639/1
Alexandru Avadanii [Wed, 30 Aug 2017 00:17:10 +0000 (02:17 +0200)]
p/fuel: Fix hardcoded mgmt IP in os_cacert path

Change-Id: I55f5397fc84ce60c67dc23d01dd54111e0babe3d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump & rebase for seedng arg order fix 33/40633/1
Alexandru Avadanii [Tue, 29 Aug 2017 23:31:31 +0000 (01:31 +0200)]
u/fuel: Bump & rebase for seedng arg order fix

JIRA: FUEL-282

Change-Id: Ica3133c967c906b3c2ab3a8e0ecc49aff11cdb10
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agou/fuel: Bump for virtual POD reclass typo fix 19/40619/1
Alexandru Avadanii [Tue, 29 Aug 2017 21:18:12 +0000 (23:18 +0200)]
u/fuel: Bump for virtual POD reclass typo fix

Change-Id: Ia42c2ea8bb4869a368589215d2e559c1e562ed5d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agopatches: Bring back copyright headers 15/40615/1
Alexandru Avadanii [Tue, 29 Aug 2017 20:57:01 +0000 (22:57 +0200)]
patches: Bring back copyright headers

JIRA: ARMBAND-301

Change-Id: Ib03abb3bdf36d2471a78e957e068124f4abef239
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMakefile: Implement `make patches-copyright` 13/40613/1
Alexandru Avadanii [Tue, 29 Aug 2017 20:44:47 +0000 (22:44 +0200)]
Makefile: Implement `make patches-copyright`

JIRA: ARMBAND-301

Change-Id: Ib2fe43d3a4be627831768419486226ed2484ddae
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoarmband-fuel-config.mk: Disable remote tracking 05/40605/1
Alexandru Avadanii [Tue, 29 Aug 2017 18:30:35 +0000 (20:30 +0200)]
armband-fuel-config.mk: Disable remote tracking

While at it, bump Fuel@OPNFV submodule to most recent commit.

Change-Id: I06de83211babcaa3ab0eec9a9d83521f73f38c99
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase after wrap of common virtual config 03/40603/1
Alexandru Avadanii [Tue, 29 Aug 2017 18:11:31 +0000 (20:11 +0200)]
p/fuel: Rebase after wrap of common virtual config

Change-Id: I1fd6e63385cfa158b35fa544e1cbb65b6d858c34
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase after seedng salt virt fix upstream 87/40587/1
Alexandru Avadanii [Tue, 29 Aug 2017 12:45:43 +0000 (14:45 +0200)]
p/fuel: Rebase after seedng salt virt fix upstream

Change-Id: I34b7ba7e8ab8cf134452f99493049fa22d83fd22
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Fix seedng salt-bootstrap arg order 43/40543/1
Alexandru Avadanii [Tue, 29 Aug 2017 01:29:25 +0000 (03:29 +0200)]
p/fuel: Fix seedng salt-bootstrap arg order

Change-Id: Iaa7c14a73a7e3d01d8bffb939c755f582d565b26
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: lib.sh: Reuse /tmp/mcp.rsa if present 37/40537/1
Alexandru Avadanii [Tue, 29 Aug 2017 00:36:41 +0000 (02:36 +0200)]
p/fuel: lib.sh: Reuse /tmp/mcp.rsa if present

Change-Id: Ia46097b3a0e5bb155e8a2e979aaf9eea50f6bcfb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Fix patch context for patches.list 31/40531/1
Alexandru Avadanii [Mon, 28 Aug 2017 23:31:28 +0000 (01:31 +0200)]
p/fuel: Fix patch context for patches.list

Change-Id: I9512b3d34e9b5facd532a283a081d7d463b3208e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: states: maas: Retry linux state if no resp 29/40529/1
Alexandru Avadanii [Mon, 28 Aug 2017 23:22:28 +0000 (01:22 +0200)]
p/fuel: states: maas: Retry linux state if no resp

Change-Id: I5bcfba9fc9536ae388e8e4b13e0826f7f2106613
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase for seedng Salt version fix 27/40527/1
Alexandru Avadanii [Mon, 28 Aug 2017 23:13:21 +0000 (01:13 +0200)]
p/fuel: Rebase for seedng Salt version fix

Change-Id: I4beacbb8f64da80e7a8a374cc4db3d470edf79cd
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: UEFI: Rework Ubuntu boot entry cleanup 43/40443/1
Alexandru Avadanii [Mon, 28 Aug 2017 19:06:07 +0000 (21:06 +0200)]
p/fuel: UEFI: Rework Ubuntu boot entry cleanup

JIRA: ARMBAND-287

Change-Id: Ib4a5d1c1bebe8fe09696fcb1cb882f42679d6738
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase for os cacert 39/40439/1
Alexandru Avadanii [Mon, 28 Aug 2017 17:45:08 +0000 (19:45 +0200)]
p/fuel: Rebase for os cacert

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>
7 years agop/fuel: baremetal: odl: Drop UCA repo 93/40193/1
Alexandru Avadanii [Fri, 25 Aug 2017 01:24:59 +0000 (03:24 +0200)]
p/fuel: baremetal: odl: Drop UCA repo

Change-Id: Ie5ff1608a66657ccdb5b06eceb950d95b1d571a4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Update armband state for baremetal support 57/40157/2
Charalampos Kominos [Thu, 24 Aug 2017 19:10:25 +0000 (21:10 +0200)]
p/fuel: Update armband state for baremetal support

Change-Id: I328866c7a9ef1c5c1c242f1ba8cf553bd1b94c7b
Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Skip configuration of hugepages for aarch64 39/40139/6
Charalampos Kominos [Thu, 24 Aug 2017 17:36:25 +0000 (19:36 +0200)]
p/fuel: Skip configuration of hugepages for aarch64

Change-Id: If4d2fb7bd6984d9840158d24de43c894b9598b5f

7 years agop/fuel: states: maas: Batch apply linux state 35/40135/1
Alexandru Avadanii [Thu, 24 Aug 2017 17:18:30 +0000 (19:18 +0200)]
p/fuel: states: maas: Batch apply linux state

Change-Id: I62f96c93b67c79732dc8737ff5746475eb5259a6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Bring in Opendaylight support 33/40133/1
Alexandru Avadanii [Thu, 24 Aug 2017 16:00:25 +0000 (18:00 +0200)]
p/fuel: Bring in Opendaylight support

Change-Id: I3d3e729447a4d8e79fce486a7fc68f8f72675e3c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase after MaaS retry got upstream 13/40113/1
Alexandru Avadanii [Thu, 24 Aug 2017 15:10:33 +0000 (17:10 +0200)]
p/fuel: Rebase after MaaS retry got upstream

Change-Id: I321fcb4aa77ebcb4595a9468c2257fef8b9a8ed6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agostates/maas: rm Ubuntu boot entry on EFI systems 53/40053/2
Alexandru Avadanii [Thu, 24 Aug 2017 02:24:31 +0000 (04:24 +0200)]
states/maas: rm Ubuntu boot entry on EFI systems

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>
7 years agosalt-master: Increase command timeout to 15s 49/40049/1
Alexandru Avadanii [Thu, 24 Aug 2017 01:55:31 +0000 (03:55 +0200)]
salt-master: Increase command timeout to 15s

Change-Id: I85221e65823780063b127298264a0087b59ac8a4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: ci/deploy.sh, states: bash debug, no err 35/40035/1
Alexandru Avadanii [Wed, 23 Aug 2017 21:44:34 +0000 (23:44 +0200)]
p/fuel: ci/deploy.sh, states: bash debug, no err

Change-Id: Ie860aace8cab1a48dea7a567dc941cf80305d181
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: MaaS: commissioning/deployment retry 33/40033/1
Alexandru Avadanii [Wed, 23 Aug 2017 20:40:36 +0000 (22:40 +0200)]
p/fuel: MaaS: commissioning/deployment retry

Change-Id: Ic4aa514e773d2963ad4a45b5be475e17b22885b4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoFix cmp reclass model: remove external_nic 21/40021/1
Alexandru Avadanii [Wed, 23 Aug 2017 16:57:34 +0000 (18:57 +0200)]
Fix cmp reclass model: remove external_nic

Change-Id: I098fc04a6d87b163033618a18c58f7ae246c68d6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase after authorized_keys fix upstream 99/39999/1
Alexandru Avadanii [Wed, 23 Aug 2017 13:38:06 +0000 (15:38 +0200)]
p/fuel: Rebase after authorized_keys fix upstream

Change-Id: Id53c2513b52d05a44dffda0fda40f8df259e226b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: states: maas: Remove retries for salt.virt 33/39933/1
Alexandru Avadanii [Wed, 23 Aug 2017 02:44:45 +0000 (04:44 +0200)]
p/fuel: states: maas: Remove retries for salt.virt

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>
7 years agop/fuel: states: maas: mcp.rsa.pub authorized key 11/39911/1
Guillermo Herrero [Tue, 22 Aug 2017 20:14:57 +0000 (22:14 +0200)]
p/fuel: states: maas: mcp.rsa.pub authorized key

Change-Id: Ifc1fafa0075d7032ee7d7e1e1d84759ab5baea76
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com:w
Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com>
7 years agop/fuel: Re-parametrize Openstack public net 01/39901/2
Alexandru Avadanii [Tue, 22 Aug 2017 19:01:34 +0000 (21:01 +0200)]
p/fuel: Re-parametrize Openstack public net

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>
7 years agop/fuel: Rebase: openstack_ha upstream sync 85/39885/2
Alexandru Avadanii [Tue, 22 Aug 2017 15:33:05 +0000 (17:33 +0200)]
p/fuel: Rebase: openstack_ha upstream sync

Change-Id: I87a2259ddcbc3ab69cde7a3f3e78a79dc907a5d9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: states: maas: Retry linux state on VCP VMs 31/39831/1
Alexandru Avadanii [Tue, 22 Aug 2017 00:23:33 +0000 (02:23 +0200)]
p/fuel: states: maas: Retry linux state on VCP VMs

Change-Id: I9577383b743730cc821eb68a1f159b426b29f6b4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobaremetal: HA: Standalone openstack_ha state 27/39827/1
Alexandru Avadanii [Mon, 21 Aug 2017 22:12:18 +0000 (00:12 +0200)]
baremetal: HA: Standalone openstack_ha state

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>
7 years agoreclass: baremetal: openstack: Fix eth assignment 25/39825/1
Alexandru Avadanii [Mon, 21 Aug 2017 20:44:23 +0000 (22:44 +0200)]
reclass: baremetal: openstack: Fix eth assignment

Change-Id: I3a4ce93f36c5a01481601a1f38b562c7ca0a6650
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agosalt: virt: seedng: Add AArch64 support 11/39811/2
Alexandru Avadanii [Mon, 21 Aug 2017 19:00:48 +0000 (21:00 +0200)]
salt: virt: seedng: Add AArch64 support

Change-Id: I8642701586296ae171d702bb4b6ad0f9bef36c9e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Upstream: MaaS: break infinite loops 01/39801/1
Alexandru Avadanii [Mon, 21 Aug 2017 15:32:04 +0000 (17:32 +0200)]
p/fuel: Upstream: MaaS: break infinite loops

Change-Id: I4acde80c82de4b53b15157a096911296a55997fe
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agosalt: virt: Extend libvirt_domain 83/39683/1
Alexandru Avadanii [Sun, 20 Aug 2017 23:27:43 +0000 (01:27 +0200)]
salt: virt: Extend libvirt_domain

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>
7 years agop/fuel: Use "libvirt" unix_sock_group 77/39677/1
Alexandru Avadanii [Sun, 20 Aug 2017 16:21:14 +0000 (18:21 +0200)]
p/fuel: Use "libvirt" unix_sock_group

Change-Id: I75819b90751ce3189c360f1d1478670c07b64144
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agomaas: Refactor boot resources infinite loops 75/39675/1
Alexandru Avadanii [Sun, 20 Aug 2017 15:57:08 +0000 (17:57 +0200)]
maas: Refactor boot resources infinite loops

Change-Id: I4c1322e2ddd96ec5a1f4b11ece60b635f7e043c5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase for MaaS dynamic fabric support 65/39665/1
Alexandru Avadanii [Sat, 19 Aug 2017 22:08:14 +0000 (00:08 +0200)]
p/fuel: Rebase for MaaS dynamic fabric support

Change-Id: Ia5bab57d6081790ac431eab9c9b5abfb2b9cd853
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase after MaaS API port added upstream 43/39643/1
Alexandru Avadanii [Fri, 18 Aug 2017 22:48:07 +0000 (00:48 +0200)]
p/fuel: Rebase after MaaS API port added upstream

Change-Id: I1371d3a0ee2aeb0a620a1c087ec34990accaae16
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase after salt control image update 01/39601/1
Alexandru Avadanii [Fri, 18 Aug 2017 15:19:13 +0000 (17:19 +0200)]
p/fuel: Rebase after salt control image update

Change-Id: I362ae48d576b14c87188e88599e0a0542028dcb2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agosalt.sh: Add "arm64" to bootstrap arch condition 57/39557/1
Alexandru Avadanii [Thu, 17 Aug 2017 23:18:59 +0000 (01:18 +0200)]
salt.sh: Add "arm64" to bootstrap arch condition

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>
7 years agoci/deploy.sh: Fix opt parse for local_env sourcing 45/39545/2
Alexandru Avadanii [Thu, 17 Aug 2017 19:34:15 +0000 (21:34 +0200)]
ci/deploy.sh: Fix opt parse for local_env sourcing

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>
7 years agoBaremetal support for MCP on AArch64 61/38861/22
Alexandru Avadanii [Sun, 6 Aug 2017 17:35:41 +0000 (19:35 +0200)]
Baremetal support for MCP on AArch64

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>
7 years agop/fuel: Rebase after lib.sh VGA patch got upstream 39/39139/1
Alexandru Avadanii [Fri, 11 Aug 2017 13:45:17 +0000 (15:45 +0200)]
p/fuel: Rebase after lib.sh VGA patch got upstream

Change-Id: Ibf6f633873e7dce9c38f6952710b7937b1290ac3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Fix eth name for enp2s0 (was enp2s2) 69/38869/1
Alexandru Avadanii [Mon, 7 Aug 2017 18:47:39 +0000 (20:47 +0200)]
p/fuel: Fix eth name for enp2s0 (was enp2s2)

Previous rebase introduced a regression in VM eth naming on AArch64.
enp2s2 should have been enp2s0, so fix that up.

Change-Id: If831dffce472750516dfa6b69cdc3a7952a3427d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase after non-root deploys got upstream 09/38809/2
Alexandru Avadanii [Sun, 6 Aug 2017 17:06:15 +0000 (19:06 +0200)]
p/fuel: Rebase after non-root deploys got upstream

While at it, refresh "AArch64 virtio NIC names sync" to include
changes for ODL-L3 scenario recently added in Fuel@OPNFV.

Change-Id: Ic221b330d9968204b7d4da16a26454b2cf8b88eb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: ci/deploy.sh: Fix vgabios missing link 55/38555/1
Alexandru Avadanii [Tue, 1 Aug 2017 20:48:45 +0000 (22:48 +0200)]
p/fuel: ci/deploy.sh: Fix vgabios missing link

Creating vgabios's missing link in /usr/share/qemu requires sudo.

Change-Id: I34dbd55facbccf361d94fa8341e99b76d5bf6276
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: ci/deploy.sh: Fix deploy without sudo 49/38549/1
Alexandru Avadanii [Tue, 1 Aug 2017 19:24:22 +0000 (21:24 +0200)]
p/fuel: ci/deploy.sh: Fix deploy without sudo

Previous rebase left out the "sudo" invocation for apt-get/yum calls.

Change-Id: I97c9785dae88afae6c1aa8a2faf2e5a10f9451a6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agop/fuel: Rebase, drop upstream clone 41/38541/1
Alexandru Avadanii [Fri, 28 Jul 2017 22:24:04 +0000 (00:24 +0200)]
p/fuel: Rebase, drop upstream clone

Now that Fuel@OPNFV supports submodule patching again, bring back
`make fuel-patches-import`.

Change-Id: Ic6f9870d94b6d302f1ebcdc21d54a83f62910af9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>