Tim Rozet [Tue, 1 Aug 2017 20:28:33 +0000 (16:28 -0400)]
Adds networking-sfc support
Enables configuration for Service Function Chaining plugin with neutron.
Implements: blueprint networking-sfc-support
Change-Id: Icd433ddc6ae7de19a09f9e33b410a362c317138a
Signed-off-by: Tim Rozet <trozet@redhat.com>
jhinman1 [Wed, 28 Jun 2017 22:52:46 +0000 (18:52 -0400)]
Add puppet base class for barometer service.
Puppet module is at: https://github.com/johnhinman/puppet-barometer/
Change-Id: I878ff8d1e0a8b96f3380bb77f168cd5a4c3f6543
Signed-off-by: jhinman1 <john.hinman@intel.com>
Feng Pan [Tue, 18 Jul 2017 17:35:13 +0000 (13:35 -0400)]
Add VPP and honeycomb services
Change-Id: I6ed724f4c81a230a17584c33cc4de8b4000d525e
Tim Rozet [Wed, 25 Jan 2017 20:09:32 +0000 (15:09 -0500)]
Enables OpenDaylight Clustering in HA deployments
Previously ODL was restricted to only running on the first node in an
tripleO HA deployment. This patches enables clustering for ODL and
allows multiple ODL instances (minimum 3 for HA).
Partially-implements: blueprint opendaylight-ha
Change-Id: Ic9a955a1c2afc040b2f9c6fb86573c04a60f9f31
Signed-off-by: Tim Rozet <trozet@redhat.com>
Ricardo Noriega [Thu, 29 Jun 2017 15:40:55 +0000 (17:40 +0200)]
Adding support for BGPVPN service plugin
puppet-neutron (Ocata) has already got that support, so
this patch only calls that manifest.
Change-Id: I4af82d456c9d999667f2ef4d16e8f6822463d331
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Dan Radez [Fri, 12 May 2017 17:00:08 +0000 (13:00 -0400)]
Pointing apex fork to opnfv's gerrit
Change-Id: If0324e4519eae1efe62ac86799e1858df69d806d
Signed-off-by: Dan Radez <dradez@redhat.com>
Or Idgar [Thu, 15 Jun 2017 13:41:02 +0000 (13:41 +0000)]
Ignore failures when loading nf_conntrack_proto_sctp kernel module
Ignore failures if nf_conntrack_proto_sctp module failed to load.
Since RHEL 7.4, nf_conntrack_proto_sctp module is compiled into the
kernel instead of as a module as the sctp support.
TripleO will still try to load the module to support RHEL 7.3, but
in the future will remove the module management and rely on the kernel
provided in newer versions of RHEL.
Co-Authored-By: Or Idgar <oidgar@redhat.com>
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Change-Id: I8f1c841a7c0f3b1247aba2b959b6dfbe43d8cd79
Closes-Bug:
1695885
(cherry picked from commit
76eb1bbd4f977e16c97516500f050f8b49e7399d)
Emilien Macchi [Tue, 27 Jun 2017 22:02:15 +0000 (18:02 -0400)]
Release 6.5.0 (ocata)
Change-Id: I5e681705ffcd1a807aac9fe4afaa1bac17c2efce
Pradeep Kilambi [Thu, 25 May 2017 22:12:50 +0000 (18:12 -0400)]
Move gnocchi upgrade and api to step 4
gnocchi upgrade requires storage sacks to be initialized. This means
we need to ensure the storage backends are up before running the
upgrade and starting the api. Lets move the api to step 4 so we can
ensure other dependencies are in place.
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Depends-On: Ibfa9fb39f60c1e4a802d189b32ff4c34476c93d3
Change-Id: If2ae48b21389e76fd638c0b48c148a5d4f227630
(cherry picked from commit
5e91493f7aaecef924a78f0743f812a225080085)
Jenkins [Wed, 21 Jun 2017 00:11:38 +0000 (00:11 +0000)]
Merge "Cover gnocchi api step 4 and 5" into stable/ocata
Jenkins [Fri, 16 Jun 2017 20:36:25 +0000 (20:36 +0000)]
Merge "Add support for autofencing to Pacemaker Remote." into stable/ocata
Jenkins [Thu, 15 Jun 2017 22:56:35 +0000 (22:56 +0000)]
Merge "Dell SC: Add secondary DSM support" into stable/ocata
Alex Schultz [Wed, 12 Apr 2017 19:53:44 +0000 (13:53 -0600)]
Cover gnocchi api step 4 and 5
Update the gnocchi api to expose the redis information as a class
parameter so it can be tested correctly.
Change-Id: I075b4af5e7bb35f90f7b82f8fb1b6d6ad6363b71
(cherry picked from commit
4450afd495794a8ac0fc5b8c51d696416e5deb9d)
Jenkins [Thu, 15 Jun 2017 20:21:47 +0000 (20:21 +0000)]
Merge "Add support for Cinder "NAS secure" driver params" into stable/ocata
rajinir [Mon, 10 Apr 2017 16:46:03 +0000 (11:46 -0500)]
Dell SC: Add secondary DSM support
Adds support for a secondary DSM in case the primary becomes
unavailable.
Change-Id: Ibf8c333f62556d421d67c853f1f0740d7f9985bf
Depends-On: I331466e4f254b2b8ff7891b796e78cd30c2c87f7
(cherry picked from commit
f30b791103ec3c5ff9b2e656fe751ad4bb3c6a6c)
Jenkins [Wed, 14 Jun 2017 03:25:31 +0000 (03:25 +0000)]
Merge "Dell SC: Add exclude_domain_ip option" into stable/ocata
Chris Jones [Tue, 25 Apr 2017 15:05:27 +0000 (16:05 +0100)]
Add support for autofencing to Pacemaker Remote.
We now configure stonith devices for Pacemaker Remote nodes.
Change-Id: I87c60bd56feac6dedc00a3c458b805aa9b71d9ce
Depends-On: Ifb4d19a6b9920b0e340555d6441878c7234eb197
Partial-Bug: #
1686115
(cherry picked from commit
19d177c182f35a16bf3ddccfcf7fad6bb54c7bb2)
Jacob Liberman [Thu, 1 Jun 2017 14:33:21 +0000 (09:33 -0500)]
Add conditional for setting authlogin_nsswitch_use_ldap selboolean
If selinux is enabled the authlogin_nsswitch_use_ldap Boolean must
be enabled. This setting allows LDAP communications to the confined
LDAP/server port. This change includes a conditional for enabling this
Boolean only when selinux is in use.
Change-Id: If985f2434d28fcd33198929bf61f2a3a82e601fe
Closes-Bug: #
1695002
(cherry picked from commit
90704a6017f7c539e3c1fed038ed247763619380)
Oliver Walsh [Wed, 19 Apr 2017 13:39:42 +0000 (14:39 +0100)]
Restrict nova migration ssh tunnel
This change enhances the security of the migration ssh tunnel:
- The ssh authorized_keys file is only writeable by root.
- Creates a new user for migration instead of using root/nova.
- Disables SSH forwarding for this user.
- Optionally restricts the networks that this user can connect from.
- Uses an ssh wrapper command to whitelist the commands that this user can run
over ssh.
Requires the openstack-nova-migration package from
https://review.rdoproject.org/r/6327
bp tripleo-cold-migration
Change-Id: Idb56acd1e1ecb5a5fd4d942969be428cc9cbe293
(cherry picked from commit
f8ca94a5b7c7658631f5b0a9b010251ebbcff65e)
Doug Hellmann [Thu, 1 Jun 2017 16:53:58 +0000 (12:53 -0400)]
make release note a list of strings
Change-Id: I073ee5c40025a5821a6586c25b6d003890169db1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
rajinir [Mon, 10 Apr 2017 16:41:29 +0000 (11:41 -0500)]
Dell SC: Add exclude_domain_ip option
This option allows users to exclude some fault domains.
Otherwise all domains are returned.
Change-Id: I6eb2bcc7db003a5eebd3924e3e4eb44e35f60483
Depends-On: I8ac91e6720e52da9cf7480f80bcfb456bf0c2433
(cherry picked from commit
49ea8b5ed3ce79857e7875413f908f8cdcce1a8e)
Alan Bishop [Thu, 4 May 2017 16:27:27 +0000 (12:27 -0400)]
Add support for Cinder "NAS secure" driver params
Add ability to set Cinder's nas_secure_file_operations and
nas_secure_file_permissions driver parameters. Two sets of identically
named parameters are implemented by Cinder's NFS and NetApp back end
drivers.
The ability to control these parameters is crucial for supporting deployments
that require non-default values.
Partial-Bug: #
1688332
Depends-On: Id92cfd4190de8687d4731cf301f2df0bde1ba7d9
Change-Id: I76e2ce10acf7b671be6a2785829ebb3012b79308
(cherry picked from commit
5a350024957d197295a16f6f25e8a253c7c1545a)
Alex Schultz [Wed, 17 May 2017 20:45:35 +0000 (14:45 -0600)]
Update gitignore not to exclude fixture hieradata
The existing .gitignore is causing the hieradata we use for tests to be
excluded in git and our release tarballs. Lets adjust the gitignore not
to exclude the hiera files in spec/fixtures
Change-Id: Ic31687d0eb1c2e8acc92796d4c0eba096db8e533
Closes-Bug: #
1691559
(cherry picked from commit
66b6ea166c0f8470170f6e07843ff41068d8e9e9)
Michele Baldessari [Sat, 6 May 2017 15:40:24 +0000 (17:40 +0200)]
Use verify_on_create when creating pacemaker remote resources
We currently create remote resources without waiting for their creation.
This leads to the following potential race (spotted by Marian Mkrcmari):
- On Step1 pacemaker bootstrap node creates the resource but the remote
resource is not yet created
- Step1 completes and Step2 starts
- On Step2 the remote node sets a property (or calls pcs cib) but the
remote is not yet set up so 'pcs cluster cib' will fail there with:
(err): Could not evaluate: backup_cib: Running: /usr/sbin/pcs cluster
cib /var/lib/pacemaker/cib/puppet-cib-backup20170506-15994-1swnk1i failed
with code: 1 ->
Note that when verify_on_create is set to true we are not using the cib
dump/push mechanism. That is fine because we create the remotes on
step1 and the dump/push mechanism is only needed starting from step2
when multiple nodes set cluster properties at the same time.
Tested by Marian Mkrcmari successfully as well.
Closes-Bug: #
1689028
Change-Id: I764526b3f3c06591d477cc92779d83a19802368e
Depends-On: I1db31dcc92b8695ab0522bba91df729b37f34e0f
(cherry picked from commit
b6d02fd5001153b53b3061d63d2cb686b0646f18)
Michele Baldessari [Wed, 26 Apr 2017 09:40:51 +0000 (11:40 +0200)]
IPv6 VIP addresses need to be /128
We currently hardcode /64 as our VIP addresses when using IPv6.
The problem with this is that some server code might bind to that
IP as a source address when doing inter-cluster communication
(rabbitmq/galera for example). So when the VIP moves there will
be effectively a network outage between the nodes, which should not
happen.
Likely this was hardcoded to /64 because the RA IPaddr2 needs a nic
parameter when /128 is specified. This is due to:
https://bugzilla.redhat.com/show_bug.cgi?id=
1445628
We also make sure we use the ipv6_addrlabel option set to 99 so that
they will never be used as source ip addresses.
Depends-On: I7fcf15a00aedbdcfb21db501ad46c69fb97ec30c
Partial-Bug: #
1686357
Change-Id: Ibefde870512ad1e03ff12f7aea91b3734f03f96f
Co-Authored-By: Sofer Athlan-Guyot <sathlang@redhat.com>
Co-Authored-By: Marios Andreou <mandreou@redhat.com>
Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
(cherry picked from commit
6227484b60cd72cf4647051923a3baf175100a72)
Emilien Macchi [Thu, 27 Apr 2017 14:39:16 +0000 (10:39 -0400)]
Prepare 6.4.0 release (ocata)
Change-Id: Icf2be1f8cb09d7a83a5f786723a84fb263d42808
Michele Baldessari [Wed, 26 Apr 2017 08:12:50 +0000 (10:12 +0200)]
Add a flag to rabbitmq so that we can deploy with ha-mode: all again
In change Ib62001c03e1e08f58cf0c6e0ba07a8879a584084 we switched the
rabbitmq queues HA mode from ha-all to ha-exactly. While this gives us a
nice performance boost with rabbitmq, it makes rabbit less resilient to
network glitches as we painfully found out via
https://bugzilla.redhat.com/show_bug.cgi?id=
1441635.
Will propose another THT change to actually change the default to
-1 so we get this ha-mode:all by default.
Change-Id: I9a90e71094b8d8d58b5be0a45a2979701b0ac21c
Partial-Bug: #
1686337
Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Co-Authored-By: John Eckersberg <jeckersb@redhat.com>
(cherry picked from commit
c504d6a8591bcf12e31d97a62222d7611941b136)
Jenkins [Tue, 25 Apr 2017 22:16:43 +0000 (22:16 +0000)]
Merge "Refactor SSHD config to allow both SSHD options and banner/motd to be set" into stable/ocata
Jenkins [Tue, 25 Apr 2017 16:48:33 +0000 (16:48 +0000)]
Merge "Update Gemfile to pull spec_helper from stable/ocata" into stable/ocata
Jenkins [Tue, 25 Apr 2017 16:22:43 +0000 (16:22 +0000)]
Merge "Stop SSHD profile clobbering SSH client config" into stable/ocata
Jenkins [Tue, 25 Apr 2017 16:20:53 +0000 (16:20 +0000)]
Merge "SSHD Service extensions" into stable/ocata
Jenkins [Tue, 25 Apr 2017 13:34:50 +0000 (13:34 +0000)]
Merge "Move gnocchi wsgi configuration to step 3" into stable/ocata
Emilien Macchi [Mon, 24 Apr 2017 15:46:22 +0000 (11:46 -0400)]
Update Gemfile to pull spec_helper from stable/ocata
It was missed after Ocata release, but we need to do it to pull
the right version of puppet-openstack_spec_helper.
Change-Id: Ieab0a99ea3491bd8bb6985318ff630442e9be353
Jenkins [Fri, 21 Apr 2017 13:58:26 +0000 (13:58 +0000)]
Merge "Configure migration SSH tunnel" into stable/ocata
Oliver Walsh [Tue, 18 Apr 2017 11:51:36 +0000 (12:51 +0100)]
Refactor SSHD config to allow both SSHD options and banner/motd to be set
In https://review.openstack.org/#/c/444622/7 the sshd_options and banner/motd
are mutually exclusive. This patch, and the next patchset of that review,
resolves the conflict.
Related-Bug:
1668543
Change-Id: I1d09530d69e42c0c36311789166554a889e46556
(cherry picked from commit
3c49f51c8f42472d0d1cb2986b46a6c96821293a)
Oliver Walsh [Tue, 11 Apr 2017 20:42:44 +0000 (21:42 +0100)]
Stop SSHD profile clobbering SSH client config
Including the ::ssh manifest will manage both client and server config.
Managing the client config was not intended and will clobber the OS
default config with the puppet ssh moduled defaults.
Follow up for https://review.openstack.org/443113 where I found the issue after
the changes merged.
Change-Id: I6329f5ebbe8fc3950449e325e56293872d11e1b5
Related-Bug:
1668543
(cherry picked from commit
2a329d545d0e619c88c323148d5fe2098e70b4b1)
lhinds [Wed, 8 Mar 2017 12:32:57 +0000 (12:32 +0000)]
SSHD Service extensions
This change adds an `include` statement to bring in the extra
functionality available from the existing puppet-ssh module in
already available in RDO.
By using puppet-ssh it provides a framework to allow the passing in of
server options using just hiera values under ssh::server_options.
For example, sshd_config banner can now be passed a server option, as
well as all the new parameters outlined in the launchpad issue that
the patch references for Closing. For this reason, the former augeas
setting for `Banner /etc/issue` is now managed by the main puppet-ssh
module instead.
The change also allows population of MOTD text to `/etc/motd` as
well as `issue.net`.
$bannertext is refactored in accordance with patch [1]
[1] https://review.openstack.org/#/c/442406/
Change-Id: Id329538fb7b623526f1d91d8a513cf3440c86a7c
Related-Bug:
1668543
(cherry picked from commit
b35bc80ac2acf18463e4c18c8360862749aa0964)
Jenkins [Fri, 21 Apr 2017 06:00:55 +0000 (06:00 +0000)]
Merge "Move ceilometer wsgi to step 3" into stable/ocata
Oliver Walsh [Tue, 28 Mar 2017 15:02:18 +0000 (16:02 +0100)]
Configure migration SSH tunnel
This patch configures SSH tunneling for nova cold-migration and reuses the
tunnel for libvirt live-migration unless TLS has been enabled.
Change-Id: I367757cbe8757d11943af7e41af620f9ce919a06
Depends-On: Iac1763761c652bed637cb7cf85bc12347b5fe7ec
(cherry picked from commit
ccbcd11276c7bc3ffc8f013d9a5b2d3944bf76cf)
Lukas Bezdicka [Thu, 13 Apr 2017 17:21:45 +0000 (19:21 +0200)]
Ensure we configure ssl.conf
Every time we call apache module regardless of using SSL we have to
configure mod_ssl from puppet-apache or we'll hit issue during package
update. File /etc/httpd/conf.d/ssl.conf from mod_ssl package contains
Listen 443 while apache::mod::ssl just configures SSL bits but does not
add Listen. If the apache::mod::ssl is not included the ssl.conf file is
removed and recreated during mod_ssl package update. This causes
conflict on port 443.
Change-Id: Ic5a0719f67d3795a9edca25284d1cf6f088073e8
Related-Bug:
1682448
Resolves: rhbz#
1441977
(cherry picked from commit
9e729c0db22865d036860346eb6b81c4c2108719)
Jenkins [Wed, 19 Apr 2017 10:54:18 +0000 (10:54 +0000)]
Merge "Enable creation of keystone domain when ldap backends are created" into stable/ocata
Jenkins [Wed, 19 Apr 2017 08:01:38 +0000 (08:01 +0000)]
Merge "Migrate Swift ring handling from tripleo-heat-templates to puppet-tripleo" into stable/ocata
Alex Schultz [Wed, 12 Apr 2017 16:03:22 +0000 (10:03 -0600)]
Move ceilometer wsgi to step 3
Apache is configured in step 3 so if we configure ceilometer in step 4,
the configuration is removed on updates. We need to configure it in step
3 with the other apache services to ensure we don't have issues on
updates.
Change-Id: Icc9d03cd8904c93cb6e17f662f141c6e4c0bf423
Related-Bug: #
1664418
(cherry picked from commit
890178bd6f6f465ffcb8cf4ad9b8019a1d6dc653)
Alex Schultz [Wed, 12 Apr 2017 16:34:07 +0000 (10:34 -0600)]
Move gnocchi wsgi configuration to step 3
We configure apache in step3 so we need to configure the gnocchi api in
step 3 as well to prevent unnecessary service restarts during updates.
Change-Id: I30010c9cf0b0c23fde5d00b67472979d519a15be
Related-Bug: #
1664418
(cherry picked from commit
9de4c92571fdbe342a20a68e4ee44feb55464007)
Pradeep Kilambi [Wed, 11 Jan 2017 18:56:57 +0000 (13:56 -0500)]
Restrict mongodb memory usage
Currently, mongodb has no limits on how much memory
it can consume. This enforces restriction so mongodb
service limits through systemd.
The puppet-systemd module has support for limits. The
MemoryLimit support is added in the follwoing pull
request https://github.com/camptocamp/puppet-systemd/pull/23
Closes-bug: #
1656558
Change-Id: Ie9391aa39532507c5de8dd668a70d5b66e17c891
(cherry picked from commit
3aa86a4ea3c2406f79d6283cbb158f67136b5e9a)
Jenkins [Mon, 10 Apr 2017 20:48:16 +0000 (20:48 +0000)]
Merge "Add missing octavia auth include to keystone manifest" into stable/ocata
Christian Schwede [Fri, 17 Feb 2017 16:31:52 +0000 (16:31 +0000)]
Migrate Swift ring handling from tripleo-heat-templates to puppet-tripleo
This allows decoupling the Swift ringbuilding logic from the Controller
and ObjectStorage roles. A follow up patch will modify
tripleo-heat-templates and use this modified class.
Actually this downloads the Swift rings even if ring building is
disabled or if there is no need to rebalance. This is required, because
operators can disable ring building, but use the same mechanism to
distribute pre-built rings to the nodes.
If ring building is disabled, these won't be uploaded at the end back to
the undercloud.
Related-Bug:
1665641
Change-Id: Ifd6fa5b398d98e8998630ea0c9a2ce9867ceba2b
(cherry picked from commit
3412150d91dc7fe6e9f168b4ffdbb4d54c39fc55)
Juan Antonio Osorio Robles [Fri, 7 Apr 2017 07:09:11 +0000 (10:09 +0300)]
Enable creation of keystone domain when ldap backends are created
This sets the flag create_domain_entry for the ldap_backend resource,
which will create the domain for the ldap backend (this was previously
not the case since only the configuration was created). Furtherly, this
flag will also refresh the keystone server, so the changes come into
effect.
Note that this is only done in step 3, so the domains are created there
and the refresh happens in that step. Also, this is only done for the
bootstrap node, since when the other nodes start, they will already have
the domains available in the keystone database and there won't be a need
to restart.
Related-Bug: #
1677603
Depends-On: Ib6c633b6a975e4b760c10a2aef3c252885b05e28
Change-Id: Id879cf5c5ae39d37bf58b73c78733001d2b03d9c
(cherry picked from commit
13ea87e658e36d1afcc3e4db7f43bcfc068e1f49)
Jon Schlueter [Fri, 7 Apr 2017 11:29:09 +0000 (07:29 -0400)]
syntax error extra comma in rabbitmq.pp
bundle rake syntax
Could not parse for environment *root*: Syntax error at ')'; expected '}'
Change-Id: Idfb254df068b3d7342a6ea3c71dabd1316a61bdf
(cherry picked from commit
33e0fe959d849acdab4b084ffd31d242c58ff6b6)
Brent Eagles [Tue, 4 Apr 2017 07:26:20 +0000 (04:56 -0230)]
Add missing octavia auth include to keystone manifest
This patch adds the appropriate include to make sure that appropriate
keystone user, services, etc. are created when octavia is selected.
Closes-bug: #
1680588
Change-Id: I0b6d657a0300538292223923d8808c23f936c193
(cherry picked from commit
23e723255cf46fd730cae185a0dc1f7194a511e0)
Jenkins [Fri, 7 Apr 2017 13:50:13 +0000 (13:50 +0000)]
Merge "Make the cluster-check property configurable" into stable/ocata
Cyril Lopez [Thu, 30 Mar 2017 13:54:32 +0000 (15:54 +0200)]
Add a trigger to call ldap_backend define
Ldap_backend is a define so we need a resource to talk it. If
ldap_backend_enable set by tripleo-heat-templates, we call the
ldap_backend as a resource.
Given an environment such as the following:
parameter_defaults:
KeystoneLdapDomainEnable: true
KeystoneLDAPBackendConfigs:
tripleoldap:
url: ldap://192.0.2.250
user: cn=openstack,ou=Users,dc=redhat,dc=example,dc=com
password: Secrete
suffix: dc=redhat,dc=example,dc=com
user_tree_dn: ou=Users,dc=redhat,dc=example,dc=com
user_filter: "(memberOf=cn=OSuser,ou=Groups,dc=redhat,dc=example,dc=com)"
user_objectclass: person
user_id_attribute: cn
user_allow_create: false
user_allow_update: false
user_allow_delete: false
ControllerExtraConfig:
nova::keystone::authtoken::auth_version: v3
cinder::keystone::authtoken::auth_version: v3
It would then create a domain called tripleoldap with an LDAP
configuration as defined by the hash. The parameters from the
hash are defined by the keystone::ldap_backend resource in
puppet-keystone.
More backends can be added as more entries to that hash.
Partial-Bug:
1677603
Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com>
Co-Authored-By: Guillaume Coré <gucore@redhat.com>
Signed-off-by: Cyril Lopez <cylopez@redhat.com>
Change-Id: I1593c6a33ed1a0ea51feda9dfb6e1690eaeac5db
(cherry picked from commit
b8388e378a9151bccbac0db0478b1ef5d1e2e3fb)
Michele Baldessari [Tue, 4 Apr 2017 16:15:06 +0000 (18:15 +0200)]
Make the cluster-check property configurable
This change will make the global cluster-check property configurable
and will pick a lower default (60s) in case a pacemaker remote node
is deployed.
The cluster-recheck-interval is set to default to 15minutes by
pacemaker. This value is too high when a pacemaker remote service
is deployed. With this default value a reboot of a pacemaker remote
node will be reported as offline by pacemaker for up to 15minutes.
With this change we do the following:
1) Do nothing in case pacemaker remote is not deployed
2) When pacemaker remote is deployed and the operator has not
specified otherwise, we set the recheck interval to 60s.
3) When the operator specifies the recheck interval we set that.
Change-Id: I900952b33317b7998a1f26a65f4d70c1726df19c
Closes-Bug: #
1679753
(cherry picked from commit
f464e9f703b824f8971ade50c32884748caffefc)
Jenkins [Thu, 6 Apr 2017 23:17:11 +0000 (23:17 +0000)]
Merge "Fixes missing neutron base in sriov" into stable/ocata
Emilien Macchi [Wed, 29 Mar 2017 21:42:32 +0000 (17:42 -0400)]
Deploy WSGI apps at the same step (3)
So we avoid useless apache restart and save time during the deployment.
Note: the backport is not 100% clean as Heat API was not deployed in
WSGI during Ocata cycle, so now, it's only for Aodh.
Related-Bug: #
1664418
Change-Id: Ie00b717a6741e215e59d219710154f0d2ce6b39e
(cherry picked from commit
2272bcabba8752cd1876f85b1f9b83b0c7592c94)
Jenkins [Thu, 6 Apr 2017 02:10:14 +0000 (02:10 +0000)]
Merge "Fix deprecated eqlx parameters" into stable/ocata
Tim Rozet [Mon, 3 Apr 2017 14:58:49 +0000 (10:58 -0400)]
Fixes missing neutron base in sriov
This causes issues in deployments that is not using ML2
ComputeNeutronCorePlugin or OVS agent on the compute nodes.
Closes-Bug:
1679202
Change-Id: I9cdfd115add8c0d2d3ae6802e7bde007c1677c67
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit
1b93ca14c4d58c360424fbf34f669014b34d3b4b)
Jenkins [Thu, 6 Apr 2017 00:20:13 +0000 (00:20 +0000)]
Merge "Add tunnel timeout for ui proxy container" into stable/ocata
Pradeep Kilambi [Wed, 29 Mar 2017 19:07:36 +0000 (15:07 -0400)]
Decouple ceilometer user create from API
Ceilometer user is needed for other ceilometer services to
authenticate with keystone even when API is not present.
So the data can be dispatched to gnocchi. Lets keep these
separate so user always exists even when api is not.
Depends-On: Iffebd40752eafb1d30b5962da8b5624fb9df7d48
Closes-bug: #
1677354
Change-Id: I8f4e543a7cef5e50a35a191fe20e276d518daf20
(cherry picked from commit
38e4976b7b80487e26c75ece20bab631597240a3)
Dan Trainor [Fri, 31 Mar 2017 00:36:04 +0000 (20:36 -0400)]
Add tunnel timeout for ui proxy container
Add an explicit tunnel timeout configuration option to increase the
tunnel timeout for persistent socket connections from two minutes (2m)
to one hour (3600s). A configuration was already present to apply a
tunnel timeout to the zaqar_ws endpoint, but that only applies to
connections made directly to the zaqar_ws endpoint directly. Since UI
now uses mod_proxy to proxy WebSocket connections for Zaqar, the timeout
is now applied for the same reasons to the ui haproxy server.
Change-Id: If749dc9148ccf8f2fa12b56b6ed6740f42e65aeb
Closes-Bug:
1672826
(cherry picked from commit
e8125cb3640e0fe74b8617aaf55686d5645c8f7f)
Alex Schultz [Fri, 31 Mar 2017 23:41:36 +0000 (17:41 -0600)]
Move horizon to step 3
We configure apache in step 3 so horizon should be configured at the
same time or else updates will cause horizon to be unvailable during the
update process.
Change-Id: I4032f7c24edc0ff9ed637e213870cdd3beb9a54e
Closes-Bug: #
1678338
(cherry picked from commit
e2928717412242faa4eb15d778f1b5c0952edc08)
Alex Schultz [Fri, 10 Mar 2017 16:33:33 +0000 (09:33 -0700)]
Fix deprecated eqlx parameters
The eqlx_use_chap, eqlx_chap_login and eqlx_chap_password were
previously deprecated and are scheduled to be removed in Pike. This
change updates these parameters to use the replacement params.
See I295d8388ba17dd60e83995e7c82f64f02a3c4258 for more details.
Change-Id: I0f229ed2e7bb65d9da81c5caa69dbe1a4aded814
(cherry picked from commit
9cd4ddce32b4f14e7f6168416fcaee26a64f7a90)
James Slagle [Wed, 22 Mar 2017 21:58:29 +0000 (17:58 -0400)]
Check rabbitmq user at step >= 2
The rabbitmq user check is moved to step >= 2 from step >= 1. There is
no gaurantee that rabbitmq is running at step 1, especially if updating
a failed stack that never made it past step 1 to begin with.
Change-Id: I029193da4c180deff3ab516bc8dc2da14c279317
Closes-Bug: #
1675194
(cherry picked from commit
aa9af086f05e466e88ac2a85ecc9d39f5a6d1e2f)
Jenkins [Thu, 30 Mar 2017 07:26:56 +0000 (07:26 +0000)]
Merge "Add missing include of ::ec2api::keystone::authtoken" into stable/ocata
Jenkins [Wed, 29 Mar 2017 16:32:00 +0000 (16:32 +0000)]
Merge "Re-run gnocchi and ceilometer upgrade in step 5" into stable/ocata
Sven Anderson [Mon, 27 Mar 2017 15:35:21 +0000 (17:35 +0200)]
Add missing include of ::ec2api::keystone::authtoken
Change-Id: Id933276fab16eebd72751dca136ad805547e6291
Related-Bug: #
1676491
(cherry picked from commit
f137661aa178a6b390976470ddec7ed77eb05cf5)
Pradeep Kilambi [Mon, 20 Mar 2017 15:44:53 +0000 (11:44 -0400)]
Re-run gnocchi and ceilometer upgrade in step 5
Without this gnocchi resources types are not created
as they are skipped initially and the resources from
ceilometer wont make it to gnocchi.
Closes-bug: #
1674421
Depends-On: I753f37e121b95813e345f200ad3f3e75ec4bd7e1
Change-Id: Ib45bf1b3e526a58f675d7555fe7bb5038dadeede
(cherry picked from commit
aec471a78d46d839e98026c4cb98acb412a7b424)
Alex Schultz [Thu, 23 Mar 2017 15:58:34 +0000 (09:58 -0600)]
Ensure iscsi-initiator-utils installed
We attempt to use iscsi-iname in an exec for our nova compute profile
but we do not ensure that the package providing this command is
installed. This change adds the package definition for
iscsi-initiator-utils to ensure it is installed before trying to use
iscsi-iname.
Change-Id: I1bfdb68170931fd05a09859cf8eefb50ed20915d
Closes-Bug: #
1675462
(cherry picked from commit
2102a610c14d357f99a531250e676d6366559212)
Jenkins [Sat, 25 Mar 2017 20:54:09 +0000 (20:54 +0000)]
Merge "Correct haproxy's stat unix socket path" into stable/ocata
Jenkins [Sat, 25 Mar 2017 20:01:25 +0000 (20:01 +0000)]
Merge "Explicitly configure credentials used by ironic to access other services" into stable/ocata
Jenkins [Fri, 24 Mar 2017 10:01:56 +0000 (10:01 +0000)]
Merge "Fixes issues with raising mysql file limit" into stable/ocata
Michele Baldessari [Wed, 8 Mar 2017 14:23:59 +0000 (15:23 +0100)]
Correct haproxy's stat unix socket path
We currently set the haproxy stat socket to /var/run/haproxy.sock.
On Centos/RHEL with selinux enabled this will break:
avc: denied { link } for pid=284010 comm="haproxy"
name="haproxy.sock" dev="tmpfs" ino=330803
scontext=system_u:system_r:haproxy_t:s0
tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file
The blessed/correctly-labeled path is /var/lib/haproxy/stats
Note: I am setting only Partial-Bug because I would still like
to make this a parameter so other distros may just override the path.
But that change is more apt for pike and not for ocata.
Change-Id: I62aab6fb188a9103f1586edac1c2aa7949fdb08c
Patial-Bug: #
1671119
(cherry picked from commit
5f8607711bb85150bb9631559f0538254ba5c5cc)
Juan Antonio Osorio Robles [Fri, 10 Mar 2017 09:44:56 +0000 (11:44 +0200)]
panko: Do db_sync in api manifest
The db_sync from panko comes from the panko-api package; So we move the
db_sync to be done in the api manifest as it's done for other services
such as barbican.
This is necessary since in cases where the overcloud deploy requires
puppet to do the installations, with the previous setup it failed since
the command wasn't available in the step it was being done.
Change-Id: I20a549cbaa2ee4b2c762dbae97f5cbf4d0b517c8
Closes-Bug: #
1671716
(cherry picked from commit
d73c2630b534b277122db68620be8923c4d3a6b4)
Dmitry Tantsur [Wed, 15 Mar 2017 15:58:23 +0000 (16:58 +0100)]
Explicitly configure credentials used by ironic to access other services
Using keystone_authtoken credentials for this purpose is deprecated, and also
prevents ironic-conductor from being used as a separate role.
As a side effect, this change makes it possible to potentially enable
ironic-inspector support in the future (it's not enabled yet).
Change-Id: I21180678bec911f1be36e3b174bae81af042938c
Partial-Bug: #
1661250
(cherry picked from commit
ffe6ae2c24f82df620df14ee4be8bd292cb95075)
Tim Rozet [Thu, 9 Mar 2017 17:04:10 +0000 (12:04 -0500)]
Fixes issues with raising mysql file limit
Changes Include:
- Adds spec testing
- Only raise limits if nonha. puppet-systemd will restart the mariadb
service which breaks ha deployments. Hence we only want to do this
in noha.
- Minor fix to hiera value refrenced not as parameter to mysql.pp
Partial-Bug: #
1648181
Related-Bug: #
1524809
Co-Authored By: Feng Pan <fpan@redhat.com>
Change-Id: Id063bf4b4ac229181b01f40965811cb8ac4230d5
Signed-off-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit
c9acf8a687ea64686c1ecceeff45add014752121)
Paul Belanger [Mon, 13 Mar 2017 16:00:34 +0000 (12:00 -0400)]
Add bindep support
Bindep is an automation tool used by openstack-infra to bootstrap a
worker with default packages. Something not needed for puppet jobs.
Change-Id: I6b4784c233a2abad01da3408f131af2c89586868
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit
cc3d236ce409041d606d717a61d098d39185b70d)
Alex Schultz [Fri, 3 Mar 2017 16:21:59 +0000 (09:21 -0700)]
Throw warnings for norpm actions
If the norpm provider attempts to do any install/update/remove actions,
we should throw a warning in the logs so people are aware that the
action did not actually take place.
Change-Id: Ieee5cac3412c709ba6b39316e455d7708cc9d22e
Closes-Bug: #
1669666
(cherry picked from commit
2be36167fd223d95a71d557afa9d26bf950e21c8)
Alex Schultz [Mon, 6 Mar 2017 17:02:16 +0000 (10:02 -0700)]
Stop the chronyd service
Since the norpm provider can prevent the chronyd package from actually
getting purged, we need to make sure the chronyd service is stopped and
disabled so that it does not conflict with ntpd.
Change-Id: I7a697aba7aa5a27ba4ab6e46018057f7f01dfab2
Closes-Bug: #
1665426
(cherry picked from commit
37ba3a8db5e38955469e8bc9158388379d64abc8)
Jenkins [Tue, 7 Mar 2017 03:39:31 +0000 (03:39 +0000)]
Merge "mariadb: Move generation of systemd drop-in to puppet-tripleo" into stable/ocata
Damien Ciabrini [Wed, 7 Dec 2016 18:09:06 +0000 (19:09 +0100)]
mariadb: Move generation of systemd drop-in to puppet-tripleo
Systemd starts mariadb as user mysql, so in order to allow a large
number of connections (e.g. max_connections=4096) it is necessary to
raise the file descriptor limit via a system drop-in file.
When installing an undercloud, such drop-in file is currently
generated by instack-undercloud (in file puppet-stack-config.pp). But
non-HA overcloud also need such drop-in to be generated.
In order to avoid duplicating code, the drop-in creation code should
be provided by puppet-tripleo. By default, no drop-in is generated;
it has to be enabled by instack-undercloud or tripleo-heat-template
once they will use it (resp. to create undercloud or non-HA overcloud).
This patch does not aim at generating a dynamic file limit based on
the number of connections, this should land in another dedicated
patch. Instead, it just reuses the limit currently set for undercloud
and HA-overclouds.
Also, the generation of the drop-in does not force a mysql restart
like it currently does in instack-undercloud, to avoid unexpected
service disruption on a non-HA overcloud after a minor update.
Co-Authored-By: Tim Rozet <trozet@redhat.com>
Depends-On: I7ca7b5f7614971455cae2bf7c4bf8264b642b0dc
Change-Id: Ia0907b2ab6062a93fb9363e39c86535a490fbaf6
Partial-Bug: #
1648181
Related-Bug: #
1524809
(cherry picked from commit
09665170f6d0f4536a48dd4d1444e07aa064bed7)
Brent Eagles [Fri, 24 Feb 2017 15:22:11 +0000 (11:52 -0330)]
Default neutron dhcp_agents_per_network to number of agents
This patch will set neutron's dhcp_agents_per_network equal to the
number of deployed neutron DHCP agents unless otherwise explicitly set.
Conflicts:
manifests/profile/base/neutron.pp
Note: spec/classes/tripleo_profile_base_neutron_spec.rb removed from
backport as it required defining the neutron class as a precondition to
satisfy a requirement for a rabbit password. This leads to a duplicate
definition.
Partial-bug: #
1632721
Change-Id: I5533e42c5ba9f72cc70d80489a07e30ee2341198
(cherry picked from commit
52a68ffc8f060e1961458a524e5861cea02d1c1c)
Emilien Macchi [Sat, 25 Feb 2017 14:52:08 +0000 (09:52 -0500)]
Prepare 6.3.0 - Ocata RC2
Change-Id: I38a6bff942321d545de8abab073feae36f58cb06
Jenkins [Wed, 22 Feb 2017 19:34:03 +0000 (19:34 +0000)]
Merge "Create /etc/my.cnf.d/tripleo.cnf with proper bind-address" into stable/ocata
Jiri Stransky [Tue, 21 Feb 2017 12:54:06 +0000 (13:54 +0100)]
Stop accidentally removing docker-distribution
By default Puppet does virtual package matching if precise name matching
fails. Docker-distribution RPM "provides" docker-registry:
bash-4.2# rpm -q --whatprovides docker-registry
docker-distribution-2.5.1-1.el7.x86_64
This means that when we wanted to make docker-registry package absent,
we were actually removing docker-distribution instead. This is now fixed
by allow_virtual => false. Only name matching is performed.
Change-Id: I1f93b404085f0bc2b6c063f573c801db6409c0bb
Closes-Bug: #
1666459
(cherry picked from commit
d12c004bc9c630c756a6b0df351916b9e04b9778)
Michele Baldessari [Thu, 9 Feb 2017 09:53:06 +0000 (10:53 +0100)]
Create /etc/my.cnf.d/tripleo.cnf with proper bind-address
When fixing LP#
1643487 we added ?bind_address to all DB URIs.
Since this clashes with Cellsv2 due to the URIs becoming host
dependent, we need a new approach to pass bind_address to pymysql
that leaves the DB URIs host-independent.
We first create a /etc/my.cnf.d/tripleo.cnf file with a [tripleo]
section and in this section we add the correct bind-address option.
Note that we use the puppet augeas lens and not the mysql one
because the mysql one does not support custom sections *and* there
are older versions around which do not like the /etc/my.cnf.d/* path.
The reason for not reusing an existing mariadb file (my.cnf or
galera.cnf) is that pymysql's ini file support is not robust
enough at the moment: https://github.com/PyMySQL/PyMySQL/issues/548
The reason for putting this file creation code only on the controller
nodes the following: The slow VIP failover only happens if a
service runs where the VIPs exist. The VIPs get created in the
haproxy profile and that is why in order to have fast VIP failovers
the MySQLClient profile must live where the Haproxy service is running.
Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com>
Partial-Bug: #
1663181
Change-Id: Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18
(cherry picked from commit
f6116ff0f350aeecdaa346e4e49d208be49ce6b9)
Julie Pichon [Fri, 10 Feb 2017 14:30:26 +0000 (14:30 +0000)]
Enable languages in UI config
Which language options to offer to the UI users is determined in the
configuration file. Let's show all possible languages by default,
unless specified otherwise.
Change-Id: I513303bf82dca53e2291ab66f2385a2985a1846e
Related-Bug: #
1663279
(cherry picked from commit
053ee06787539f6da07985968d6c3b0194e56008)
Alex Schultz [Thu, 16 Feb 2017 16:53:55 +0000 (09:53 -0700)]
Add virtual_packages support to norpm provider
The norpm provider is supposed to noop package installs/updates but if a
package name in puppet does not match the installed package, it is being
reported as not installed. The provider then 'installs' it every time
which can trigger unwanted service restarts.
Change-Id: Icdfa6567168f9ecc555489ed67405f98544bd910
Closes-Bug: #
1665405
(cherry picked from commit
525a2c379ba2e2433217af2aa78018dfd8cb0b44)
OpenStack Release Bot [Thu, 16 Feb 2017 12:59:09 +0000 (12:59 +0000)]
Update .gitreview for stable/ocata
Change-Id: I875c39b838dcb4e99df66bacc190647367836dc7
Jenkins [Thu, 16 Feb 2017 01:11:42 +0000 (01:11 +0000)]
Merge "tuning: manage keystone resources only at step3"
Emilien Macchi [Wed, 15 Feb 2017 15:53:36 +0000 (10:53 -0500)]
Add missing release notes for Ocata RC1
Change-Id: I95f7b57a6cb0811af324996bd00580732503ed28
Jenkins [Wed, 15 Feb 2017 00:15:21 +0000 (00:15 +0000)]
Merge "Make quotes consistent to match the sample config"
Emilien Macchi [Tue, 14 Feb 2017 22:17:39 +0000 (17:17 -0500)]
tuning: manage keystone resources only at step3
1. Manage Keystone resources only at step 3. Don't verify them
at step 4 and 5, it's a huge loss of time.
2. Don't require Keystone resources for Gnocchi services, they are
already ready at Step 5.
Related-Bug: #
1664418
Change-Id: I9879718a1a86b862e5eb97e6f938533c96c9f5c8
MikeG451 [Fri, 10 Feb 2017 17:50:26 +0000 (17:50 +0000)]
Make quotes consistent to match the sample config
Per project conventions, should use single quotes.
Also, update comments and defaults to match sample.
Change-Id: I82ddcec230e7a03965d753db60968912b8d7da5c
Closes-Bug: #
1663624
Jenkins [Tue, 14 Feb 2017 07:42:29 +0000 (07:42 +0000)]
Merge "Add ::ironic::config to Ironic base profile"
Jenkins [Mon, 13 Feb 2017 20:22:17 +0000 (20:22 +0000)]
Merge "nova: move placement credentials config at step 3"
Emilien Macchi [Sat, 11 Feb 2017 02:17:16 +0000 (21:17 -0500)]
nova: move placement credentials config at step 3
nova placement credentials in nova.conf need to be configured at step 3
so Nova services can use them as soon as they start.
Change-Id: I0abdd305b7e6c8d83f23e25b3872e98eb56dd299
Juan Antonio Osorio Robles [Mon, 13 Feb 2017 09:22:57 +0000 (11:22 +0200)]
Uncomment internal TLS options for placement API
Placement API is still running over wsgi which can run with TLS on the
internal network; These options were commented from haproxy and doing
this breaks the TLS-everywhere setup.
Change-Id: I1194f1f487cdcf45541c0d139806aa3dc4456d6e
Jenkins [Sun, 12 Feb 2017 19:01:23 +0000 (19:01 +0000)]
Merge "Add support to changing the Rabbitmq password on update"
Jenkins [Sat, 11 Feb 2017 02:50:15 +0000 (02:50 +0000)]
Merge "nova/api: more cleanup"
Jenkins [Fri, 10 Feb 2017 21:56:56 +0000 (21:56 +0000)]
Merge "Add module to support ScaleIO backend in Cinder"