apex.git
5 years agoFixes deployment failure with allNodesConfig 17/58217/2
Tim Rozet [Tue, 5 Jun 2018 01:19:22 +0000 (21:19 -0400)]
Fixes deployment failure with allNodesConfig

This pulls in upstream patch to revert a bad commit that causes the
"Unknown Property controller_ips". Also includes a fix for being able to
detect if patches that are merged upstream are also promoted into
TripleO images or container images. This happens by comparing the time
the patch was submitted to the time when the TripleO Image or Docker
Image was last updated.

JIRA: APEX-610
JIRA: APEX-612

Change-Id: I1c2ab7fb4425b407acd7b6d9ebab914ed3a24478
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoMerge "Configure NAT with baremetal when necessary"
Feng Pan [Thu, 31 May 2018 17:32:27 +0000 (17:32 +0000)]
Merge "Configure NAT with baremetal when necessary"

5 years agoMerge "Updates configs for ODL CSIT deployments"
Feng Pan [Wed, 30 May 2018 19:56:33 +0000 (19:56 +0000)]
Merge "Updates configs for ODL CSIT deployments"

5 years agoConfigure NAT with baremetal when necessary 91/57791/3
Tim Rozet [Wed, 23 May 2018 20:51:48 +0000 (16:51 -0400)]
Configure NAT with baremetal when necessary

We currently only enable NAT on undercloud for virtual deployments.
However, there could be a case where a baremetal deployment also needs
NAT as it is not using an interface on the overcloud nodes with external
access. Therefore this patch changes the behavior to configure NAT when
the gateway of either the external or admin (when external is disabled)
network matches an IP assigned to the undercloud.

JIRA: APEX-605

Change-Id: I9c79af371913e6e5f0d39b433f68205bc7e106c5
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoUpdates configs for ODL CSIT deployments 75/54575/6
Tim Rozet [Wed, 28 Mar 2018 20:58:15 +0000 (13:58 -0700)]
Updates configs for ODL CSIT deployments

For ODL CSIT we want to deploy with:
 - Minimum services per role
 - 2 Compute nodes, 1 controller
 - Single network enabled

Change-Id: If611c4c1ff68629670ef15904930124b5786a569
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoMerge "Default ctlplane to native VLAN"
Feng Pan [Tue, 29 May 2018 17:13:01 +0000 (17:13 +0000)]
Merge "Default ctlplane to native VLAN"

5 years agoMerge "Remove pacmeaker workaround"
Feng Pan [Tue, 29 May 2018 13:10:59 +0000 (13:10 +0000)]
Merge "Remove pacmeaker workaround"

5 years agoMerge "Promote Ricky to committer"
Tim Rozet [Tue, 29 May 2018 13:09:24 +0000 (13:09 +0000)]
Merge "Promote Ricky to committer"

5 years agoRemove pacmeaker workaround 39/57939/1
Tim Rozet [Fri, 25 May 2018 19:54:08 +0000 (15:54 -0400)]
Remove pacmeaker workaround

There was a compatibility issue with the centos 7.4/7.5 between the host
pacemaker version and container.  Now that containers have moved to 7.5
we should not need this workaround anymore.

Change-Id: I9632c65e87687d4f36130719c6df9af2e913eed8
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoAdding git as required dependency for Apex RPMs 63/57463/2
Ricardo Noriega [Wed, 16 May 2018 10:54:40 +0000 (12:54 +0200)]
Adding git as required dependency for Apex RPMs

  If it's not installed, opnfv-deploy will output an
  error message.

JIRA: APEX-599

Change-Id: Ib826204120f53abce1f4f1e3e4ec3119a71ab650
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
5 years agoDefault ctlplane to native VLAN 87/57787/1
Tim Rozet [Wed, 23 May 2018 20:09:47 +0000 (16:09 -0400)]
Default ctlplane to native VLAN

We were not setting any vlan type value for the admin network.  This
caused an issue when deploying and trying to use a single collapsed
network (no net isolation).  The issue occurred when trying to create an
external neutron network.  We happen to check if the phys type is flat
or vlan using this attribute to decide what kind of phys type to use for
the neutron network.

JIRA: APEX-606

Change-Id: I4e24dd5e8b99cef920b8203b820a77d0021631cc
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoPromote Ricky to committer 83/57783/1
Tim Rozet [Wed, 23 May 2018 19:42:22 +0000 (15:42 -0400)]
Promote Ricky to committer

Ricky has been a very active Apex user and contributor over the past few
release cycles.  He has helped find and fix numerous bugs, along with
being responsible for L2GW and SRIOV features for Fraser release.  He
has shown a willingness to jump in and help whenever there are issues
with Apex, and also a willingness to work upstream in TripleO/OpenStack
to implement new features.

Change-Id: Ifd032fd349a46b0e34b2d77ba56e3c564e70226c
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoFix RPM build 85/57685/2
Tim Rozet [Tue, 22 May 2018 13:56:50 +0000 (09:56 -0400)]
Fix RPM build

networking-vpp was referencing variables from the old variables.sh.
Moving those values into the Makefile as the variables.sh file was
removed.

