fuel.git
6 years agopatches: linux.storage.lvm: Disable filter 15/47515/1
Alexandru Avadanii [Sat, 18 Nov 2017 19:34:46 +0000 (20:34 +0100)]
patches: linux.storage.lvm: Disable filter

JIRA: FUEL-304

Change-Id: I52ae89f933f976b678b27f79e2ad67c3699ef8ec
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit d7927a5e63e5314c2a81970150b849b0b9d0bd49)

6 years ago[baremetal] MaaS: Remove curtin netconfig via Salt 13/47413/1
Alexandru Avadanii [Wed, 8 Nov 2017 14:16:34 +0000 (15:16 +0100)]
[baremetal] MaaS: Remove curtin netconfig via Salt

JIRA: FUEL-301

Change-Id: Id6b2b423b8045c581fa5c02133cf91702d9915c9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 4010ea45c703d82e2fb95dcc869ff72bbca088b7)

6 years agoMerge "[baremetal] Retry keystone.client state on failure" into stable/euphrates
Alexandru Avadanii [Fri, 17 Nov 2017 12:18:58 +0000 (12:18 +0000)]
Merge "[baremetal] Retry keystone.client state on failure" into stable/euphrates

6 years agoMerge "[baremetal] Re-assign mgmt network to proxy nodes" into stable/euphrates
Alexandru Avadanii [Fri, 17 Nov 2017 12:18:35 +0000 (12:18 +0000)]
Merge "[baremetal] Re-assign mgmt network to proxy nodes" into stable/euphrates

6 years agoMerge "Update opendaylight/neutron patch" into stable/euphrates
Michael Polenchuk [Fri, 17 Nov 2017 11:01:31 +0000 (11:01 +0000)]
Merge "Update opendaylight/neutron patch" into stable/euphrates

6 years agoMerge "[baremetal] SaltStack Deployment Documentation" into stable/euphrates
Alexandru Avadanii [Thu, 16 Nov 2017 16:46:15 +0000 (16:46 +0000)]
Merge "[baremetal] SaltStack Deployment Documentation" into stable/euphrates

6 years agoMerge "Enable neutron trunk ports" into stable/euphrates
Alexandru Avadanii [Thu, 16 Nov 2017 16:46:02 +0000 (16:46 +0000)]
Merge "Enable neutron trunk ports" into stable/euphrates

6 years ago[baremetal] Re-assign mgmt network to proxy nodes 61/47361/1
Alexandru Avadanii [Mon, 13 Nov 2017 20:12:30 +0000 (21:12 +0100)]
[baremetal] Re-assign mgmt network to proxy nodes

- extend arch-specific list of predefined VM iface names (2 -> 3);
- add extra vnet iface for prx0* VCP VMs, connected to br-ctl (mgmt);
- add mgmt address to pod_config.yml template (and sample);
- add mgmt address to reclass.storage prx nodes;

JIRA: FUEL-302

Change-Id: I17ce65eade7f69219fc27264363364e3c47d8f3f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 35041f05e790f8c13782eb4956b991a97fdec853)

6 years ago[baremetal] Retry keystone.client state on failure 59/47359/1
Alexandru Avadanii [Wed, 15 Nov 2017 16:46:24 +0000 (17:46 +0100)]
[baremetal] Retry keystone.client state on failure

JIRA: FUEL-306

Change-Id: I648545890c1f7dc59176beac1a0593aed54079cb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
(cherry picked from commit dcbc90f89292bf5070e8e0b54a760755b8206346)

6 years agoUpdate opendaylight/neutron patch 37/47337/1
Michael Polenchuk [Tue, 14 Nov 2017 12:33:16 +0000 (16:33 +0400)]
Update opendaylight/neutron patch

Align opendaylight support patch with latest neutron formula.
Employ native ML2 backend/engine option as is instead of bringing
in the "opendaylight" keyword into reclass model.
Unfreeze the maas & neutron formulas versions.

Change-Id: I2807dcf9f83b01d453bca6453524f840c378972f
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 1a8153f6391bdde1bab21f7831841f5b6070832d)

6 years agoAArch64: deploy.sh: Add AAVMF install prereq 75/47275/1
Alexandru Avadanii [Fri, 10 Nov 2017 18:05:48 +0000 (19:05 +0100)]
AArch64: deploy.sh: Add AAVMF install prereq

Change-Id: I7b3bb3eac1b4665dc9c08eaf6f5af336cde31f87
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit fde3efa0766d3a2df49fc9872bd76d6611a6c8ec)

6 years agoMerge "deploy.sh: Check hypervisor after prereq install" into stable/euphrates
Alexandru Avadanii [Wed, 15 Nov 2017 16:52:30 +0000 (16:52 +0000)]
Merge "deploy.sh: Check hypervisor after prereq install" into stable/euphrates

6 years agoEnable neutron trunk ports 73/47273/1
Michael Polenchuk [Tue, 14 Nov 2017 14:19:33 +0000 (18:19 +0400)]
Enable neutron trunk ports

The network trunk service allows multiple networks to be
connected to an instance using a single virtual NIC.

JIRA: FUEL-303
Change-Id: Id9e7c122bc1a32a59f18167e332ceaaa3897b5ef
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 66e745c73ac2aba1ef93ba90db4b167e49813863)

6 years ago[baremetal] SaltStack Deployment Documentation 71/47271/1
Alexandru Avadanii [Mon, 13 Nov 2017 19:13:43 +0000 (20:13 +0100)]
[baremetal] SaltStack Deployment Documentation

Generate documentation automatically using `reclass-doc`.
nginx is already configured to serve said documentation on
proxy's public VIP on port 8090.

Change-Id: If2aef646a0ec44d5cc7e9d425e565e5c0aa581b3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit f3a355d5644a7271d9df0a48febc3a93cceddb8e)

6 years agodocs: Add details to the installation instruction 29/47129/1
Cristina Pauna [Mon, 13 Nov 2017 13:06:45 +0000 (15:06 +0200)]
docs: Add details to the installation instruction

