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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Charalampos Kominos [Thu, 24 Aug 2017 17:36:25 +0000 (19:36 +0200)]
p/fuel: Skip configuration of hugepages for aarch64
Change-Id: If4d2fb7bd6984d9840158d24de43c894b9598b5f
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Alexandru Avadanii [Fri, 28 Jul 2017 16:01:49 +0000 (18:01 +0200)]
p/fuel: armband formula: Fixup security_driver
Previous changes set security_driver to none (without quotes),
which conflicts with libvirt 3.x.
Fix it by adding required quotes.
Change-Id: I699da4c9cb5d77fe6e959e476d3279f3d679edc6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Thu, 27 Jul 2017 23:09:42 +0000 (01:09 +0200)]
p/fuel: Rebase after Fuel@OPNFV salt repo pinning
Change-Id: Iba6bc9f6588a9ad528de70a0f3bd200a5fe1ab1a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Thu, 27 Jul 2017 21:52:08 +0000 (23:52 +0200)]
p/fuel: mcp: salt-formulas: ODL: AArch64 leveldb
Install <armband-odl-leveldb-fix> as part of the existing Opendaylight
salt-formula (and not as part of Armband's separate salt-formula, like
previous fixups); only applicable for AArch64.
JIRA: https://jira.opnfv.org/browse/ARMBAND-283
Change-Id: I9df5919e98c3a826ab5d3fddb43dc85c12968bd0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Thu, 27 Jul 2017 18:15:38 +0000 (20:15 +0200)]
p/fuel: reclass: opendaylight: Use UCA repos
Current opendaylight pillar enforces a full apt repository cleanup,
removing Ubuntu Cloud Archive (UCA) repos in favor of adding
pre-hardcoded Ubuntu archive repos.
Mitigate this by ommiting "system.linux.system.repo.ubuntu" from the
opendaylight pillar, leaving the default UCA repos in place.
Change-Id: Ia2511e8028c8e28ec505c9a35b5dd2e76f4bcd0a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 18 Jul 2017 17:19:46 +0000 (19:19 +0200)]
p/fuel: network: public: Use arm-virtual2 POD cfg
FIXME: This should be converted into a dynamic configuration read
from the universal POD descriptor in securedlab, once that is ready.
Until then, just align the public network configuration used by the
virtual POD with the Enea lab configuration specific to arm-virtual2
(i.e. public network on 10.0.9.0/24).
NOTE: Replace the gateway at 10.16.0.1 (now 10.0.9.1) with the same
IP address as our lab's gateway (10.0.9.254), to keep both possible
network layouts in sync (using all virtual networks created via
virsh, respectively our lab's static config).
This will ensure deploys continue to work in both enviroments.
Also, since our gateway resides at 10.0.9.254, trim the DHCP pool
range for the public network to not include that address.
To pass bridge information from CI, Fuel@OPNFV deploy scripts need
some small adjustments as well.
While at it, rebase our patches on top of latest Fuel@OPNFV changes.
Change-Id: I92f01dd819ebf41b1da68d3b934fb10a23257e33
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Guillermo Herrero [Tue, 25 Jul 2017 01:27:25 +0000 (03:27 +0200)]
p/fuel: salt-formulas: Enable Armband formula
FIXME: Re-enable apparmor.
FIXME: Detect baremetal and re-enable acceleration.
Based on old Armband Fuel patches:
- install qemu-efi;
- install vgabios;
- disable apparmor as security driver for libvirt (temporary);
- fix missing link for vgabios binary blob;
- nova: virt_type=qemu (temporary, until we support baremetal too);
- nova: pointer_model=ps2mouse since AArch64 has no USB tablet;
- nova: cpu_model=cortex-a57;
- nova: libvirt driver: Add ttyAMA0 by default on AArch64;
- nova: libvirt driver: Use VGA video type by default on AArch64;
Change-Id: I6aa87ac8d1c2f9fe3919b80fd29ab84ccfaa7c38
Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com>
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Mon, 24 Jul 2017 22:29:47 +0000 (00:29 +0200)]
p/fuel: virtio: min libvirt 3.x and Qemu 2.6
Expect host virtualization tools (libvirt, qemu) to be recent enough
to support modern virtio-net-pci out of box as a default.
This allows us to drop some changes and a hack - see [1]:
- "model=virtio" implies "model=virtio-net-pci" on libvirt 3.x;
- "model=virtio" puts each NIC on a seperate bus, all work now;
- modern virtio is automatically used when NIC is on PCIe bus;
Revert "p/fuel: lib.sh: Revert to virtio-mmio for PXE net"
This reverts commit
4f72e6be436badd2ded546424ec4a304cd6ce5d3.
[1] https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg07594.html
Change-Id: Iaa7af63846c9d9dca5b7a9be5efa54f8cd56242e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 21 Jul 2017 18:02:14 +0000 (20:02 +0200)]
p/fuel: lib.sh: Use host-passthrough CPU model
Fix libvirt 3.x compatibility issues by explicitly setting the CPU
model to host-passthrough via virt-install.
Change-Id: I0e52cbabb0bf42b36dd2b9b5045dc18878e21884
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 19 Jul 2017 00:26:11 +0000 (00:26 +0000)]
Revert "p/fuel: network: public: Use arm-virtual2 POD cfg"
This reverts commit
779c0cc56646da234019577e17f4af378a205e08.
Change-Id: Ia5261da363579e7bec442ada58ca16635025f872
Alexandru Avadanii [Tue, 18 Jul 2017 17:19:46 +0000 (19:19 +0200)]
p/fuel: network: public: Use arm-virtual2 POD cfg
FIXME: This should be converted into a dynamic configuration read
from the universal POD descriptor in securedlab, once that is ready.
Until then, just align the public network configuration used by the
virtual POD with the Enea lab configuration specific to arm-virtual2
(i.e. public network on 10.0.9.0/24).
NOTE: Instead of replacing the gateway 10.16.0.1 (now 10.0.9.1) with
our lab's gateway (10.0.9.254), keep it as an extra hop, in order not
to break deploys in different enviroments.
Also, since our gateway resides at 10.0.9.254, trim the DHCP pool
range for the public network to not include that address.
Change-Id: If45ca3140f770f758f0d02c1049084f67f83264e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 18 Jul 2017 15:31:12 +0000 (17:31 +0200)]
p/fuel: Rebase after --noautoconsole got upstream
Change-Id: I99b6052a26169888c137f874889872107c7df931
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 18 Jul 2017 00:18:44 +0000 (02:18 +0200)]
ci/deploy.sh: Do not pass SSH_KEY to Fuel deploy
OPNFV Jenkins jobs for Fuel and Armband define the variable SSH_KEY,
which gets passed down to Fuel's ci/deploy.sh, leading to a conflict
between the original key and the destination key paths, which in
the default case overlap, leading to a deploy-breaking fault.
Fuel@OPNFV is not affected by this behavior due to a "sudo" call
that does not pass down enviroment variables (i.e. without `-E`).
Change-Id: I291966ee177d828bf1e59c213c9da40eae13ab6b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Mon, 17 Jul 2017 23:45:17 +0000 (01:45 +0200)]
p/fuel: deploy: Allow non-root deploys
Fuel@OPNFV's ci/deploy.sh script imposes a hard requirement on
running as the root user, which can be refactored into a series of
smaller requirements.
Instead, relax the check to the ability to run sudo commands
inside the script, and explicitly add sudo for the package
installation commands.
This also adds a requirement for the Jenkins user running the
deploy to be part of the "kvm" and "libvirtd" groups, so
libvirt/virsh can manage VMs on the jump server / Jenkins slave.
See related change in OPNFV Releng repository [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/37655
Change-Id: I29b90d285c99f85462493c2a3890264365fca9f0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Sun, 16 Jul 2017 01:41:33 +0000 (03:41 +0200)]
p/fuel: lib.sh: Revert to virtio-mmio for PXE net
virtio-pci-net seems to have issues with more than three (3)
interfaces attached to the same guest, even on separate PCI buses.
To bypass this limitation, for now, we will use virtio-mmio for
PXE, and virtio-pci-net for the rest.
This keeps the guest eth order consistent and predictable, and
allows udev to assign predictable interface names for 3 out of 4
guest network interfaces (enp2sX), thus ensuring PXE will always
get the "eth0" designator.
Change-Id: I0d0cb8148cd87313e67f8f27793eb2414c1e90e3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 14 Jul 2017 19:31:27 +0000 (21:31 +0200)]
reclass: system: AArch64: Remove mcelog
Change-Id: I7cc5162359347ac9472127a8d27730c96050915e
Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 14 Jul 2017 19:10:29 +0000 (21:10 +0200)]
p/fuel: Rebase after upstream vCPU count rework
Change-Id: Ic4066acc2716e5f3f497fba9799691e0258d3011
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 12 Jul 2017 22:21:03 +0000 (00:21 +0200)]
p/fuel: Rebase, drop --depth=1 when cloning Fuel
`git clone --depth=1` does not preserve git history, so 3-way merge
is not possible.
There are 2 ways to fix this:
- (recurrent) rebase patches by adjusting patch context;
- (one-time, with a recurrent very small performance hit) preserve git
history when cloning Fuel@OPNFV in salt.sh;
So, let's drop "--depth=1" and ensure `git am -3` will continue to work
on future patch context changes (where possbile).
While we're at it, also rebase our current patches.
Change-Id: Iacfb4daf90a170174405410ff9c988c4fcac79ca
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Mon, 10 Jul 2017 15:32:57 +0000 (17:32 +0200)]
MCP: patches: AArch64: Add initial support
- p/fuel: classes: AArch64: virtio-pci-net sync
- p/reclass-system-salt-model: Add Armband repos
- mcp/config: AArch64: Use UEFI arm64 image
Also, allow removal of VMs booted via guest UEFI (OVMF or AAVMF).
While at it, bump default vCPU number from 2 to 6.
- lib.sh: AArch64: Use VGA video mode for guests
On AArch64, there is no Cirrus video, so use VGA mode instead.
For now, we install vgabios package no matter the arch, although
it is only used on AArch64.
On Debian systems, also fix a missing link for vgabios-stdvga.bin.
Based on previous Armband work from [1].
- lib.sh: AArch64: virt-install: Use virtio-net-pci
AArch64 virt tools (i.e. libvirt) default to "virtio-mmio", instead of
"virtio-net-pci", at least before libvirt 3.x (see [2]).
Without PCI bus info, we can't really enforce a specific order for
the guest ethernet devices.
Moreover, predictable network interface naming is out of the question
with virtio-mmio, as there is no bus information to rely on.
Therefore we will enforce "virtio-net-pci" on AArch64, instead of
the default "virtio" (which translates into "virtio-mmio" currently).
- salt.sh, user-data: Add Saltstack arm64 repo
- salt.sh: Clone armband repo, apply patches from it
- classes: virtual: AArch64: virtio-pci-net sync
Since AArch64 will be using virtio-net-pci NIC model for guests,
predictable interface naming yields a slightly different scheme.
Update all configuration to reflect this.
FIXME:
- Use https for fetching Armband GPG keys!
- Revise the patching mechanism, make things more dynamic.
[1] https://github.com/opnfv/armband/blob/danube.2.0/patches/fuel-library/
arm64-bug-fixes/0002-Install-vgabios-and-link-for-aarch64.patch
[2] https://www.redhat.com/archives/libvir-list/2016-August/msg00931.html
Change-Id: If5aae22066f75732652201a78357c4931438d58d
Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com>
Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 11 Jul 2017 15:43:07 +0000 (17:43 +0200)]
MCP: Obsolete `fuel-patches-*` functionality
We no longer require patching submodules in the Fuel@OPNFV
submodule, so remove all obsolete code.
Change-Id: I872ac7da2cd020b6882f8bc8304c03a8e528313f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 28 Jun 2017 18:48:38 +0000 (20:48 +0200)]
MCP: Remove all Fuel patches and plugins
Chances are none of the old patches / plugins can be reused as-is,
so remove all of them and prepare for the switch to MCP.
Change-Id: I999927a43b438d9bda9ff118731e2af4b1fa8caa
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 21 Jun 2017 15:22:57 +0000 (17:22 +0200)]
docs: Update release date
Change-Id: I659946aef133af3b99120903d57527daccf67f53
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Cristina Pauna [Wed, 7 Jun 2017 14:28:40 +0000 (17:28 +0300)]
Update armband documentation for 3.0 release
Change-Id: I2a71637b67b91cf828bbcf5f6abfbd9c2d6da2eb
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Alexandru Avadanii [Fri, 5 May 2017 19:28:24 +0000 (21:28 +0200)]
fuel-main: Backport ntpd autostart enablement
Upstream-bug: https://bugs.launchpad.net/fuel/+bug/
1688631
Change-Id: I7bc2dac4442c1b02b21fef82a9b9c008f4dab9ac
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Nemes [Fri, 5 May 2017 11:19:38 +0000 (14:19 +0300)]
Fuel-OSTF: Arch dependent Cirros ssh password
For arm64 "gocubsgo" will be used
For x86 it will use "cubswin:)"
JIRA: ARMBAND-250
Change-Id: Id580168cee1dd7c52876f2781b7cbbf733169ef3
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
Alexandru Avadanii [Fri, 5 May 2017 14:47:17 +0000 (14:47 +0000)]
Merge "nailgun: Add NIC vendorid and device id for Cavium NIC"
Andrei Varvara [Thu, 4 May 2017 12:15:41 +0000 (14:15 +0200)]
nailgun: Add NIC vendorid and device id for Cavium NIC
Added Cavium NIC to the list of DPDK supported NICs so that fuel will
enable the DPDK checkbox.
Change-Id: If05539ece8c97a70bffaa94ea6629b7d2c568905
Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
Alexandru Avadanii [Thu, 4 May 2017 16:36:01 +0000 (18:36 +0200)]
docs: Update reference for Danube 2.0
Change-Id: Id958da0d8b951b240812bdf794ecf0be79091af6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Catalina Focsa [Wed, 26 Apr 2017 14:04:30 +0000 (16:04 +0200)]
Read or add default mtu values for each interface
Change-Id: If3cbd4eee8121b697d2ab0603939b9a4aa188230
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
Alexandru Avadanii [Wed, 26 Apr 2017 16:34:40 +0000 (18:34 +0200)]
Cleanup: Remove patches that landed upstream
Change-Id: Ib2f96ec70d0b589741484f7e3f3b537a269785fe
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Sun, 9 Apr 2017 13:42:01 +0000 (15:42 +0200)]
fuel, docs: fuel-menu: Align defaults with OPNFV
Since Armband alters the bootstrap package list and/or kernel version,
hanlded previously by fuel_bootstrap_cli.yaml, we need to refactor our
patches a bit.
NOTE: deploy-cache: We no longer include bootstrap package list in the
bootstrap fingerprint; we only rely on the repo mirrors fingerprints,
since bootstrap package list is mostly static across release cycles.
Upstream-bug: https://bugs.launchpad.net/fuel/+bug/
1679636
JIRA: FUEL-266
JIRA: ARMBAND-225
Change-Id: I6c1b090df6eff69d60fa7ca779b3dde527e77879
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 7 Apr 2017 15:13:32 +0000 (17:13 +0200)]
cleanup: Fuel: docker: remove obsolete ffi patch
This patch is no longer needed, since upstream package repos have
fixed meanwhile.
Change-Id: Ic73d7e60cce6a1a0c152885caeb30f49d68e7441
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Catalina Focsa [Tue, 4 Apr 2017 11:52:17 +0000 (13:52 +0200)]
Update Host OS NTP Servers to pool.ntp.org
Change-Id: If13c2448ca89f3a016e604c8cc1bf36813b7d90d
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>