Change-Id: I8ef5e6988299e7e3855d442657db2ed20086689f
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoFixes ctlplane default route 15/57415/2
Tim Rozet [Tue, 15 May 2018 20:38:44 +0000 (16:38 -0400)]
Fixes ctlplane default route

Default route was using the undercloud IP, and instead should be using
the gateway set for the network in network settings.

JIRA: APEX-597

Change-Id: Iff6b18a6553af98cf9da72c278f358922d489958
Signed-off-by: Tim Rozet <trozet@redhat.com>
5 years agoMigrates master to use direct upstream 81/56981/34
Tim Rozet [Wed, 2 May 2018 16:34:38 +0000 (12:34 -0400)]
Migrates master to use direct upstream

We now move master to deploy from upstream.  That means we do not need
to build undercloud/overcloud images anymore.

Changes-Include:
 - Remove bash build scripts as we do not need to build anything
   other than the python package anymore
 - Remove building images or iso from build.py
 - Remove building of images and iso from Makefile
 - Rename/refactor deploy settings files for nosdn and odl.  The new
   convention is that the typical scenario names we use will deploy
   master.  We also support n-1 OS, so in that case we use the branch
   name for the "feature" in the scenario name: os-odl-queens-noha.
 - Tacker/Congress are disabled in settings files until we fix that with
   upstream.  Containers are now enabled by default.
 - Disable TLS for undercloud (was changed upstream to default enabled)
 - Fix environments docker directory for master THT (was changed upstream)
 - Includes fix for LP#1768901
 - Includes workaround for LP#1770692
 - Moves to docker.io for container images as it is more stable and
   should contain the same images
 - Removes the term 'common' from apex packaging for referencing the
   Python Apex package

Change-Id: If6b433860b3ff882686c78d0f24a2f0c52b9b57a
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoUpdates documentation for Fraser release 23/56523/4
Tim Rozet [Wed, 25 Apr 2018 17:45:31 +0000 (13:45 -0400)]
Updates documentation for Fraser release

Change-Id: I19bfaa5b2778baf458df60a4a53d135e57859e04
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Fix nosdn fdio scenario"
Tim Rozet [Thu, 19 Apr 2018 04:12:15 +0000 (04:12 +0000)]
Merge "Fix nosdn fdio scenario"

6 years agoMerge "Fixes OVN scenario"
Feng Pan [Thu, 19 Apr 2018 02:12:50 +0000 (02:12 +0000)]
Merge "Fixes OVN scenario"

6 years agoAdding NovaMigrationTarget service 89/55989/1
Ricardo Noriega [Wed, 18 Apr 2018 15:10:00 +0000 (17:10 +0200)]
Adding NovaMigrationTarget service

  Live migration fails due to this missing service
  in the compute role

JIRA: APEX-564

Change-Id: I13d69673204f6157dcbce31507aaa132f8c4ecce
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
6 years agoFix nosdn fdio scenario 75/55775/5
Feng Pan [Sat, 14 Apr 2018 02:22:40 +0000 (22:22 -0400)]
Fix nosdn fdio scenario

- Update networking-vpp to use master branch
- Update THT vpp ml2 environment file with correct parameters
- Update external network creation command to use 'externa' as
  provider network name.
- Remove vpp network settings file as it's not used

apex-tripleo-heat-templates: Ia25db8456f1ad6beb96c7b9b5f318b166ef4576a
apex-puppet-tripleo: I231054a433eb7e598a6e24f6eaea02d476e776de

Change-Id: I4a1f68c75ae3b7d2a5b347d05abf0d025e8b116b
Signed-off-by: Feng Pan <fpan@redhat.com>
6 years agoFixes OVN scenario 19/55919/1
Tim Rozet [Tue, 17 Apr 2018 17:54:27 +0000 (13:54 -0400)]
Fixes OVN scenario

The OVN scenario would not deploy due to failures in trying to upgrades
to OVS 2.8 from OVS 2.7

JIRA: APEX-594.

Change-Id: Id84e488da8d2335f2240930c68119d0e2f6faf9c
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFix barometer install failure 45/55745/1
Feng Pan [Sat, 14 Apr 2018 22:34:38 +0000 (18:34 -0400)]
Fix barometer install failure

We are seeing pip3 not found and collectd-write_sensu package conflicts
with latest pike overcloud images. This patch changes pip3 install to
python34-pip3 and updates collectd-write_sensu package version when
removing.

Change-Id: I7dfe1f2f39c3f21bffde8cfc6066f5bae66677d6
Signed-off-by: Feng Pan <fpan@redhat.com>
6 years agoEnable nosdn-fdio scenarios for Fraser release 53/54053/8
Feng Pan [Thu, 15 Mar 2018 23:44:39 +0000 (19:44 -0400)]
Enable nosdn-fdio scenarios for Fraser release

- Update neutron NSDriver patch
- Update os-net-config to fix config errors for vpp uio-driver
- Update puppet-tripleo to add configuration of physnets and type_driver
  in vpp agent
- Update THT to change VPP environment file for vpp-agent, and add common.yaml
  for vpp interface mapping
- Update VPP and networking-vpp version to 18.01
- Fix networking-vpp rpm build to enable proper uninstall.
- Update networking settings file to use ovs_bridge as default external interface type