Added some text details to the diagrams from
https://gerrit.opnfv.org/gerrit/#/c/46801/

Change-Id: Ib761ca2a63e7c9e267c3c5c7bbe659d42bddea5e
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
(cherry picked from commit 6a543cac38e7b405fac489aee4ae3e357f250574)

6 years agodeploy.sh: Check hypervisor after prereq install 27/47127/1
Alexandru Avadanii [Fri, 10 Nov 2017 17:01:53 +0000 (18:01 +0100)]
deploy.sh: Check hypervisor after prereq install

On a clean system (i.e. no libvirt installed), the prerequisites
should be installed first, before checking for hypervisor access.

While at it, add 'libvirt' to the list of prerequisites, as it is
not automatically required by the others.

Add a note in the documentation about libvirtd service not being
automatically started after installation on CentOS.

Change-Id: I29d94d4a56cd823362811e8fc9c076c83fb6c04c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 8bdc7b442ebd9f162a36f568d9b61ecf85ab23cb)

6 years agosalt formulas: Pin via reclass instead of salt.sh 93/47093/1
Alexandru Avadanii [Sun, 12 Nov 2017 01:05:50 +0000 (02:05 +0100)]
salt formulas: Pin via reclass instead of salt.sh

Previous commit pinned the salt-formula-package by installing a
specific version after OPNFV-specific patches were applied by
`patch.sh`. To prevent patch bypass, move the pin to reclass model.

While at it, also move salt-formula-neutron pinning to reclass to
bypass wrong minimum length of 2 for version-pinned formula pkgs.

Change-Id: I35c2773c130d79ec919685cd771311d6c11e11a8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 1058c7ee35d64f38d978db2b3f840afca2facdef)

6 years agoMerge "salt.sh: Pin MaaS formula to last known stable ver" into stable/euphrates
Alexandru Avadanii [Sun, 12 Nov 2017 17:15:47 +0000 (17:15 +0000)]
Merge "salt.sh: Pin MaaS formula to last known stable ver" into stable/euphrates

6 years ago[baremetal] prx: Fix empty Apache module list 87/47087/1
Alexandru Avadanii [Sun, 12 Nov 2017 05:45:50 +0000 (06:45 +0100)]
[baremetal] prx: Fix empty Apache module list

On low state expansion, apache.server.modules is iterated, and
since reclass transforms '~' into 'null', an exception is thrown.

Use an empty string instead (different type will still ensure reclass
overrides variables from apache service instead of merging the lists).

While at it, add missing version 'latest' for mod-wsgi pkg.

Change-Id: I7913483b6a1be545b96de2958c39840940d9c557
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 40f907255380dbfc4d808d9f3c768db80c4c8158)

6 years agosalt.sh: Pin MaaS formula to last known stable ver 81/47081/1
Alexandru Avadanii [Sat, 11 Nov 2017 18:07:48 +0000 (19:07 +0100)]
salt.sh: Pin MaaS formula to last known stable ver

Recent upstream changes broke MaaS machine status parsing. Pin
the formula to the previous version until upstream provides a
fixed package or a repo snapshot baseline.

Change-Id: I26ebd60f40812ae47da0ca28d19c9fdcac7920da
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit c4b87dbc189e2a2f4d586d41ef5db2166c42231d)

6 years agoMerge "Apply apache state on proxy nodes" into stable/euphrates
Alexandru Avadanii [Sat, 11 Nov 2017 02:00:27 +0000 (02:00 +0000)]
Merge "Apply apache state on proxy nodes" into stable/euphrates

6 years agoMerge "lib.sh: Cleanup previous /boot/efi contents" into stable/euphrates
Alexandru Avadanii [Fri, 10 Nov 2017 16:20:00 +0000 (16:20 +0000)]
Merge "lib.sh: Cleanup previous /boot/efi contents" into stable/euphrates

6 years agoMerge "docs: add Pod Descriptor Files information" into stable/euphrates
Alexandru Avadanii [Fri, 10 Nov 2017 16:19:38 +0000 (16:19 +0000)]
Merge "docs: add Pod Descriptor Files information" into stable/euphrates

6 years agoApply apache state on proxy nodes 43/47043/1
Michael Polenchuk [Fri, 10 Nov 2017 12:58:06 +0000 (16:58 +0400)]
Apply apache state on proxy nodes

Apache module will take care of ports.conf file to prevent
bind socket conflict between apache & nginx services.

Change-Id: Ia76ec356002e1db0dabd20d8f355a1b16fc07b30
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit eb4645206d6d74992fca3b8726ee2eebca97205f)

6 years agodocs: add Pod Descriptor Files information 85/46985/1
Guillermo Herrero [Thu, 9 Nov 2017 10:57:40 +0000 (11:57 +0100)]
docs: add Pod Descriptor Files information

Change-Id: I9ca83d2bc42cb15cd37aa3726c02c458fb8a0ea3
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
(cherry picked from commit a9d51e138de235fe98ba686a8ef0ad22e2e975d5)

6 years agoHandle vlan package to avoid downgrade 57/46957/1
Michael Polenchuk [Thu, 9 Nov 2017 08:11:06 +0000 (12:11 +0400)]
Handle vlan package to avoid downgrade

Change-Id: Ic81507f3f7b3fec593b507e0c534434e8489b01b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit ceedb354822eb672fdde6d63d49cbe2f05f29cdb)

6 years agolib.sh: Cleanup previous /boot/efi contents 55/46855/1
Alexandru Avadanii [Wed, 8 Nov 2017 01:09:13 +0000 (02:09 +0100)]
lib.sh: Cleanup previous /boot/efi contents

Some UEFI firmwares insist on scanning removable drives, even when
boot entries were deleted from UEFI boot list (board flash).

To work around this, remove contents of </boot/efi/*>, so scanning
won't identify any valid EFI binaries.
Another option would be erasing partition tables, but identifying
the underlying disk(s) is more complicated, especially when using
LVM/RAID etc.

Change-Id: I9949b99b139b1642e3bd8f04de3bd5ef74d1ecc5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit a0a93056d5d5c52b739a2bc8fe0e2aaabb962f36)

6 years agoMaaS: Fix conflicting curtin network config 45/46845/1
Alexandru Avadanii [Tue, 7 Nov 2017 19:02:28 +0000 (20:02 +0100)]
MaaS: Fix conflicting curtin network config

JIRA: FUEL-301

Change-Id: I9de98fb961fd1d480b45a774de61ad6a93e9addf
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 3803f9ff798b5c186e605cb8366b5153ab4e19fc)

6 years agoMerge "salt modules: debian_ip: Accept uppercase ifaces" into stable/euphrates
Alexandru Avadanii [Wed, 8 Nov 2017 02:09:51 +0000 (02:09 +0000)]
Merge "salt modules: debian_ip: Accept uppercase ifaces" into stable/euphrates

6 years agoMerge "Enable glance v1 api for orchestra tests" into stable/euphrates
Alexandru Avadanii [Wed, 8 Nov 2017 02:09:37 +0000 (02:09 +0000)]
Merge "Enable glance v1 api for orchestra tests" into stable/euphrates

6 years agoMerge "[maas] Conform regex to machines status output" into stable/euphrates
Alexandru Avadanii [Wed, 8 Nov 2017 02:09:17 +0000 (02:09 +0000)]
Merge "[maas] Conform regex to machines status output" into stable/euphrates

6 years agodocs: Add network layout example diagrams 01/46801/1
Alexandru Avadanii [Sun, 29 Oct 2017 20:25:11 +0000 (21:25 +0100)]
docs: Add network layout example diagrams

JIRA: FUEL-295

Change-Id: I3d7958951f1b37fe34dfaa28710a7f286a7a549a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit b6527d709db68ce2847f34a368316878b9c6ff75)

6 years ago[maas] Conform regex to machines status output 99/46799/1
Michael Polenchuk [Tue, 7 Nov 2017 10:12:19 +0000 (14:12 +0400)]
[maas] Conform regex to machines status output

Change-Id: Icc30d27951abb1e231c9269c6293782a39e08fb6
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit f31a33c3f576733728118bbd181707f4db55f903)

6 years agoEnable glance v1 api for orchestra tests 89/46689/1
Michael Polenchuk [Fri, 3 Nov 2017 10:59:20 +0000 (14:59 +0400)]
Enable glance v1 api for orchestra tests

Change-Id: Ia896c3f9fcd96dd498eef6d1f83d46e29df0cd6b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit c2925b6d13a20468845f8af1b54665cbac8b9bef)

6 years agosalt modules: debian_ip: Accept uppercase ifaces 87/46687/1
Alexandru Avadanii [Thu, 2 Nov 2017 18:36:23 +0000 (19:36 +0100)]
salt modules: debian_ip: Accept uppercase ifaces

Since VMs are not affected by this limitation, only apply the fixup
to baremetal nodes.

JIRA: FUEL-299

Change-Id: Ib94c481627538d900295df03b8c8fdc7b61cd718
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 8f39b4895fa66223ef6293630556457f8fb9a348)

6 years agoMerge "[virtual] Horizon: server: secure = False" into stable/euphrates
Alexandru Avadanii [Thu, 2 Nov 2017 16:50:22 +0000 (16:50 +0000)]
Merge "[virtual] Horizon: server: secure = False" into stable/euphrates

6 years agoConnect proxy nodes to public network 25/46525/1
Michael Polenchuk [Wed, 25 Oct 2017 13:43:49 +0000 (17:43 +0400)]
Connect proxy nodes to public network

cloudify vnf requires public enpoints to be available from instance
with manager, so connect nodes w/ nginx to routed public network.

JIRA: FUEL-286
Change-Id: Id0caa699519b9b46dad51deac6955afe6a0050de
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 0861ea0799114d9c59499f2c52a9c7a79fb1bbb7)

6 years ago[virtual] Horizon: server: secure = False 85/46485/1
Alexandru Avadanii [Mon, 30 Oct 2017 17:40:11 +0000 (18:40 +0100)]
[virtual] Horizon: server: secure = False

Horizon login fails due to CSRF_COOKIE_SECURE being set when no SSL
is available.

JIRA: FUEL-297

Change-Id: I23f8ee86dbf5a909c75cfcc217a2ab6e4dca7324
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 6436cbad3cdf190d891c0121c7e6a7fd814a1026)

6 years agolib.sh: rm Ubuntu boot entry on EFI systems 33/46433/1
Alexandru Avadanii [Thu, 24 Aug 2017 02:09:59 +0000 (04:09 +0200)]
lib.sh: rm Ubuntu boot entry on EFI systems

On EFI-enabled systems, grub-install from grub-efi-* package
installs a boot entry named "ubuntu".

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, before starting a new baremetal deploy.

NOTE: This only runs against nodes that are online from a
previous deploy.

Closes: ARMBAND-47

Change-Id: I1c4ece09e42845ce2a1b7119ec69e46e5ca12376
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 4e2c736cce578d1073dab0e0960b524b1dcc663a)

6 years agodocs: Spelling correction 77/46377/1
Taseer Ahmed [Sun, 29 Oct 2017 10:57:46 +0000 (15:57 +0500)]
docs: Spelling correction

Change-Id: I35076b8cd81451482944d91f3dd3337dd849ef28
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
(cherry picked from commit 4c0e4186721a2315ac316f5170c6cd3a8199eb6a)

6 years agoMerge "patches: pharos: Dynamic PXE interface index" into stable/euphrates
Alexandru Avadanii [Fri, 27 Oct 2017 21:38:39 +0000 (21:38 +0000)]
Merge "patches: pharos: Dynamic PXE interface index" into stable/euphrates

6 years agoMerge "lib.sh: Fix compatibility with bash 4.2" into stable/euphrates
Alexandru Avadanii [Fri, 27 Oct 2017 20:26:24 +0000 (20:26 +0000)]
Merge "lib.sh: Fix compatibility with bash 4.2" into stable/euphrates

6 years agopatches: pharos: Dynamic PXE interface index 45/46345/1
Alexandru Avadanii [Fri, 27 Oct 2017 19:04:10 +0000 (21:04 +0200)]
patches: pharos: Dynamic PXE interface index

Change-Id: I7eae35c2e040cf316af45fd420ba6611abb2fa4b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit a1a73087d8e5cb43d2ebcf313f7a784b20bc4a3e)

6 years agopatches: pharos: IPMI: Trim netmask from IP 29/46329/1
Alexandru Avadanii [Fri, 27 Oct 2017 17:21:40 +0000 (19:21 +0200)]
patches: pharos: IPMI: Trim netmask from IP

ericsson-pod1 uses 'IP/netmask' format for IPMI IPs in its PDF, which
is part of PDF spec, so update our installer adapter template
accordingly.

This change will be reverted once the patch is merged upstream in
Pharos OPNFV git repo.

Change-Id: Ie97177444f0445501fc0a7b131569ff1af6fee3c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 94b3833e4b8c3de58cecd673091015a4c8f1640c)

6 years agoci/deploy.sh: Add PDF parsing dependencies 19/46319/1
Alexandru Avadanii [Thu, 26 Oct 2017 16:53:53 +0000 (18:53 +0200)]
ci/deploy.sh: Add PDF parsing dependencies

The following packages are required for PDF parsing:
- python
- python-ipaddress
- python-jinja2

Note that `python-ipaddress` is not available on older Ubuntu
distributions (e.g. Trusty), in which case `pip` should be used to
install it. An alternative would be to use python3 packages.

Update the installation instructions to specify minimum expected
requirements on the jump server.

JIRA: FUEL-292

Change-Id: I19fdcc163dcfdee45ac6fa3f5e09a28638d6035c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit f10bc960eead6c1423ada006a383515279056886)

6 years agoMerge "AArch64: Switch jumpserver VMs to virtio video" into stable/euphrates
Alexandru Avadanii [Fri, 27 Oct 2017 16:56:59 +0000 (16:56 +0000)]
Merge "AArch64: Switch jumpserver VMs to virtio video" into stable/euphrates

6 years agolib.sh: Fix compatibility with bash 4.2 05/46305/1
Alexandru Avadanii [Thu, 26 Oct 2017 18:54:41 +0000 (20:54 +0200)]
lib.sh: Fix compatibility with bash 4.2

JIRA: FUEL-296

Change-Id: Ide9f9333fe9b44ff6b78678064f8e67f05aabd42
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit fa62907da62d0b8ae9e733a9729941065ceedf4d)

6 years agoMerge "docs: Add more info about virtual deployment" into stable/euphrates
Alexandru Avadanii [Fri, 27 Oct 2017 09:50:24 +0000 (09:50 +0000)]
Merge "docs: Add more info about virtual deployment" into stable/euphrates

6 years agoAdd missing installation dependency 03/46303/1
Taseer Ahmed [Thu, 26 Oct 2017 07:25:25 +0000 (12:25 +0500)]
Add missing installation dependency

- uuidgen is required for installation
- Add installation package for both Debian and
  RHEL based linux distribitions

Change-Id: I9c9bf04e64dc6be1b4e8fb92aea531eccbea33a5
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
(cherry picked from commit 95835f48cc4a65e5ccc1c48c94fa4caa51e67733)

6 years agodocs: Add more info about virtual deployment 01/46301/1
Taseer Ahmed [Thu, 26 Oct 2017 07:19:34 +0000 (12:19 +0500)]
docs: Add more info about virtual deployment

Change-Id: I82f639f380092ea6800ed1e7c86a415b7979ec44
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
(cherry picked from commit e942d5b7b4d73f2030840c08cb2943f7599eb557)

6 years agoAArch64: Switch jumpserver VMs to virtio video 99/46299/1
Alexandru Avadanii [Thu, 26 Oct 2017 17:22:19 +0000 (19:22 +0200)]
AArch64: Switch jumpserver VMs to virtio video

Drop vgabios dependency by switching video from VGA to virtio for
all VMs spawned on the jumpserver.

NOTE: This requires virtualization packages on the jumpserver to be
up to date (e.g. libvirt, QEMU).

JIRA: ARMBAND-306

Change-Id: I73913e1ae8584f4e73b92994f78f7ec363cba3ec
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit d058675b9a4274336ae3497914d6651f653ccde0)

6 years agoRun aodh state one by one 53/46253/1
Michael Polenchuk [Thu, 26 Oct 2017 08:46:58 +0000 (12:46 +0400)]
Run aodh state one by one

Apply aodh state in consecutive order to avoid
a race condition with database synchronization.

Change-Id: I4684fbeaaba2c9780084e0a64fe6453bccfb67e0
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 9cfa75272ba2fd9abab416db1f22df5989c9959e)

6 years agofix for documentation: correct git checkout tag is opnfv-5.0.2 83/46183/1
Mika Rautakumpu [Tue, 24 Oct 2017 15:39:50 +0000 (18:39 +0300)]
fix for documentation: correct git checkout tag is opnfv-5.0.2

Change-Id: I2c4192d4dc299d167ba6b1b9db91c6d73c87c417
Signed-off-by: Mika Rautakumpu <mika.rautakumpu@nokia.com>
(cherry picked from commit 6cb5e8ee2deeda4b08cefe8925078410994d084f)

6 years agoMinor updates to documentation 31/46131/1 opnfv-5.0.2
Cristina Pauna [Mon, 23 Oct 2017 15:26:42 +0000 (18:26 +0300)]
Minor updates to documentation

Change-Id: I35b8069a0239858dad3b446f683d64140964fb42
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
(cherry picked from commit 4b163654de5efd0f4ad5dc5c88475f6fa2b4b8ae)

6 years agoCatch expected failures 99/46099/1 opnfv-5.0.1
Michael Polenchuk [Sat, 21 Oct 2017 17:27:18 +0000 (21:27 +0400)]
Catch expected failures

* neutron on computes (dpdk case: void state)
* mongodb server (incomplete initialization)

Change-Id: I3dd3266b5c2d1b155981f725e15742cd38ed899d
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 24d9cdd384635d8c1a037d6341d63a9c9be039b1)

6 years agoMerge "lib.sh: Fix locals override in nested invocations" into stable/euphrates opnfv-5.0.0 opnfv-5.0.RC1
Alexandru Avadanii [Thu, 19 Oct 2017 22:59:17 +0000 (22:59 +0000)]
Merge "lib.sh: Fix locals override in nested invocations" into stable/euphrates

6 years ago[vcp] Increase timeout till VCP VMs online 03/45903/1
Alexandru Avadanii [Thu, 19 Oct 2017 22:32:49 +0000 (00:32 +0200)]
[vcp] Increase timeout till VCP VMs online

Change-Id: I95c284cbf374194694360bffbeaf6770db6111bf
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 4b63bd0ea961d06723b277b874168c2aaddb96c5)

6 years agolib.sh: Fix locals override in nested invocations 95/45895/1
Alexandru Avadanii [Thu, 19 Oct 2017 21:58:05 +0000 (23:58 +0200)]
lib.sh: Fix locals override in nested invocations

'wait_for' bash function is nested in another 'wait_for' call in some
places, which leads to inner calls interfering with outer calls by
overriding the locally scoped variables, including the 'attempt'
internal counter. In some cases, the outer 'wait_for' would exit
after a single attempt.

Fix that by running all contents of `wait_for` inside a subshell,
which inherits outer calls variables, but does not override them
when the inner call is finished.

Change-Id: I450eda3d023af2380c61ee930071fbfc393a5645
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 2776ab9d850e764a92c30c858befc48e474f6dd4)

6 years agoMerge "[baremetal] PDF-based network config" into stable/euphrates
Alexandru Avadanii [Thu, 19 Oct 2017 21:39:54 +0000 (21:39 +0000)]
Merge "[baremetal] PDF-based network config" into stable/euphrates

6 years agoMerge "[baremetal] Remove infinite loops from node checks" into stable/euphrates
Alexandru Avadanii [Thu, 19 Oct 2017 21:39:33 +0000 (21:39 +0000)]
Merge "[baremetal] Remove infinite loops from node checks" into stable/euphrates

6 years ago[virtual] Rise memory for ovs/dpdk scenario 53/45853/1
Michael Polenchuk [Thu, 19 Oct 2017 16:13:11 +0000 (20:13 +0400)]
[virtual] Rise memory for ovs/dpdk scenario

Let's add more hugepages/memory to the compute nodes since
snaps_smoke required 2Gb flavor for tests.

Change-Id: If52f30d53a6469abeca67aaf2bdee551542d1653
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 496c818b28b6d668428b3e8996675a7edd688f73)

6 years ago[baremetal] Remove infinite loops from node checks 31/45831/1
Alexandru Avadanii [Thu, 19 Oct 2017 14:46:28 +0000 (16:46 +0200)]
[baremetal] Remove infinite loops from node checks

Change-Id: I7a21c30d49aecca948f45535fec164c2f643450e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 9cfa3c11bbd71ce4ec24dba9dbd9a2289b76a4a3)

6 years agoUpdate the reference for scenarios 25/45825/1
Cristina Pauna [Thu, 19 Oct 2017 12:19:56 +0000 (15:19 +0300)]
Update the reference for scenarios

Modified the reference link for the scenarios as it colides with
another installer. To be used with https://gerrit.opnfv.org/gerrit/#/c/45795

Change-Id: I7b55cfdb877715ec4fa0292adc11e36b7cf4ae53
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
(cherry picked from commit aa0f463972db10c96ea61f7f7067477ad28b6482)

6 years ago[baremetal] cmp: run linux.network before reboot 19/45719/1
Alexandru Avadanii [Thu, 19 Oct 2017 03:34:28 +0000 (05:34 +0200)]
[baremetal] cmp: run linux.network before reboot

The recent addition of `linux.system`, combined with `system.reboot`
for the baremetal compute nodes leaves compute nodes unconfigured
after reboot.
Run `system.network` too, but expect a failure (only for DPDK, which
requires hugepages to be already active, hence a prior reboot).

Fixes: 64920b8

Change-Id: I8c73b24ae15e1f87dee64ae2aba7af86db1e942f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 595119281c50edb86b987f5fdd6eac25e28147ae)

6 years agoMerge "Horizon: service: Default to v2 API" into stable/euphrates
Alexandru Avadanii [Thu, 19 Oct 2017 03:03:20 +0000 (03:03 +0000)]
Merge "Horizon: service: Default to v2 API" into stable/euphrates

6 years ago[baremetal] maas state: Wait for all nodes online 95/45695/1
Alexandru Avadanii [Thu, 19 Oct 2017 01:14:14 +0000 (03:14 +0200)]
[baremetal] maas state: Wait for all nodes online

After MaaS reports baremetal provisioning finished successfully,
check that all nodes are online before attempting a `sync_all`.

Change-Id: I6ba4b3e4ba5b5258ace4da8c39e0fc77354885e3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit b9918f1f8df52c52cd2ab76eec3b540b37789e55)

6 years ago[baremetal] maas state: Retry sync_all on failure 39/45639/1
Alexandru Avadanii [Wed, 18 Oct 2017 22:57:22 +0000 (00:57 +0200)]
[baremetal] maas state: Retry sync_all on failure

Change-Id: Ib4aa3f2cb4fc7129d502b4332cd7fedd83a0e1fe
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 51f374b055999fbc121b624424c21ee45d061538)

6 years ago[baremetal] PDF-based network config 33/45633/1
Alexandru Avadanii [Tue, 17 Oct 2017 16:12:25 +0000 (18:12 +0200)]
[baremetal] PDF-based network config

This change extends current PDF/IDF support with:
- dynamic interface / vlan definition;
- dynamic interface and/or bridge allocation of installer networks on
  top of interfaces (physical or vlans);

This allows us to drop hardcoded interface names and vlan / bridge
configuration in favor of a runtime determined model based on PDF/IDF.

For now, we duplicate common jinja variable definitions in each
template, but this will later be moved to a common include file.

JIRA: FUEL-275

Change-Id: Ia80a66dbdf898b0bd0a4fb99d069ce9ebe33fa65
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit c360b972649028d2613fc8561899c2c8b7f71832)

6 years agoHorizon: service: Default to v2 API 27/45627/1
Alexandru Avadanii [Wed, 18 Oct 2017 21:19:50 +0000 (23:19 +0200)]
Horizon: service: Default to v2 API

Horizon service definition hardcodes the API version to v3, and
also overrides the value in our reclass model during interpolation.
Adjust the default to '2'.

While at it, move 'reclass' patching later in `salt.sh`, after
the salt formula packages are installed.

JIRA: FUEL-284

Change-Id: I6f63b4d00ae85c82b076b3efef857e7cc4f3fd35
Signed-off-by: Ting Wu <ting.wu@enea.com>
Signed-off-by: Junaid Ali <junaidali.yahya@gmail.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 68ff467c4c2d9d0f201e2912c97616402f8109a3)

6 years ago[virtual] Horizon: Use v2 API instead of v3 85/45585/1
Alexandru Avadanii [Wed, 18 Oct 2017 13:50:42 +0000 (15:50 +0200)]
[virtual] Horizon: Use v2 API instead of v3

JIRA: FUEL-284

Change-Id: I821a8e79e6a23a71eae0fc0f857c1d05b30cd188
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 5936f07b1e951f4f08c0bc20c97122289f544c9e)

6 years agoReturn back glusterfs client state 79/45579/1
Michael Polenchuk [Mon, 16 Oct 2017 11:45:54 +0000 (15:45 +0400)]
Return back glusterfs client state

In order to set properly keystone fernet keys, apply glusterfs client
state before second keystone server state. Also leave out user/group
settings for glusterfs volume of nova instances as it will be set later
by nova compute packages themselves.

Change-Id: I069e37c67f08c51ed29f45cf6f92d4a00a1ac97b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 0224929b3a87d0e0ec011311c46872e6142497cf)

6 years agoMerge "states: Break on error, retry states up to 5 times" into stable/euphrates
Alexandru Avadanii [Wed, 18 Oct 2017 16:20:15 +0000 (16:20 +0000)]
Merge "states: Break on error, retry states up to 5 times" into stable/euphrates

6 years agoMerge "[baremetal] Fix DPDK by running linux.system first" into stable/euphrates
Alexandru Avadanii [Wed, 18 Oct 2017 16:19:36 +0000 (16:19 +0000)]
Merge "[baremetal] Fix DPDK by running linux.system first" into stable/euphrates

6 years agoMerge "[baremetal] reclass: Fix class order for common" into stable/euphrates
Alexandru Avadanii [Wed, 18 Oct 2017 15:07:49 +0000 (15:07 +0000)]
Merge "[baremetal] reclass: Fix class order for common" into stable/euphrates

6 years agoAdd documentation for scenarios 57/45557/1
Cristina Pauna [Wed, 18 Oct 2017 11:07:20 +0000 (14:07 +0300)]
Add documentation for scenarios

Added documents for feature scenarios supported by fuel.
The nofeature scenarions don't require documentation.

Change-Id: I574e42b60125b4a59c8d921fa45e4c4fbf09137f
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
(cherry picked from commit 2a74900ecd451c939a34d53a529e802cc2250db9)

6 years ago[baremetal] reclass: Fix class order for common 31/45431/1
Alexandru Avadanii [Tue, 17 Oct 2017 19:39:20 +0000 (21:39 +0200)]
[baremetal] reclass: Fix class order for common

Inheriting classes in the wrong order led to params being silently
overriden by defaults in the system reclass classes, leaving
some mismatched values between the controller nova config and the
compute conunterpart (e.g. metadata_password had different values).

Always inherit the common class first, so scenario-specific config
is applied on top.

NOTE: {dhcp,single}_nic are not used for mas|kvm|cmp nodes, but they
are referenced in inherited classes, so keep them for now.

Change-Id: I6cb90d5c832ffc8ab731bd9e3cd38ede858dba5c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 92530f89c061b0070766e431f839feb368e2e4ac)

6 years ago[baremetal] Fix DPDK by running linux.system first 79/45279/1
Alexandru Avadanii [Mon, 16 Oct 2017 19:53:47 +0000 (21:53 +0200)]
[baremetal] Fix DPDK by running linux.system first

DPDK scenario requires hugepages to be set up and enabled before
configuring OVS ports, so apply `linux.system` on compute nodes
and reboot them before attempting to run `linux.network` state.

Change-Id: I2b685361b07727a4740a3676c5f219a6443d1cf2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 64920b8bb1e95389146451598221f2c7eb97f5e3)

6 years agosalt.sh: DEBIAN_FRONTEND=noninteractive 77/45277/1
Alexandru Avadanii [Sun, 15 Oct 2017 22:19:57 +0000 (00:19 +0200)]
salt.sh: DEBIAN_FRONTEND=noninteractive

Change-Id: Ibb1e78563043298dffdb4b7e9091d3f582e189fc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 882220ff185d7bcc15e6c5f75edaee454c933956)

6 years ago[ovs/dpdk] Return true on linux.network state 63/45263/1
Michael Polenchuk [Mon, 16 Oct 2017 10:24:13 +0000 (14:24 +0400)]
[ovs/dpdk] Return true on linux.network state

linux.network state is expected to be down until node reboot
to activate required hugepages therefore return true in any case.

Change-Id: I61deac12b9ac212c5f79cdcce30cda8e5d24413b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 044f49fd195526d8c00967fb9a0b6b1ab0a36c14)

6 years agostates: Break on error, retry states up to 5 times 47/45147/1
Alexandru Avadanii [Sat, 14 Oct 2017 20:47:45 +0000 (22:47 +0200)]
states: Break on error, retry states up to 5 times

While applying scenario states, break on error, and retry failed
state up to 5 times. Apply the same behavior for `salt.sh`.

Add new deploy parameter, '-D', backed up by 'CI_DEBUG' env var,
which gates deploy sh scripts logging (set -x).
Also extend '-f' deploy parameter, allowing it to be specified
more than once; the first occurence will skip infra VM creation,
but still sync reclass & other config from local repo, while a
second occurence will also disable config sync.

To prevent glusterfs client state from failing due to non-existent
nova user/group, move it after nova:compute's nova state is applied.

Change-Id: I234e126e16be0e133d878957bd88fed946955de8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 23f9ef727310a8ef449372313785241df6557559)

6 years agoAdd license headers where missing 33/45133/1
Alexandru Avadanii [Sat, 14 Oct 2017 17:42:41 +0000 (19:42 +0200)]
Add license headers where missing

While at it, compact 'set' into bash shebang where possible and
add `make patches-copyright` target to simplify adding patch
license headers.

Change-Id: I0c841de72e5709e5eef915a52c5ec4a7fc0f7c37
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 644e5fdfa2f49b988a5150e2a4eefc12daecd845)

6 years agoreclass: baremetal: Factor out common code 29/45129/2
Alexandru Avadanii [Thu, 12 Oct 2017 00:51:17 +0000 (02:51 +0200)]
reclass: baremetal: Factor out common code

While at it, add .yamllint file (copied from releng repo).

Change-Id: I39630c0043fe2fd601510969c401e6cc9efbf69a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit a75af3d4c30af050dd15c0f875142f6328874fe4)

6 years agoDrop infinite loops in favor of finite wait_for 13/45113/1
Alexandru Avadanii [Sat, 14 Oct 2017 17:18:51 +0000 (19:18 +0200)]
Drop infinite loops in favor of finite wait_for

While at it, fix some shellcheck warnings, and s/fgrep/grep -F/g.

Change-Id: I093b7b4c196731b1ecc0c27a4111955b2e412762
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 089585ad5370109d4c2a476b94b0017153d7713d)

6 years agostates: Split virtual_control_plane from maas 95/45095/1
Alexandru Avadanii [Fri, 8 Sep 2017 21:03:56 +0000 (23:03 +0200)]
states: Split virtual_control_plane from maas

We should eventually also support baremetal deploys without a
virtualized control plane (VCP), so decouple MaaS provisioning
from VCP provisioning.

While at it, move "wait_for" bash function from maas state to
common library file, lib.sh.

Change-Id: I32c33135655cb6aceae901a5f92b51265a8c84b4
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit ebd7067904b36ae32566da63e433365948a1f973)

6 years agopatch.sh: Exit on patch apply failure 79/45079/1
Alexandru Avadanii [Mon, 25 Sep 2017 23:16:54 +0000 (01:16 +0200)]
patch.sh: Exit on patch apply failure

Patches that fail to apply are silently skipped. Since retrying is
not possible, deploy moves on, making the problem hard to observe.

Change-Id: I3fe01cef6b245de53767a660b9b4fdfae0d5d0ff
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit bd0259e7bb5f045a1ba7958d79039848d062aad1)

6 years agoci/deploy.sh: Add installation succesful message 41/45041/1
Alexandru Avadanii [Fri, 13 Oct 2017 17:21:26 +0000 (19:21 +0200)]
ci/deploy.sh: Add installation succesful message

Change-Id: Id366854c4ccb3b835f4a54ddea924a3a2cc30c7d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 3479e81a8bfa1ae15084100f2b3872ca8f1ed752)

6 years agoMerge "docs: Update release documentation" into stable/euphrates
Alexandru Avadanii [Fri, 13 Oct 2017 11:09:46 +0000 (11:09 +0000)]
Merge "docs: Update release documentation" into stable/euphrates

6 years agodocs: Update release documentation 37/44937/1
Cristina Pauna [Mon, 2 Oct 2017 14:17:45 +0000 (17:17 +0300)]
docs: Update release documentation

JIRA: FUEL-276

Change-Id: I09799b2dde3c992d229864757e655c108d33608a
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
(cherry picked from commit 029462bc462b1dea05920464b8d0acc77f789eef)

6 years agodocs: Update installation instructions 35/44935/1
Cristina Pauna [Wed, 27 Sep 2017 13:54:47 +0000 (16:54 +0300)]
docs: Update installation instructions

This documentation contains the updated procedure on how to use
Fuel to deploy openstack.

JIRA: FUEL-276

Change-Id: I38dc9c57ea386a628cd363f5bcef3818739b9122
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
(cherry picked from commit 1e3b2751ce0ca7fa2b011efdc76ae69dfc106ec8)

6 years agoreclass: Fix all remaining yamllint warning 31/44831/1
Alexandru Avadanii [Wed, 11 Oct 2017 18:04:10 +0000 (20:04 +0200)]
reclass: Fix all remaining yamllint warning

Change-Id: I1e0e1ba291dd4d5af578d89274f3655ee784f64e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit c11eb920a3570ed22b252bbb8eecfb5231f5db1a)

6 years agoFix parametrized nic name variables 25/44825/1
Guillermo Herrero [Mon, 9 Oct 2017 11:56:08 +0000 (13:56 +0200)]
Fix parametrized nic name variables

-Fix interface order for reclass config node
-Interface types regruped on 3 sets for each cpu arch
  -Foundation VM interface names
  -VCP VM interface names
  -Baremetal node interface names

Change-Id: I1ae522d775ee538b35b0f043914c80c3993232fc
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
(cherry picked from commit c8d0c5b687f5eec9db62171fdf53053f5ffeef28)

6 years agoyamllint: Fix recently introduced errors 23/44823/1
Alexandru Avadanii [Tue, 10 Oct 2017 17:11:34 +0000 (19:11 +0200)]
yamllint: Fix recently introduced errors

Change-Id: If117588f7c43306959d29032b1d5eeb3c751dc44
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 8401f25a520843d884abb84806873baca0452ec8)

6 years agoreclass: Revert virt.nic to hardcoded eth{0,1} 21/44821/1
Alexandru Avadanii [Sun, 8 Oct 2017 12:26:24 +0000 (14:26 +0200)]
reclass: Revert virt.nic to hardcoded eth{0,1}

Salt's virtualization model for virt:nic:default does not use real
interface names that are present on the node, but instead it defaults
to using "ethX" notation, that name being only a convention inside
Salt internals.

Moreover, the 'salt.control.virt' reclass class (located in
/srv/salt/reclass/classes/system/salt/control) already provides a
defalt maping between "eth{0,1}" and "br{0,1}". Using anything
different than "eth{0,1}" will lead to 2 extra (broken) mappings.

Reverting the changes in "virt:nic" reclass fixes both the python
exception recently introduced, as well as the broken defaults.

Change-Id: I5c90e3d2bc181c1ad3d87af64440439e6a41fb28
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit db2144a7f6ed8586bbab39fdb5ea15b171388e85)

6 years agoParametrized network config: nic device names 19/44819/1
Guillermo Herrero [Tue, 3 Oct 2017 08:30:47 +0000 (10:30 +0200)]
Parametrized network config: nic device names

Change-Id: I94d40529261f7753ec47a0c6a8c67ecc0fb15951
Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
(cherry picked from commit 5ab45d25c8fd3e5528c411e09b105699c745457f)

6 years agoci/deploy.sh: Drop unsupported options 41/44741/1
Alexandru Avadanii [Sun, 8 Oct 2017 15:13:48 +0000 (17:13 +0200)]
ci/deploy.sh: Drop unsupported options

Drop support for unsupported arguments:
- timeout;
- iso URI;

While at it, disable shell debugging during PDF parsing to prevent
sensitive information leaking via debug logs.

Change-Id: I6b40f3e3749a3e162326728e670a176c8fa3c4bb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 106883131b2fa1c765cac7e83cc4c8e294ef231f)

6 years agoUpdate opendaylight version to nitrogen 71/44471/1
Michael Polenchuk [Fri, 6 Oct 2017 08:09:36 +0000 (12:09 +0400)]
Update opendaylight version to nitrogen

* use pseudo agentdb port binding controller instead of
  the deprecated network topology one
* disable superfluous l2population mechanism driver
* tidy up the duplicated haproxy neutron listen opts
* straighten karaf features list
* update jetty config

Change-Id: Ifacf8de11eb56ab72df13a312151a510b280dea2
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit fca7d22742df82fc6e502b17ad45ebc11c0ba89b)

6 years ago[virtual] Extend cinder volume size 57/44457/1
Michael Polenchuk [Fri, 6 Oct 2017 09:15:48 +0000 (13:15 +0400)]
[virtual] Extend cinder volume size

Rally test of NovaServers.boot_server_attach_created_volume_and_live_migrate
requires 10Gb volume to function, so extend volume group size in order to
avoid insufficient free space error.

Change-Id: I317935d2bf736db360061e24f299c9b885154a9e
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 2d95dee51177e66f5370b85115c2999925b13657)

6 years agolog.sh: Fix sourcing of globals.sh 83/44383/1
Alexandru Avadanii [Thu, 5 Oct 2017 15:17:28 +0000 (17:17 +0200)]
log.sh: Fix sourcing of globals.sh

Fix sourcing of globals.sh from log.sh when running with a CWD
different from scripts dir.

Change-Id: I680531022d30b57f650a612493f40fdb3e073dc2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 9ac845bdfb5c4ec7fd8c0b0ba1bc8fec867be5aa)

6 years agoci/deploy.sh: Move global vars to separate file 75/44375/1
Alexandru Avadanii [Tue, 3 Oct 2017 17:30:12 +0000 (19:30 +0200)]
ci/deploy.sh: Move global vars to separate file

log.sh should also work as standalone script, so factor out
global variables from <ci/deploy.sh> into <mcp/scripts/globals.sh>,
which should be sourced by log.sh when required variables are not set.

Change-Id: I5a5bb85ee5835f567d6910b11c137d95e2147714
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 45b22fab76f84cdbf71a6693dc42f24edaa4334e)

6 years agoIdentify jump host bridges based on IDF / PDF nets 79/44279/1
Alexandru Avadanii [Sat, 16 Sep 2017 01:22:38 +0000 (03:22 +0200)]
Identify jump host bridges based on IDF / PDF nets

- minor refactor of runtime templates parsing to allow var expansion;
- parse <pod_config.yml> into shell vars, match dynamically networks
  from PDF to IP addresses on bridges of current jumphost;
- keep old '-B' parameter in <ci/deploy.sh>, use it for providing
  fallback values in case there's no bridge name specified via IDF
  and no IP on the jumphost for one or more of the PDF networks;
- re-enable dry-run to ease testing of the above;
- add sample 'idf-pod1.yaml' to <mcp/config/labs/local>;

The new behavior will try to determine the jump host bridge names:
1. Based on IDF mapping, if available
2. Based on PDF network matching with IP addrs on jumphost;
3. Fallback to values passed via '-B';
4. Fallback to default values hardcoded in the deploy script;

Later, we will drop MaaS network env vars in favor of PDF vars,
once the PDF template is generating them.

Change-Id: If9cd65d310c02965b2e2bfa06a0d7e0f97f1dd48
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit 8ec927497b7ee0fd3b7346e957878173b080ef6a)