JIRA: APEX-578
JIRA: APEX-568
JIRA: APEX-576
JIRA: APEX-577

apex-os-net-config: I915d5455acb8d496438b9c9e851639d3a43e6fa9
apex-puppet-tripleo: I472879b8f67e64b571638a0385943597a9120e6c
apex-tripleo-heat-templates: I5dfaf85d67fb038109edaf5c5d8a3e901b9148f4

Change-Id: I369bee232bfafef260d2ef19ac32614fdc487271
Signed-off-by: Feng Pan <fpan@redhat.com>
6 years agoMerge "Fix functional issues after nosdn deployment"
Feng Pan [Mon, 9 Apr 2018 21:33:49 +0000 (21:33 +0000)]
Merge "Fix functional issues after nosdn deployment"

6 years agoFix functional issues after nosdn deployment 71/55071/3
Tim Rozet [Fri, 6 Apr 2018 17:44:27 +0000 (13:44 -0400)]
Fix functional issues after nosdn deployment

After deploying with nosdn, it looks like there is some out of state
issue between the services.  First guess looks like something is going
on with the services and timing of registering to each other through
rabbit.  Simply restarting the services seems to sync them back up
correctly.

Change-Id: I417911067c841725ee12eb9354e5759054724e01
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes delorean repo update on undercloud 73/55073/1
Tim Rozet [Fri, 6 Apr 2018 18:55:00 +0000 (14:55 -0400)]
Fixes delorean repo update on undercloud

Previous fix to update delorean repo on undercloud was always failing
because the operations passed to virt-customize were not in a list type.

JIRA: APEX-565

Change-Id: Ic883309ac1c3aa6027dc252635e404e5355c269d
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes relative import for utils 29/55029/1
Tim Rozet [Thu, 5 Apr 2018 21:46:24 +0000 (17:46 -0400)]
Fixes relative import for utils

opnfv-pyutil was not working due to this relative import.  The script
would only work out of the pwd.

Change-Id: I1ed5db779dd031d019012a814b2dfe27944a2e2f
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes log location for pyutils 89/54989/1
Tim Rozet [Thu, 5 Apr 2018 13:23:32 +0000 (09:23 -0400)]
Fixes log location for pyutils

Change-Id: I03cda65f58753fc5d55ea4ede78f7d5bd8b7bdce
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoAdds the ability to fetch logs from deployment 75/47875/5
Tim Rozet [Mon, 27 Nov 2017 20:22:25 +0000 (15:22 -0500)]
Adds the ability to fetch logs from deployment

Usage:
opnfv-pyutil --fetch-logs
python3 utils.py --fetch-logs --lib-dir ../lib

Eventually all utils.sh functions will be migrated here.
Note there is no support here for containers.  Will be
added later.

Change-Id: I223b8592ad09e0370e287ee2801072db31f9aa12
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoGeneralization of recursive function 67/54567/2
Ricardo Noriega [Wed, 28 Mar 2018 17:35:11 +0000 (10:35 -0700)]
Generalization of recursive function

  Now, SDN_MAP is not needed to have a boolean true
  value, but it will check internally posible value formats
  such dicts and tuples.

Change-Id: Idaf492952a7dd9e48e16f42dcbf5c59d981dd535
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
6 years agoEnables containerized overcloud deployments 31/48331/27
Tim Rozet [Mon, 4 Dec 2017 16:20:23 +0000 (11:20 -0500)]
Enables containerized overcloud deployments

Changes Include:
  - For upstream deployments, Docker local registry will be updated with
    latest current RDO containers, regular deployments will use latest
    stable
  - Upstream container images will then be patched/modified and then
    re-uploaded into local docker registry with 'apex' tag
  - Deployment command modified to deploy with containers
  - Adds a --no-fetch deployment argument to disable pulling latest
    from upstream, and instead using what already exists in cache
  - Moves Undercloud NAT setup to just after undercloud is installed.
    This provides internet during overcloud install which is now
    required for upstream container deployments.
  - Creates loop device for Ceph deployment when no device is
    provided in deploy settings (for container deployment only)
  - Updates NIC J2 template to use the new format in OOO since
    the os-apply-config method is now deprecated in > Queens

JIRA: APEX-566
JIRA: APEX-549

Change-Id: I0652c194c059b915a942ac7401936e8f5c69d1fa
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Adding SRIOV scenario"
Tim Rozet [Fri, 16 Mar 2018 14:22:52 +0000 (14:22 +0000)]
Merge "Adding SRIOV scenario"

6 years agoAdding SRIOV scenario 39/52039/28
Ricardo Noriega [Mon, 12 Feb 2018 11:58:14 +0000 (12:58 +0100)]
Adding SRIOV scenario

  This scenario should enable SRIOV interfaces to be used
  by Neutron. Only will be supported in baremetal deployments
  with SRIOV capable NICs. The name of the interface must
  be known in advance and the physnet of the SRIOV network
  is set as nfv_sriov.

Change-Id: Ie4295413e0be2197bd9ada4f887f6b47cd486765
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
6 years agoMerge "Enabling extra bridge for native external network"
Feng Pan [Tue, 13 Mar 2018 14:07:23 +0000 (14:07 +0000)]
Merge "Enabling extra bridge for native external network"

6 years agoMerge "Adds OS_REGION_NAME into overcloudrc files"
Feng Pan [Tue, 13 Mar 2018 14:05:39 +0000 (14:05 +0000)]
Merge "Adds OS_REGION_NAME into overcloudrc files"

6 years agoMerge "Cherry-pick of L2GW environment file"
Tim Rozet [Mon, 12 Mar 2018 21:33:42 +0000 (21:33 +0000)]
Merge "Cherry-pick of L2GW environment file"

6 years agoAdds OS_REGION_NAME into overcloudrc files 81/53581/1
Tim Rozet [Mon, 12 Mar 2018 15:56:11 +0000 (11:56 -0400)]
Adds OS_REGION_NAME into overcloudrc files

Although this is not required to be able to access overcloud, it is
required by some tests in Functest.

JIRA: APEX-570

Change-Id: I45deaa8061f1be44ce80eed4810537eaf6841803
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoEnabling extra bridge for native external network 49/52649/3
Ricardo Noriega [Mon, 26 Feb 2018 11:34:39 +0000 (06:34 -0500)]
Enabling extra bridge for native external network

  If you have a non-vlan external network in a
  separate interface, you will need to create an
  extra bridge to hook up the interface. This patch
  will allow the user to create:

    - br-isolated: for all the vlan networks
    - br-ex: for the native external network

JIRA: APEX-572

Change-Id: Ie76e2345ce75c77f2925c47451427ae41b6957d1
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
6 years agoMerge "Fixes ceph key import failures"
Feng Pan [Sat, 10 Mar 2018 16:02:36 +0000 (16:02 +0000)]
Merge "Fixes ceph key import failures"

6 years agoFixes ceph key import failures 25/53125/4
Tim Rozet [Mon, 5 Mar 2018 22:08:03 +0000 (17:08 -0500)]
Fixes ceph key import failures

There is an issue with HA deployments where sometimes key imports fail
for Ceph which seem to occur around 50% of the time.  When logging in
after a failure, the key import seems to work which indicates it may be
a race condition.  In addition, sometimes the keyring that is created
is missing the "caps" section of the file, which will also fail import.

This patch adds a retries for a minute to try to import the key.  It
also moves creating/importing to the same Exec because there is
evidence that the file is being modified by some other process right
after the file content is created in the previous exec.

JIRA: APEX-563

Change-Id: Ie8cfeb4803f6bed95f9e612eeb37c5cdf2d76617
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Fix URL anchor in apex document."
Feng Pan [Thu, 8 Mar 2018 16:18:14 +0000 (16:18 +0000)]
Merge "Fix URL anchor in apex document."

6 years agoMerge "Adding libguestfs-tools as dependency"
Feng Pan [Wed, 7 Mar 2018 20:24:36 +0000 (20:24 +0000)]
Merge "Adding libguestfs-tools as dependency"

6 years agoCherry-pick of L2GW environment file 09/52109/5
Ricardo Noriega [Tue, 13 Feb 2018 16:20:28 +0000 (17:20 +0100)]
Cherry-pick of L2GW environment file

  It includes ODL L3 service plugin and trunk ports

apex-tripleo-heat-templates: I37039207bc7cf9965d26e6dfa034e84bf9b7224d
Change-Id: I29c398aabf9a2d1b98f76895ed73c01dcc008c19
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
6 years agoMerge "barometer: fix barometer apex build"
Tim Rozet [Fri, 23 Feb 2018 00:58:54 +0000 (00:58 +0000)]
Merge "barometer: fix barometer apex build"

6 years agoTypo fix for disabling ipxe 99/52399/2
Dan Radez [Wed, 21 Feb 2018 12:53:47 +0000 (07:53 -0500)]
Typo fix for disabling ipxe

JIRA: APEX-535

Change-Id: If1d074d01246407b322d5a4bc27dfde35349e9db
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoMerge "Fixes ensuring VBMCs are actually running"
Feng Pan [Fri, 16 Feb 2018 22:21:01 +0000 (22:21 +0000)]
Merge "Fixes ensuring VBMCs are actually running"

6 years agoMerge "Fixes stale undercloud delorean repos"
Feng Pan [Fri, 16 Feb 2018 21:27:59 +0000 (21:27 +0000)]
Merge "Fixes stale undercloud delorean repos"

6 years agoFixes ensuring VBMCs are actually running 57/52257/2
Tim Rozet [Fri, 16 Feb 2018 19:16:59 +0000 (14:16 -0500)]
Fixes ensuring VBMCs are actually running

We currently start VBMCs using CLI due to issues with the VBMC python
lib.  However when we start them, there is no check to make sure they
are actually changed to 'running' status.  This patch adds logic to
check (up to 5 times) to ensure each VBMC is running or raises an error.
Note this is for virtual deployments only.

JIRA: APEX-527

Change-Id: Iab7ee3b76292d6fc547f18c83f23c04205e9bb2e
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoAdd http(s)_proxy handling to apex 17/48417/9
Dan Radez [Tue, 5 Dec 2017 21:33:13 +0000 (16:33 -0500)]
Add http(s)_proxy handling to apex

JIRA: APEX-512

Change-Id: I875bd99203b425e448e7a3f64eb9a8f99d03ddaf
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoFixes stale undercloud delorean repos 49/52249/2
Tim Rozet [Fri, 16 Feb 2018 15:45:55 +0000 (10:45 -0500)]
Fixes stale undercloud delorean repos

When we build artifacts for release, we try to freeze the disk images
and artifacts we use for deployment.  This includes the delorean repo
which provides OpenStack packages.  This repo however expires after a
couple months and then if any packages were missing in the Undercloud
released artifact, they will attempt to be downloaded during install
and fail.

This patch adds some logic to detect if there is internet connectivity,
and if so then download and update the delorean repo on the undercloud.

JIRA: APEX-565

Change-Id: I58c28437fb5c5b179033c939377fd97aefbf427c
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoEnsures v4/v6 iptables filters are loaded 15/52215/1
Tim Rozet [Thu, 15 Feb 2018 20:56:18 +0000 (15:56 -0500)]
Ensures v4/v6 iptables filters are loaded

We configure host iptables to open different ports for VBMC.  This may
fail if the iptables filters are not loaded.

JIRA: APEX-521

Change-Id: Ia33032c29aba3555551e39b4f819087aeafe05d9
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoAdding libguestfs-tools as dependency 01/52201/1
Ricardo Noriega [Thu, 15 Feb 2018 17:02:27 +0000 (18:02 +0100)]
Adding libguestfs-tools as dependency

  Needed for virt-customize the images

Change-Id: Ide3fff2c6b850047add6eeed4082c518c36e6e74
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
6 years agoFixes python2 docutils req and also installs ansible 63/52163/3
Tim Rozet [Wed, 14 Feb 2018 18:12:39 +0000 (13:12 -0500)]
Fixes python2 docutils req and also installs ansible

For some reason we were requiring python2-docutils in to build our rpm
instead of python34-docutils.  Patch also includes some logic to install
ansible.

JIRA: APEX-515

Change-Id: I1b85e5b4b29f74f5ff5399296f24831c334c289c
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Adds barbican service to deployment"
Feng Pan [Tue, 13 Feb 2018 19:43:33 +0000 (19:43 +0000)]
Merge "Adds barbican service to deployment"

6 years agoAdds openstack-utils to overcloud 57/52057/4
Tim Rozet [Mon, 12 Feb 2018 22:27:16 +0000 (17:27 -0500)]
Adds openstack-utils to overcloud

Package allows user to do openstack-status to see state of services.

JIRA: APEX-352

Change-Id: Ie68cad5745786c8764ae20c2d3ad26dd05e5480b
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoAdds barbican service to deployment 55/52055/2
Tim Rozet [Mon, 12 Feb 2018 22:16:21 +0000 (17:16 -0500)]
Adds barbican service to deployment

This service is required for creating encrypted volumes for storage.

JIRA: APEX-531

Change-Id: Ied5ea1d6921ef96c1a352dba523d6f37245608e2
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Adding L2GW Scenario"
Tim Rozet [Fri, 9 Feb 2018 22:10:54 +0000 (22:10 +0000)]
Merge "Adding L2GW Scenario"

6 years agoAllow disabling ipxe for provisioning 69/46069/17
Dan Radez [Fri, 20 Oct 2017 19:30:20 +0000 (15:30 -0400)]
Allow disabling ipxe for provisioning

JIRA: APEX-535

Change-Id: I52d17e962fc4a504db1ddbc20df0ac56a208f34b
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoAdding L2GW Scenario 87/50787/7
Ricardo Noriega [Thu, 18 Jan 2018 17:25:27 +0000 (18:25 +0100)]
Adding L2GW Scenario

  This scenario allows you to install L2GW Neutron driver
  and point to OpenDaylight as service provider.

apex-tripleo-heat-templates: I37039207bc7cf9965d26e6dfa034e84bf9b7224d
Change-Id: I0dfd37bcc5060f0ad8caa95e1f87a7411bd6e723
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
6 years agobarometer: fix barometer apex build 83/51183/7
Maryam Tahhan [Fri, 26 Jan 2018 10:13:45 +0000 (10:13 +0000)]
barometer: fix barometer apex build

apex-tripleo-heat-templates: I3250b57316b4ec85e0558f1b512f6f3ed7c349fb

apex-puppet-tripleo: I95698d69c58e0c36ae88cc2687073a05b514592c

Change-Id: I5f33cd2a2842051a77c89cb11f97e8e37d1d0185
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
6 years agoFixes missing CephClientKey generation 85/51685/2
Tim Rozet [Mon, 5 Feb 2018 16:26:27 +0000 (11:26 -0500)]
Fixes missing CephClientKey generation

In newer OOO deployments, the keys for ceph are dynamically generated.

Also removes tacker client patch for symmetrical as it is already
present in stable/pike:
https://github.com/openstack/python-tackerclient/commit/682c9651085214a58434ad6016d93b2cdc8f3462

JIRA: APEX-563

Change-Id: I01fb617b026bae5d6e265a4afbac270939627c5a
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFix URL anchor in apex document. 41/51441/1
Tomofumi Hayashi [Thu, 1 Feb 2018 09:48:52 +0000 (18:48 +0900)]
Fix URL anchor in apex document.

The latest OPNFV document template makes html file separately,
hence index.html#<something> is invalid. This fix changes anchor
URL to support separate file.

Change-Id: Ic48c062e118d2faede53e8c9eaecbb99e58fddfb
Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
6 years agowrapping up deploy items for aarch 07/51407/2
Dan Radez [Wed, 31 Jan 2018 15:43:16 +0000 (10:43 -0500)]
wrapping up deploy items for aarch

Change-Id: Ib5f4715d851dc91be6a57fcb5d18a0557a7b0c7f
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoMerge "Make introspection optional"
Tim Rozet [Mon, 29 Jan 2018 17:16:15 +0000 (17:16 +0000)]
Merge "Make introspection optional"

6 years agoEnables trunk ports with bgpvpn scenario 97/50797/1
Tim Rozet [Thu, 18 Jan 2018 20:45:10 +0000 (15:45 -0500)]
Enables trunk ports with bgpvpn scenario

This is enabled in regular ODL deployments but is missing from the
bgpvpn scenario.  Trunk ports are requested by SDNVPN team for testing
with bgpvpn.

apex-tripleo-heat-templates: I1b4d3eea61e29e1ede0e06d78fde842ef13b7b8e

Change-Id: I00a36b56045fa1114d8407fe5005128c46ecefb4
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Fixes including default SDN env file in deploy cmd"
Tim Rozet [Mon, 15 Jan 2018 15:07:07 +0000 (15:07 +0000)]
Merge "Fixes including default SDN env file in deploy cmd"

6 years agoMerge "barometer: move to opnfv puppet repo"
Tim Rozet [Thu, 11 Jan 2018 16:03:40 +0000 (16:03 +0000)]
Merge "barometer: move to opnfv puppet repo"

6 years agoFixes including default SDN env file in deploy cmd 31/50431/1
Tim Rozet [Thu, 11 Jan 2018 15:41:29 +0000 (10:41 -0500)]
Fixes including default SDN env file in deploy cmd

The latest method to deploy opendaylight features upstream is to include
the default SDN file and then add-on the feature env file which should
override any default settings in the previous SDN env file.  For
example for bgpvpn:

openstack overcloud deploy -e <tht_dir>/neutron-opendaylight.yaml -e \
<tht_dir>/neutron-bgpvpn-opendaylight.yaml

This change documents the recursive function used to find the SDN env
files and includes the default for the SDN controller.

JIRA: APEX-555

Change-Id: I4270932ca4fbc21ea54e965d9d6491424f4463e2
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoDisable gpgcheck on the kubernetes repo 17/50117/1
Tim Rozet [Fri, 5 Jan 2018 14:42:33 +0000 (09:42 -0500)]
Disable gpgcheck on the kubernetes repo

JIRA: APEX-560

Change-Id: I0c8da2e841f175a1724b81d73fdf08c706408b9b
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Updates OpenDaylight BGPVPN driver"
Tim Rozet [Thu, 21 Dec 2017 15:33:03 +0000 (15:33 +0000)]
Merge "Updates OpenDaylight BGPVPN driver"

6 years agoUpdates OpenDaylight BGPVPN driver 81/48181/2
tomsou [Fri, 1 Dec 2017 12:35:46 +0000 (14:35 +0200)]
Updates OpenDaylight BGPVPN driver

apex-tripleo-heat-templates: Ib94b0182fd5fbc3a254cae5862a82982bf3131be

Change-Id: Ie1e73edce9027056fb2e2870ee4705bf69251e11
Signed-off-by: tomsou <soth@intracom-telecom.com>
6 years agoEnables br-ex on controllers in SFC scenario 39/48839/1
Tim Rozet [Wed, 13 Dec 2017 16:50:47 +0000 (11:50 -0500)]
Enables br-ex on controllers in SFC scenario

ODL's current behavior is to select a node to serve as the routing/L3
node in a deployment.  The selection is random, and it could end up
choosing a control node.  Therefore the control node needs to have
external network connectivity so adding br-ex to the controller which
will enable this via default ProviderMappings.

JIRA: APEX-558

Change-Id: Ie3044e5711ba62d73b83d69cde369e7452958844
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agodocs: fix default password and yum.repo.d 21/48721/1
Ryota MIBU [Tue, 12 Dec 2017 12:11:06 +0000 (12:11 +0000)]
docs: fix default password and yum.repo.d

- password for root in debug mode is defined in DEBUG_OVERCLOUD_PW
  document has to be updated

- '/etc/yum.repo.d' is the right yum repo directory in Cent OS 7

Change-Id: Ia97e3878bd30d562bd3c3b7776e80440b20a4111
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
6 years agoMake introspection optional 63/46063/3
Dan Radez [Fri, 20 Oct 2017 19:08:49 +0000 (15:08 -0400)]
Make introspection optional

- exposes new option to end users to skip introspection
- moves the logic to decide to introspect or not into python

JIRA: APEX-536

Change-Id: Ieaff11362ff8f906daa98d301d3d473ad549d08f
Signed-off-by: Dan Radez <dradez@redhat.com>
6 years agoMerge "Add missing packages to iso build"
Tim Rozet [Mon, 4 Dec 2017 16:34:44 +0000 (16:34 +0000)]
Merge "Add missing packages to iso build"

6 years agoMerge "Fix nested kvm detection and enablement"
Tim Rozet [Sat, 2 Dec 2017 19:33:01 +0000 (19:33 +0000)]
Merge "Fix nested kvm detection and enablement"

6 years agoAdd missing packages to iso build 13/48113/2
Feng Pan [Thu, 30 Nov 2017 19:19:06 +0000 (14:19 -0500)]
Add missing packages to iso build

Change-Id: I5d749a406c5d82f72b0609e85078fe27eb421d60
Signed-off-by: Feng Pan <fpan@redhat.com>
6 years agoMerge "Fixes inserting ceph OSD into compute role"
Feng Pan [Fri, 1 Dec 2017 00:24:14 +0000 (00:24 +0000)]
Merge "Fixes inserting ceph OSD into compute role"

6 years agoFix nested kvm detection and enablement 79/47979/3
Feng Pan [Tue, 28 Nov 2017 21:26:22 +0000 (16:26 -0500)]
Fix nested kvm detection and enablement

- Fix ansible kvm_intel kernel module reload when trying to enable
  nested kvm
- Add "--libvirt-type qemu" to deploy command when nested kvm is
  not enabled.

JIRA: APEX-514

Change-Id: I0e659b1c99b5732854d723e1cb049845cb60ef37
Signed-off-by: Feng Pan <fpan@redhat.com>
6 years agoFixes inserting ceph OSD into compute role 43/48043/2
Tim Rozet [Wed, 29 Nov 2017 22:12:27 +0000 (17:12 -0500)]
Fixes inserting ceph OSD into compute role

The lineinfile was not actually inserting the CephOSD line because it
was already present later in the file (regardless of 'insertbefore').
Therefore we can fix it by simply removing the CephOSD line before we
try to set it, since we do not need it in the storage role anyway.

Change-Id: I8c8d9b6baccfc77ea582fab6ad438b02293f96fb
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Disable introspection extras"
Feng Pan [Thu, 30 Nov 2017 18:34:07 +0000 (18:34 +0000)]
Merge "Disable introspection extras"

6 years agoMerge "Bump RPM versions to 6.0 for Fraser"
Feng Pan [Thu, 30 Nov 2017 14:21:38 +0000 (14:21 +0000)]
Merge "Bump RPM versions to 6.0 for Fraser"

6 years agobarometer: move to opnfv puppet repo 87/48087/3
Maryam Tahhan [Thu, 30 Nov 2017 11:04:40 +0000 (11:04 +0000)]
barometer: move to opnfv puppet repo

The barometer puppet scripts have been moved to the barometer repo. This
change migrates the Apex builds to using the barometer repo.

Change-Id: I064c40746d19e5deb305c503128b357479b7149c
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
6 years agoDisable introspection extras 45/48045/1
Tim Rozet [Wed, 29 Nov 2017 22:17:07 +0000 (17:17 -0500)]
Disable introspection extras

According to the documentation introspection extras attempts to collect
more hardware info during inspection.  This is causing problems for some
users and we do not need it for our deployments.

JIRA: APEX-534

Change-Id: Ia4a72ed14fb744a10d02ee2d3f4e283cc7208c2b
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes permissions and owner for undercloud.qcow2 41/48041/1
Tim Rozet [Wed, 29 Nov 2017 22:09:41 +0000 (17:09 -0500)]
Fixes permissions and owner for undercloud.qcow2

The undercloud storage disk is copied during our deployment from
modified underloud from upstream.  We copy it as owner root with wrong
permissions.  This changes the owner to qemu and sets the permissions
the same as the other storage disks that virsh creates for overcloud
nodes.

Change-Id: Ie884a586f91be3461e4b511e224d061639f04c69
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoBump RPM versions to 6.0 for Fraser 39/48039/1
Tim Rozet [Wed, 29 Nov 2017 22:08:36 +0000 (17:08 -0500)]
Bump RPM versions to 6.0 for Fraser

Change-Id: I1bf736107627f0da7a027b460f19b53dac3045c3
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes upstream deployments 95/47595/4
Tim Rozet [Tue, 21 Nov 2017 16:25:50 +0000 (11:25 -0500)]
Fixes upstream deployments

There was an issue with patching the overcloud where the patch binary is
missing, making it impossible to apply patches.  This change install
patch now on the image.

Also, although deployments were successful, storage was not working.
This is because by default upstream does not apply Ceph OSDs to compute
nodes for hyperconverged Ceph, but we use this as our standard
deployment in Apex.  This patch inserts CephOSD into the default Compute
role.  Note: we normally override role's services in regular Apex
deployments so we do not hit this issue there.

Change-Id: I5bddda4784dc00148395863ae0990343a4159602
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMigrate default ODL from Carbon -> Nitrogen 79/47879/1
Tim Rozet [Mon, 27 Nov 2017 20:36:22 +0000 (15:36 -0500)]
Migrate default ODL from Carbon -> Nitrogen

Change-Id: If64212b33bf9ad3b9900ca18b39c90839f745843
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoRemoves using https with rdo-release 83/40883/2
Tim Rozet [Fri, 1 Sep 2017 19:08:01 +0000 (15:08 -0400)]
Removes using https with rdo-release

We dont need to use https with rdo-release and it can
cause issues for ansible.

Change-Id: I081228a05d68f987fa02480bcd1bf216573550f1
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes apex ISO missing python2-jmespath 73/47373/2
Tim Rozet [Thu, 16 Nov 2017 19:56:27 +0000 (14:56 -0500)]
Fixes apex ISO missing python2-jmespath

Installing ansible depends on python2-jmespath which was missing in the
ISO.  This patch adds it to the ISO build.

Change-Id: I18e76168273537a1682fb7187e5a2c72aacab296
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMigrates Apex to Pike 45/47145/8
Tim Rozet [Mon, 13 Nov 2017 21:10:36 +0000 (16:10 -0500)]
Migrates Apex to Pike

JIRA: APEX-544

Change-Id: Ibee2068e782da75268ed76beb36ccb5dcd1847d6
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFix install failures for python-etcd and puppet-etc 35/47135/1
Tim Rozet [Mon, 13 Nov 2017 18:01:55 +0000 (13:01 -0500)]
Fix install failures for python-etcd and puppet-etc

Delorean repo used in frozen images has expired, so need to
pull from latest Ocata repo.

JIRA: APEX-542

Change-Id: I2e3e16687b9ca389ecaf83ca48dddf4d4a161357
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes dependency install of env group Virtualization Host 69/46769/1
Tim Rozet [Tue, 7 Nov 2017 05:20:46 +0000 (16:20 +1100)]
Fixes dependency install of env group Virtualization Host

Virtualization Host env group started failing for users with centos 7.4
and according to Ansible guide the correct format for env groups should
be "@^" prefix:

http://docs.ansible.com/ansible/latest/yum_module.html

JIRA: APEX-539

Change-Id: I3f71ce4462b33ad0772963869db4ea3c0f6e9e51
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoAdds ability to deploy from upstream openstack 95/41795/25
Tim Rozet [Tue, 12 Sep 2017 21:32:56 +0000 (17:32 -0400)]
Adds ability to deploy from upstream openstack

To deploy with upstream openstack branch, use new deploy setting 'os_version'.
A default scenario file for nosdn with pike has been included in this patch.
If 'os_version' is a version other than the default version for this OPNFV
release, then upstream is used.

In order to use upstream with the current OS version use '--upstream'
argument to the deploy command, to force an upstream deployment.

Also include '-e upstream-environment.yaml' to use default upstream
deployment settings.

Supports nosdn and odl-nofeature deployments.

Change-Id: Ic07e308827b449637b4e86cdd086434e4de2fb69
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFixes missing openstack-nova-compute on undercloud 37/46737/1
Tim Rozet [Mon, 6 Nov 2017 04:32:06 +0000 (15:32 +1100)]
Fixes missing openstack-nova-compute on undercloud

openstack-nova-compute was missing on the undercloud image and it is
also missing in the delorean repo from which we froze artifacts for
OPNFV release.  This is likely due to the age of the repo and to fix it
we need to update the delorean repo on undercloud and install the
missing package during build time.

JIRA: APEX-538

Change-Id: I0f7cd26d5c8e4ad538b3ba3725ab5e7684a50b6a
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoFix zrpcd start in the controller node 33/46033/2
tomsou [Fri, 20 Oct 2017 14:44:41 +0000 (17:44 +0300)]
Fix zrpcd start in the controller node

Add sudo into zrpcd process start command
Add starting script into /etc/rc.d/rc.local too

Change-Id: I3c724ff60d4c3feb7379b1a8bbeca8a928cfe81b
Signed-off-by: tomsou <soth@intracom-telecom.com>
6 years agoFix releasenotes label and include paths for docs 77/45877/1
Trevor Bramwell [Thu, 19 Oct 2017 20:24:20 +0000 (13:24 -0700)]
Fix releasenotes label and include paths for docs

Change-Id: I50a8f35165954b9b4bdf62864055ad475843c179
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "Adapt zrpcd to work for Carbon/Nitrogen"
Tim Rozet [Thu, 19 Oct 2017 13:28:16 +0000 (13:28 +0000)]
Merge "Adapt zrpcd to work for Carbon/Nitrogen"

6 years agoMerge "Fix interface role mapping config for odl-fdio scenarios"
Tim Rozet [Thu, 19 Oct 2017 13:27:43 +0000 (13:27 +0000)]
Merge "Fix interface role mapping config for odl-fdio scenarios"

6 years agoFix interface role mapping config for odl-fdio scenarios 55/45255/4
Feng Pan [Mon, 16 Oct 2017 17:17:49 +0000 (13:17 -0400)]
Fix interface role mapping config for odl-fdio scenarios

This patch fixes a bug in deploy config function that will make
performance parameters overwrite interface role mapping config for honeycomb.

apex-os-net-config: Ifa3b18aa6370c79ad6ad3ce983f1648ff0d1d79d

Change-Id: Icdb7603577bc7edf1959238ddd3d686c310544ce
Signed-off-by: Feng Pan <fpan@redhat.com>